/* =========================================================================
   Estilos principales – landing y páginas públicas
   ========================================================================= */
:root {
    --primary: #6B3EF2;
    --primary-600: #5A2DE0;
    --primary-700: #4A1FB8;
    --primary-50: #F4EFFF;
    --primary-100: #E9E0FF;
    --ink: #1B1036;
    --ink-2: #3D3358;
    --muted: #6E6887;
    --line: #E7E2F3;
    --bg: #FFFFFF;
    --bg-soft: #F8F5FF;
    --pink: #FF4FA3;
    --orange: #FF8A3D;
    --yellow: #FFC940;
    --green: #22C58B;
    --blue: #3B82F6;
    --danger: #E5484D;
    --warning: #F59E0B;
    --success: #16A34A;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 2px 8px rgba(40, 18, 110, .06);
    --shadow: 0 12px 40px rgba(40, 18, 110, .10);
    --shadow-lg: 0 30px 80px rgba(40, 18, 110, .18);
    --grad: linear-gradient(120deg, #6B3EF2 0%, #9B5CF6 45%, #FF4FA3 100%);
    --grad-dark: linear-gradient(135deg, #1B1036 0%, #2E1570 55%, #4A1FB8 100%);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-700); }
img, svg { max-width: 100%; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.hp { position: absolute; left: -9999px; }

.text-gradient { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-gradient-light { background: linear-gradient(120deg, #C4B5FD, #FF9ACB, #FFD27A); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 22px; border-radius: 999px; border: 2px solid transparent;
    font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.2;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    white-space: nowrap; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-sm { padding: 7px 14px; font-size: .85rem; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 22px rgba(107, 62, 242, .35); }
.btn-primary:hover { background: var(--primary-600); color: #fff; box-shadow: 0 12px 28px rgba(107, 62, 242, .45); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--primary-50); color: var(--primary-700); }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--primary-50); color: var(--primary); }
.btn-light { background: #fff; color: var(--primary-700); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.btn-light:hover { color: var(--primary); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-danger { background: #FFF0F0; color: var(--danger); border-color: #FFD5D6; }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn[disabled] { opacity: .55; pointer-events: none; }

.link-arrow { font-weight: 700; font-family: var(--font-head); display: inline-flex; gap: 6px; align-items: center; }
.link-arrow span { transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Eyebrow ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
    color: var(--primary); background: var(--primary-50); border: 1px solid var(--primary-100);
    padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(255,79,163,.2); }
.eyebrow-light { color: #E9DDFF; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }

/* ---------- Announcement ---------- */
.announce {
    background: var(--grad); color: #fff; text-align: center; font-size: .9rem;
    padding: 9px 16px; font-weight: 500;
}
.announce a { color: #fff; font-weight: 700; margin-left: 6px; text-decoration: underline; text-underline-offset: 3px; }
.announce-pill { background: rgba(255,255,255,.22); border-radius: 999px; padding: 2px 10px; font-size: .75rem; font-weight: 700; margin-right: 8px; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav-brand { display: flex; align-items: center; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
.logo-text { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; }
.logo-text strong { color: var(--primary); margin-left: 2px; }
.logo-light .logo-text { color: #fff; }
.logo-light .logo-text strong { color: #C4B5FD; }

.nav-menu { display: flex; align-items: center; gap: 24px; flex: 1; justify-content: space-between; }
.nav-links { list-style: none; display: flex; gap: 4px; margin: 0 auto; padding: 0; }
.nav-link {
    display: inline-flex; align-items: center; gap: 6px; background: none; border: 0;
    padding: 10px 14px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: .95rem;
}
.nav-link:hover { color: var(--primary); background: var(--primary-50); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.has-dropdown { position: relative; }
.dropdown {
    position: absolute; top: calc(100% + 8px); left: -10px; width: 340px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease;
}
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown-item { display: flex; gap: 14px; padding: 12px; border-radius: 12px; color: var(--ink); align-items: flex-start; }
.dropdown-item:hover { background: var(--bg-soft); color: var(--ink); }
.dropdown-item strong { display: block; font-family: var(--font-head); }
.dropdown-item small { color: var(--muted); }
.dd-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.dd-purple { background: #EFE8FF; } .dd-pink { background: #FFE6F2; } .dd-orange { background: #FFEEDF; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 80px 0 100px; overflow: hidden; background: linear-gradient(180deg, #FBF9FF 0%, #F3EDFF 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob-1 { width: 520px; height: 520px; background: #C9B5FF; top: -180px; right: -120px; }
.blob-2 { width: 380px; height: 380px; background: #FFC2E0; bottom: -160px; left: -120px; }
.blob-3 { width: 260px; height: 260px; background: #FFE2B8; top: 40%; left: 45%; opacity: .45; }
.spark { position: absolute; fill: var(--yellow); animation: twinkle 3.5s ease-in-out infinite; }
.spark.s1 { width: 22px; top: 14%; left: 6%; }
.spark.s2 { width: 16px; top: 72%; left: 48%; fill: var(--pink); animation-delay: 1s; }
.spark.s3 { width: 26px; top: 10%; right: 42%; fill: var(--primary); animation-delay: 2s; }
@keyframes twinkle { 0%,100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.6) rotate(45deg); opacity: .5; } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 580px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 26px; }
.hero-checks { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; flex-wrap: wrap; color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.hero-checks li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font-size: .7rem; font-weight: 800; margin-right: 8px; }

.hero-visual { position: relative; }
.mock-window { background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); transform: rotate(1.2deg); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; background: #FAF8FF; border-bottom: 1px solid var(--line); }
.mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: #FF6B6B; }
.mock-bar span:nth-child(2) { background: #FFC940; } .mock-bar span:nth-child(3) { background: #22C58B; }
.mock-bar em { margin-left: 12px; font-style: normal; font-size: .8rem; color: var(--muted); font-weight: 600; }
.mock-body { padding: 22px; }
.mock-search { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-card { border-radius: 14px; padding: 16px 12px; display: flex; flex-direction: column; gap: 8px; font-size: .82rem; font-weight: 700; font-family: var(--font-head); transition: transform .3s; }
.mock-card b { font-size: 1.4rem; }
.mock-card:hover { transform: translateY(-3px); }
.mock-output { margin-top: 18px; background: var(--bg-soft); border-radius: 14px; padding: 16px; }
.mock-line { height: 10px; border-radius: 6px; background: linear-gradient(90deg, #E4DAFF, #F4EFFF); margin-bottom: 10px; }
.w80 { width: 80%; } .w95 { width: 95%; } .w60 { width: 60%; }
.typing { font-size: .82rem; color: var(--primary); font-weight: 600; }
.typing span { animation: blink 1.4s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0; } 40% { opacity: 1; } }

.float-card { position: absolute; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; font-size: .85rem; animation: float 5s ease-in-out infinite; border: 1px solid var(--line); }
.float-card strong { display: block; font-family: var(--font-head); }
.float-card small { color: var(--muted); }
.fc-icon { font-size: 1.4rem; width: 42px; height: 42px; display: grid; place-items: center; background: var(--primary-50); border-radius: 12px; }
.fc-1 { left: -40px; bottom: 40px; }
.fc-2 { right: -24px; top: -26px; animation-delay: 1.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Colores de apoyo */
.c-purple { background: #EFE8FF; color: #5B2FD6; }
.c-pink   { background: #FFE6F2; color: #C81E78; }
.c-orange { background: #FFEEDF; color: #C2560E; }
.c-yellow { background: #FFF6D6; color: #9A6B00; }
.c-green  { background: #DDF8EC; color: #0E8A5C; }
.c-blue   { background: #E1ECFF; color: #1E5BD8; }

/* ---------- Trust / marquee ---------- */
.trust { padding: 40px 0; border-bottom: 1px solid var(--line); }
.trust-title { text-align: center; color: var(--muted); font-weight: 600; margin-bottom: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-family: var(--font-head); white-space: nowrap; }
.marquee-item svg { color: var(--primary); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--grad-dark); color: #fff; overflow: hidden; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head.light p { color: #D9CFF5; }

/* Tools */
.tool-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.tab { border: 1px solid var(--line); background: #fff; padding: 9px 18px; border-radius: 999px; font-weight: 600; color: var(--ink-2); transition: .2s; }
.tab:hover { border-color: var(--primary); color: var(--primary); }
.tab.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(107,62,242,.3); }
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tool-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s; cursor: default; position: relative; overflow: hidden;
}
.tool-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.tool-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.tool-card:hover::after { transform: scaleX(1); }
.tool-card.hide { display: none; }
.tool-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 16px; }
.tool-card h3 { font-size: 1.05rem; }
.tool-card p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.tool-link { font-weight: 700; color: var(--primary); font-size: .88rem; font-family: var(--font-head); }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { border-radius: 24px; padding: 32px; background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; }
.p-purple::before { background: linear-gradient(90deg, #6B3EF2, #9B5CF6); }
.p-pink::before { background: linear-gradient(90deg, #FF4FA3, #FF86C1); }
.p-orange::before { background: linear-gradient(90deg, #FF8A3D, #FFC940); }
.pillar-badge { display: inline-block; font-weight: 700; font-family: var(--font-head); font-size: .85rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.p-purple .pillar-badge { background: #EFE8FF; color: #5B2FD6; }
.p-pink .pillar-badge { background: #FFE6F2; color: #C81E78; }
.p-orange .pillar-badge { background: #FFEEDF; color: #C2560E; }
.pillar h3 { font-size: 1.35rem; }
.checklist { list-style: none; padding: 0; margin: 18px 0 22px; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--ink-2); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%236B3EF2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; background: #fff; border-radius: 24px; padding: 34px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-weight: 500; }

/* Use cases */
.usecases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.usecase { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; transition: box-shadow .25s, transform .25s; }
.usecase:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.usecase-role { display: inline-block; padding: 5px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem; font-family: var(--font-head); }
.usecase-compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; margin: 18px 0; }
.usecase-compare > div { border-radius: 14px; padding: 14px; font-weight: 600; font-size: .95rem; }
.usecase-compare small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 4px; }
.uc-before { background: #F6F5F9; color: var(--muted); }
.uc-after { background: var(--primary-50); color: var(--primary-700); }
.uc-after small { color: var(--primary); }
.uc-arrow { display: grid; place-items: center; color: var(--primary); font-size: 1.4rem; font-weight: 800; }
.usecase p { color: var(--muted); margin: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 30px; backdrop-filter: blur(6px); }
.step p { color: #D9CFF5; margin: 0; }
.step-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--grad); font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; margin-bottom: 18px; box-shadow: 0 10px 30px rgba(255,79,163,.35); }

/* Safety */
.safety-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.accordion { margin-top: 28px; display: grid; gap: 12px; }
.acc-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.acc-item.open { border-color: var(--primary-100); box-shadow: var(--shadow-sm); }
.acc-head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; background: none; border: 0; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.acc-head i { width: 28px; height: 28px; border-radius: 50%; background: var(--primary-50); position: relative; flex-shrink: 0; transition: transform .25s, background .25s; }
.acc-head i::before, .acc-head i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--primary); transform: translate(-50%, -50%); border-radius: 2px; }
.acc-head i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s; }
.acc-item.open .acc-head i { background: var(--primary); }
.acc-item.open .acc-head i::before, .acc-item.open .acc-head i::after { background: #fff; }
.acc-item.open .acc-head i::after { transform: translate(-50%, -50%) rotate(0); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.acc-body > p { overflow: hidden; margin: 0; padding: 0 22px; color: var(--muted); }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-item.open .acc-body > p { padding-bottom: 20px; }

.badges-card { background: var(--grad-dark); border-radius: 28px; padding: 44px 36px; color: #fff; text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.badges-card::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255,79,163,.35), transparent 70%); top: -100px; right: -100px; }
.shield svg { width: 120px; height: 140px; filter: drop-shadow(0 16px 30px rgba(255,79,163,.4)); position: relative; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; position: relative; }
.badges span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 7px 14px; font-size: .85rem; font-weight: 600; }

/* Community */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: #fff; border-radius: 22px; padding: 32px; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card p { color: var(--muted); margin: 0; }
.fc-emoji { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 18px; }

/* Integrations */
.integrations { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.int-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.int-item { display: flex; align-items: center; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; font-weight: 700; font-family: var(--font-head); background: #fff; transition: transform .2s, box-shadow .2s; }
.int-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.int-dot { width: 14px; height: 14px; border-radius: 4px; }

/* Pricing */
.section-pricing { background: linear-gradient(180deg, #fff 0%, #F4EFFF 100%); }
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); justify-content: center; gap: 28px; align-items: stretch; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 38px 34px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.price-card.featured { background: var(--grad-dark); color: #fff; border: 0; box-shadow: var(--shadow-lg); transform: translateY(-10px); }
.price-card.featured .price-tag, .price-card.featured .price-note, .price-card.featured .per { color: #D9CFF5; }
.price-card.featured .checklist li { color: #EDE6FF; }
.price-card.featured .checklist li::before { background-color: rgba(255,255,255,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23FFC940' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, var(--pink), var(--orange)); color: #fff; font-size: .78rem; font-weight: 800; font-family: var(--font-head); padding: 6px 16px; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 20px rgba(255,79,163,.4); text-transform: uppercase; letter-spacing: .04em; }
.price-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.price-tag { color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 8px 0 2px; }
.amount { font-family: var(--font-head); font-size: 2.9rem; font-weight: 800; letter-spacing: -.03em; }
.per { color: var(--muted); font-weight: 600; }
.price-note { font-size: .9rem; color: var(--muted); margin-bottom: 22px; }
.price-card .checklist { margin-top: 26px; margin-bottom: 0; }
.pay-methods { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; margin-top: 44px; color: var(--ink-2); font-weight: 600; font-size: .92rem; align-items: center; }
.mp-badge { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; }

/* CTA / contact */
.cta { background: var(--grad); color: #fff; padding: 100px 0; position: relative; overflow: hidden; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.1); }
.cta::before { width: 460px; height: 460px; top: -200px; left: -120px; }
.cta::after { width: 320px; height: 320px; bottom: -160px; right: 10%; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.cta-copy h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.cta-copy p { font-size: 1.12rem; color: #F5EEFF; }
.cta-form { background: #fff; color: var(--ink); border-radius: 26px; padding: 32px; box-shadow: var(--shadow-lg); }
.cta-form h3 { font-size: 1.4rem; }

/* ---------- Formularios ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink-2); margin-bottom: 14px; }
input, select, textarea {
    display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
    border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: .95rem; color: var(--ink);
    background: #fff; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(107,62,242,.12); }
textarea { resize: vertical; }
.field-hint { font-weight: 400; color: var(--muted); font-size: .8rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--primary); }

.alert { padding: 13px 16px; border-radius: 12px; margin-bottom: 16px; font-weight: 500; font-size: .93rem; border: 1px solid; }
.alert-success { background: #EAFBF3; color: #0E6E48; border-color: #BDEFD8; }
.alert-error { background: #FFF1F1; color: #B42318; border-color: #FFD2D2; }
.alert-info { background: var(--primary-50); color: var(--primary-700); border-color: var(--primary-100); }
.alert-warning { background: #FFF8E6; color: #92580B; border-color: #FDE7B0; }

/* ---------- Footer ---------- */
.site-footer { background: #140B2B; color: #BDB3D9; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin: 18px 0; max-width: 340px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #BDB3D9; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: var(--primary); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); margin-top: 50px; padding-top: 26px; font-size: .88rem; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* =========================================================================
   Checkout y páginas simples
   ========================================================================= */
.page-simple { background: var(--bg-soft); }
.checkout { padding: 60px 0 90px; }
.checkout-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 32px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow-sm); }
.card h2 { font-size: 1.5rem; }
.card-title-sm { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin: 26px 0 12px; }
.summary { position: sticky; top: 100px; }
.summary .plan-pill, .pay-summary .plan-pill { display: inline-block; background: var(--primary-50); color: var(--primary); font-weight: 700; border-radius: 999px; padding: 4px 12px; font-size: .8rem; margin-bottom: 10px; }
.summary-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); color: var(--ink-2); }
.summary-row.total { border: 0; font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; color: var(--ink); padding-top: 18px; }
.plan-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.plan-option { border: 2px solid var(--line); border-radius: 16px; padding: 16px; cursor: pointer; margin: 0; transition: border-color .2s, background .2s; }
.plan-option input { display: none; }
.plan-option strong { display: block; font-family: var(--font-head); color: var(--ink); }
.plan-option span { color: var(--muted); font-weight: 500; }
.plan-option:has(input:checked) { border-color: var(--primary); background: var(--primary-50); }
.secure-note { display: flex; gap: 10px; align-items: center; margin-top: 16px; font-size: .85rem; color: var(--muted); }
.page-back { display: inline-flex; gap: 6px; font-weight: 600; margin-bottom: 20px; }

.result { padding: 80px 0; }
.result-card { max-width: 620px; margin: 0 auto; text-align: center; }
.result-icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 2.4rem; margin: 0 auto 20px; }
.result-icon.ok { background: #DDF8EC; } .result-icon.bad { background: #FFE8E8; } .result-icon.wait { background: #FFF6D6; }

.demo-banner { background: #FFF8E6; border: 1px dashed #F5C35B; color: #7A4B00; border-radius: 14px; padding: 12px 16px; font-size: .9rem; margin-bottom: 20px; }

.legal { padding: 60px 0 90px; }
.legal h2 { font-size: 1.6rem; margin-top: 40px; }
.legal p, .legal li { color: var(--ink-2); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1080px) {
    .tools-grid { grid-template-columns: repeat(3, 1fr); }
    .nav-links { gap: 0; }
    .nav-link { padding: 10px 10px; }
}
@media (max-width: 960px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff;
        flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 90px 20px 30px;
        box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .3s ease, visibility .3s; overflow-y: auto; z-index: -1; visibility: hidden;
    }
    .nav-open .nav-menu { transform: none; visibility: visible; }
    .nav-links { flex-direction: column; margin: 0; }
    .nav-link { width: 100%; justify-content: space-between; padding: 14px; font-size: 1.05rem; }
    .dropdown { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 0 8px; display: none; opacity: 1; visibility: visible; transform: none; }
    .has-dropdown.open .dropdown { display: block; }
    .has-dropdown:hover .dropdown { display: none; }
    .has-dropdown.open:hover .dropdown { display: block; }
    .nav-actions { flex-direction: column; align-items: stretch; margin-top: 16px; }
    .hero-grid, .safety-grid, .integrations, .cta-grid, .checkout-grid { grid-template-columns: 1fr; }
    .hero { padding: 50px 0 80px; }
    .hero-visual { max-width: 560px; margin: 20px auto 0; }
    .pillars, .cards-3, .steps { grid-template-columns: 1fr; }
    .usecases { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .pricing { grid-template-columns: minmax(0, 520px); }
    .price-card.featured { transform: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .summary { position: static; }
}
@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .section { padding: 70px 0; }
    .tools-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .tool-card { padding: 18px; }
    .tool-card p { display: none; }
    .form-row, .plan-switch { grid-template-columns: 1fr; }
    .float-card { display: none; }
    .mock-window { transform: none; }
    .announce { font-size: .8rem; }
    .announce-pill { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .usecase-compare { grid-template-columns: 1fr; }
    .uc-arrow { transform: rotate(90deg); }
    .card, .cta-form { padding: 22px; }
    .amount { font-size: 2.3rem; }
    .stats { padding: 24px 16px; }
    .stat strong { font-size: 2.2rem; }
}

/* Aviso de comercio electrónico internacional */
.commerce-notice { background: #F7F5FC; border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: 12px; padding: 14px 16px; margin: 18px 0 0; font-size: .85rem; color: var(--ink-2); text-align: left; }
.commerce-notice strong { display: block; font-family: var(--font-head); color: var(--ink); margin-bottom: 4px; }
.commerce-notice p { margin: 0; line-height: 1.55; }
.commerce-notice a { font-weight: 600; white-space: nowrap; }
.commerce-notice.compact { font-size: .8rem; padding: 12px 14px; }
.section-pricing .commerce-notice { max-width: 908px; margin: 28px auto 0; }
