/* FocuLab Landing — premium pre-login (paridad login aurora + design system Focu) */

:root {
    --focu-brand-blue: #2563eb;
    --focu-brand-blue-strong: #1d4ed8;
    --focu-brand-navy: #0f2a6b;
    --focu-brand-cyan: #38bdf8;
    --focu-brand-cyan-soft: #bae6fd;
    --focu-violet: #7b6cff;
    --focu-bg-dark: #0a1018;
    --focu-bg-mid: #0f1c2e;
    --focu-sidebar: #12213a;
    --focu-text-on-dark: #eef1f6;
    --focu-text-muted: rgba(238, 241, 246, 0.68);
    --focu-gold-soft: #f5edd6;
    --focu-gold: #c9a227;
    --focu-success: #34d399;
    --focu-danger: #f87171;
    --focu-radius-xl: 20px;
    --focu-radius-lg: 16px;
    --focu-radius-md: 12px;
    --focu-gradient-btn: linear-gradient(135deg, #2563eb 0%, #1d4ed8 48%, #1a4088 100%);
    --focu-gradient-text: linear-gradient(135deg, #ffffff 0%, #bae6fd 45%, #63d9ff 100%);
    --focu-glass: rgba(255, 255, 255, 0.045);
    --focu-glass-border: rgba(186, 230, 253, 0.14);
    --focu-shadow-glow: 0 0 0 1px rgba(186, 230, 253, 0.08), 0 20px 50px rgba(0, 0, 0, 0.35);
    --focu-shadow-card: 0 4px 24px rgba(15, 42, 107, 0.2);
    --header-h: 72px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--focu-bg-dark);
    color: var(--focu-text-on-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* —— Ambient (login parity) —— */
.landing-ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.landing-ambient__base {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 120% 80% at 50% -15%, rgba(37, 99, 235, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 90% 70% at 100% 50%, rgba(123, 108, 255, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 0% 80%, rgba(56, 189, 248, 0.1) 0%, transparent 45%),
        linear-gradient(180deg, var(--focu-bg-dark) 0%, var(--focu-bg-mid) 45%, var(--focu-sidebar) 100%);
}

.landing-ambient__aurora {
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(ellipse 45% 55% at 25% 30%, rgba(37, 99, 235, 0.28) 0%, transparent 58%),
        radial-gradient(ellipse 50% 50% at 75% 35%, rgba(99, 217, 255, 0.16) 0%, transparent 60%),
        radial-gradient(ellipse 55% 45% at 55% 75%, rgba(123, 108, 255, 0.18) 0%, transparent 58%);
    filter: blur(48px);
    animation: landing-aurora 36s ease-in-out infinite;
}

@keyframes landing-aurora {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.75; }
    50% { transform: translate3d(-2%, 2.5%, 0) scale(1.06); opacity: 1; }
}

.landing-ambient__beam {
    position: absolute;
    inset: -50%;
    background: linear-gradient(115deg,
        transparent 44%,
        rgba(99, 217, 255, 0.06) 49.5%,
        rgba(37, 99, 235, 0.08) 50.5%,
        transparent 56%);
    animation: landing-beam 24s ease-in-out infinite;
}

@keyframes landing-beam {
    0%, 100% { transform: translateX(-18%); opacity: 0.4; }
    50% { transform: translateX(18%); opacity: 0.75; }
}

.landing-ambient__noise {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page-shell { position: relative; z-index: 1; }

/* —— Header —— */
header {
    position: sticky;
    top: 0;
    z-index: 200;
    height: var(--header-h);
    background: rgba(10, 16, 24, 0.55);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid rgba(186, 230, 253, 0.08);
    transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
}

header.is-scrolled {
    background: rgba(10, 16, 24, 0.88);
    border-bottom-color: rgba(186, 230, 253, 0.14);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 12px;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    padding: 5px 10px 5px 5px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s, transform 0.3s;
    flex-shrink: 0;
}

.brand-lockup--header {
    animation: brand-lockup-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.brand-lockup:hover {
    border-color: rgba(186, 230, 253, 0.22);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 28px rgba(37, 99, 235, 0.18);
}

.brand-lockup:active { transform: scale(0.98); }

.brand-lockup__icon-wrap {
    position: relative;
    flex-shrink: 0;
    border-radius: 11px;
    animation: brand-icon-float 5s ease-in-out infinite;
}

.brand-lockup__icon-glow {
    position: absolute;
    inset: -5px;
    border-radius: 14px;
    background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.45), rgba(37, 99, 235, 0.15) 45%, transparent 70%);
    opacity: 0.55;
    z-index: 0;
    animation: brand-glow-pulse 3.2s ease-in-out infinite;
    pointer-events: none;
}

.brand-lockup__icon {
    position: relative;
    z-index: 1;
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    object-fit: contain;
    box-shadow: 0 5px 18px rgba(37, 99, 235, 0.45);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}

.brand-lockup--footer .brand-lockup__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.brand-lockup:hover .brand-lockup__icon {
    transform: scale(1.1) rotate(-4deg);
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.5);
}

.brand-lockup__text {
    display: inline-flex;
    align-items: flex-start;
    line-height: 1;
    animation: brand-text-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.12s backwards;
}

.brand-lockup__name {
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
    background: linear-gradient(
        115deg,
        #ffffff 0%,
        #bae6fd 28%,
        #63d9ff 48%,
        #2563eb 72%,
        #7b6cff 100%
    );
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: brand-shimmer 5s ease-in-out infinite;
    filter: drop-shadow(0 1px 1px rgba(15, 42, 107, 0.35));
    transition: filter 0.3s;
}

.brand-lockup--footer .brand-lockup__name {
    font-size: 1.1875rem;
    letter-spacing: 0.22em;
    text-indent: 0.22em;
}

.brand-lockup:hover .brand-lockup__name {
    filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.45));
    animation-duration: 2.5s;
}

.brand-lockup__mark {
    font-size: 0.5rem;
    font-weight: 700;
    color: var(--focu-brand-cyan-soft);
    margin-left: 1px;
    margin-top: 1px;
    opacity: 0.85;
    animation: brand-mark-in 0.5s ease-out 0.35s backwards;
}

@keyframes brand-lockup-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes brand-text-in {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes brand-mark-in {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 0.85; transform: scale(1); }
}

@keyframes brand-icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes brand-glow-pulse {
    0%, 100% { opacity: 0.45; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(1.06); }
}

@keyframes brand-shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

header.is-scrolled .brand-lockup__icon {
    width: 32px;
    height: 32px;
}

header.is-scrolled .brand-lockup__name {
    font-size: 0.9375rem;
    letter-spacing: 0.16em;
    text-indent: 0.16em;
}

/* Legacy — compat */
.brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 10px;
}

.brand-logo {
    display: block;
    height: 28px;
    width: auto;
    object-fit: contain;
}

.menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    font-weight: 500;
    flex: 1 1 auto;
    justify-content: center;
}

.menu a {
    color: var(--focu-text-muted);
    padding: 8px 11px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.2;
    transition: color 0.2s, background 0.2s;
}

.menu a:hover,
.menu a.is-active {
    color: #fff;
    background: rgba(37, 99, 235, 0.14);
}

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

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(186, 230, 253, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--focu-text-on-dark);
    cursor: pointer;
    transition: background 0.2s;
}

.menu-toggle:hover { background: rgba(37, 99, 235, 0.12); }
.menu-toggle svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }

.mobile-drawer {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 190;
    background: rgba(8, 14, 24, 0.97);
    backdrop-filter: blur(16px);
    padding: 20px 24px 32px;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
}

.mobile-drawer.is-open { display: flex; }

.mobile-drawer a {
    padding: 14px 16px;
    border-radius: var(--focu-radius-md);
    color: var(--focu-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid rgba(186, 230, 253, 0.08);
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.2s, color 0.2s;
}

.mobile-drawer a:hover { background: rgba(37, 99, 235, 0.14); color: #fff; }

/* —— Buttons —— */
.cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--focu-gradient-btn);
    color: #fff;
    padding: 0.65rem 1.35rem;
    border-radius: var(--focu-radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: transform 0.25s, box-shadow 0.25s;
}

.cta-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.18) 50%, transparent 60%);
    transform: translateX(-120%);
    transition: transform 0.55s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.cta-btn:hover::after { transform: translateX(120%); }

.cta-btn-outline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(186, 230, 253, 0.28);
    color: var(--focu-text-on-dark);
    box-shadow: none;
    backdrop-filter: blur(8px);
}

.cta-btn-outline::after { display: none; }

.cta-btn-outline:hover {
    background: rgba(56, 189, 248, 0.08);
    border-color: var(--focu-brand-cyan);
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.12);
}

/* —— Sections —— */
section {
    padding: clamp(64px, 8vw, 96px) 0;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(680px, 80%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(186, 230, 253, 0.15), transparent);
    pointer-events: none;
}

section:first-of-type::before { display: none; }

.section-head { max-width: 640px; margin-bottom: 8px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.6875rem;
    color: var(--focu-brand-cyan);
    font-weight: 700;
    margin-bottom: 16px;
}

.eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--focu-brand-cyan), transparent);
}

.section-head--center .eyebrow::before { display: none; }

h1 {
    font-size: clamp(2rem, 4.8vw, 3.45rem);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #fff;
    margin-bottom: 16px;
}

h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--focu-brand-cyan-soft);
    margin-bottom: 8px;
}

p.lead {
    font-size: clamp(1rem, 1.55vw, 1.1875rem);
    color: var(--focu-text-muted);
    max-width: 58ch;
    line-height: 1.65;
}

.text-gradient {
    background: var(--focu-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.muted { color: rgba(238, 241, 246, 0.48); font-size: 0.8125rem; }

/* —— Hero —— */
.hero {
    padding: clamp(20px, 2.8vw, 36px) 0 clamp(56px, 7vw, 88px);
    overflow: hidden;
}

.hero::before { display: none; }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 4vw, 48px);
    align-items: start;
}

.hero-copy {
    text-align: left;
    padding-top: 4px;
}

.hero-copy .eyebrow { margin-bottom: 16px; }

.hero-copy h1 { max-width: 16ch; margin-left: 0; margin-right: 0; }

.hero-copy .lead { margin: 0 0 32px; max-width: 48ch; }

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    border-radius: 999px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(245, 237, 214, 0.18);
    color: var(--focu-gold-soft);
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0 0 18px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--focu-success);
    box-shadow: 0 0 12px var(--focu-success);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.85); }
}

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }

.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--focu-brand-cyan-soft);
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(186, 230, 253, 0.16);
    backdrop-filter: blur(8px);
    transition: border-color 0.2s, background 0.2s;
}

.pill:hover {
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(37, 99, 235, 0.16);
}

/* Hero visual */
.hero-visual {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    padding-top: 8px;
}

.hero-orb {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(56, 189, 248, 0.35), rgba(37, 99, 235, 0.15) 45%, transparent 70%);
    filter: blur(2px);
    animation: orb-float 8s ease-in-out infinite;
}

@keyframes orb-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.04); }
}

.hero-glass-stack {
    position: relative;
    width: 100%;
    max-width: 340px;
}

.hero-glass-card {
    padding: 18px 20px;
    border-radius: var(--focu-radius-lg);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(186, 230, 253, 0.18);
    box-shadow: var(--focu-shadow-glow);
}

.hero-glass-card + .hero-glass-card {
    margin-top: -24px;
    margin-left: 28px;
    opacity: 0.92;
}

.hero-glass-card:nth-child(3) {
    margin-left: 56px;
    opacity: 0.84;
}

.hero-glass-card strong {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--focu-brand-cyan);
    margin-bottom: 6px;
}

.hero-glass-card span {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.hero-glass-card small {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: var(--focu-text-muted);
}

/* —— Cards & grid —— */
.grid { display: grid; gap: 20px; margin-top: 32px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
    position: relative;
    background: var(--focu-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--focu-glass-border);
    border-radius: var(--focu-radius-lg);
    padding: 24px;
    box-shadow: var(--focu-shadow-card);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(186, 230, 253, 0.2), transparent 40%, rgba(37, 99, 235, 0.08));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.28);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(56, 189, 248, 0.08);
}

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

.card-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.25), rgba(37, 99, 235, 0.08));
    border: 1px solid rgba(186, 230, 253, 0.2);
    margin-bottom: 16px;
    color: var(--focu-brand-cyan);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.card-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.alt {
    background: rgba(8, 16, 30, 0.55);
    backdrop-filter: blur(4px);
}

.quote-block {
    text-align: center;
    padding: clamp(64px, 8vw, 88px) 0;
    background:
        radial-gradient(ellipse 70% 80% at 50% 50%, rgba(37, 99, 235, 0.12), transparent 65%),
        rgba(8, 16, 30, 0.4);
}

.quote-block::before { display: none; }

/* CTA premium */
.cta-premium {
    position: relative;
    padding: clamp(72px, 9vw, 100px) 0;
    overflow: hidden;
}

.cta-premium__ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-premium__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.cta-premium__orb--a {
    width: 420px;
    height: 420px;
    top: -120px;
    left: 10%;
    background: rgba(37, 99, 235, 0.2);
    animation: orb-float 10s ease-in-out infinite;
}

.cta-premium__orb--b {
    width: 320px;
    height: 320px;
    bottom: -80px;
    right: 8%;
    background: rgba(123, 108, 255, 0.15);
    animation: orb-float 12s ease-in-out infinite reverse;
}

.cta-premium__panel {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(36px, 5vw, 52px) clamp(28px, 4vw, 48px);
    text-align: center;
    border-radius: var(--focu-radius-xl);
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    border: 1px solid rgba(186, 230, 253, 0.18);
    box-shadow: var(--focu-shadow-glow), 0 32px 64px rgba(0, 0, 0, 0.35);
}

.cta-premium__panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(186, 230, 253, 0.35), transparent 40%, rgba(37, 99, 235, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.cta-premium__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    border-radius: 999px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(245, 237, 214, 0.18);
    color: var(--focu-gold-soft);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.cta-premium__title {
    font-size: clamp(1.5rem, 3.2vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.15;
}

.cta-premium__quote {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-style: italic;
    color: rgba(255, 255, 255, 0.78);
    max-width: 42ch;
    margin: 0 auto 28px;
    line-height: 1.5;
}

.cta-premium__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.cta-premium__hint {
    font-size: 0.8125rem;
    color: rgba(238, 241, 246, 0.48);
    margin-bottom: 28px;
}

.cta-premium__stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid rgba(186, 230, 253, 0.1);
}

.cta-premium__stat {
    text-align: center;
    min-width: 90px;
}

.cta-premium__stat strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--focu-brand-cyan);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.cta-premium__stat span {
    font-size: 0.75rem;
    color: var(--focu-text-muted);
}

/* Demo request modal */
body.demo-modal-open { overflow: hidden; }

.demo-modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.demo-modal[hidden] { display: none; }

.demo-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 16, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: demo-backdrop-in 0.3s ease-out;
}

.demo-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: min(92vh, 820px);
    overflow-y: auto;
    border-radius: var(--focu-radius-xl);
    background: rgba(12, 20, 34, 0.96);
    border: 1px solid rgba(186, 230, 253, 0.18);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(56, 189, 248, 0.08);
    padding: 28px 28px 24px;
    animation: demo-dialog-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes demo-backdrop-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes demo-dialog-in {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.demo-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(186, 230, 253, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--focu-text-on-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    z-index: 2;
}

.demo-modal__close:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(56, 189, 248, 0.3);
}

.demo-modal__close svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

.demo-modal__head { margin-bottom: 22px; padding-right: 36px; }

.demo-modal__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    line-height: 1.2;
}

.demo-modal__lead {
    font-size: 0.9rem;
    color: var(--focu-text-muted);
    line-height: 1.55;
    margin: 0;
}

.demo-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.demo-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.demo-form__field label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
}

.demo-form__field label span { color: var(--focu-brand-cyan); }

.demo-form__field input,
.demo-form__field select,
.demo-form__field textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(186, 230, 253, 0.16);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-family: inherit;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.demo-form__field input::placeholder,
.demo-form__field textarea::placeholder { color: rgba(238, 241, 246, 0.35); }

.demo-form__field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23bae6fd' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.demo-form__field input:focus,
.demo-form__field select:focus,
.demo-form__field textarea:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.demo-form__field .is-invalid {
    border-color: rgba(248, 113, 113, 0.55);
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}

.demo-form__error {
    font-size: 0.75rem;
    color: #fca5a5;
    min-height: 1em;
}

.demo-form__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.demo-form__legal {
    font-size: 0.75rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.demo-form__legal a { color: var(--focu-brand-cyan); text-decoration: underline; }

.demo-form__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.demo-form__actions .cta-btn { flex: 1 1 auto; justify-content: center; min-width: 140px; }

.demo-form__fallback {
    margin-top: 14px;
    font-size: 0.75rem;
    text-align: center;
}

.demo-form__fallback a { color: var(--focu-brand-cyan-soft); }

.demo-form__btn-loading[hidden] {
    display: none !important;
}

.demo-modal__success {
    text-align: center;
    padding: 24px 8px 8px;
}

.demo-modal__success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--focu-success);
}

.demo-modal__success-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

button.cta-btn {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.quote {
    font-size: clamp(1.25rem, 2.8vw, 1.9rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.92);
    max-width: 38ch;
    margin: 0 auto;
    line-height: 1.45;
}

ul.check { list-style: none; }
ul.check li {
    padding: 6px 0 6px 4px;
    color: var(--focu-text-muted);
    font-size: 0.92rem;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

ul.check li::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.35);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 11px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Flow */
.flow-diagram {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
}

.flow-node {
    flex: 1 1 150px;
    max-width: 210px;
    text-align: center;
    padding: 22px 16px;
    border-radius: var(--focu-radius-lg);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(186, 230, 253, 0.12);
    transition: transform 0.25s, border-color 0.25s;
}

.flow-node:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.3);
}

.flow-node strong { display: block; color: #fff; font-size: 0.9rem; margin-bottom: 6px; }
.flow-node span { font-size: 0.78rem; color: var(--focu-text-muted); line-height: 1.45; }

.flow-arrow {
    display: flex;
    align-items: center;
    color: var(--focu-brand-cyan);
    font-size: 1.25rem;
    opacity: 0.7;
    flex-shrink: 0;
}

/* Mockups — app previews */
.mockups-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.mockup-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--focu-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(186, 230, 253, 0.14);
    background: linear-gradient(180deg, rgba(21, 42, 74, 0.9) 0%, rgba(10, 22, 40, 0.95) 100%);
    min-height: auto;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s, border-color 0.35s;
}

.mockup-card:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(56, 189, 248, 0.12);
}

.mockup-card:nth-child(1) { transition-delay: 0s; }
.mockup-card:nth-child(2) { transition-delay: 0.05s; }
.mockup-card:nth-child(3) { transition-delay: 0.1s; }
.mockup-card:nth-child(4) { transition-delay: 0.15s; }

.mockup-preview {
    flex: 1;
    min-height: 168px;
    border-bottom: 1px solid rgba(186, 230, 253, 0.08);
    background: rgba(6, 12, 22, 0.55);
    overflow: hidden;
}

.mockup-preview__chrome {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(186, 230, 253, 0.06);
    font-size: 0.625rem;
}

.mockup-preview__dots {
    display: inline-flex;
    gap: 3px;
}

.mockup-preview__dots i {
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(186, 230, 253, 0.35);
}

.mockup-preview__title {
    flex: 1;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mockup-preview__badge {
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--focu-brand-cyan-soft);
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(186, 230, 253, 0.15);
}

.mockup-preview__badge--success {
    color: var(--focu-success);
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.25);
}

.mockup-preview__badge--gold {
    color: var(--focu-gold-soft);
    background: rgba(201, 162, 39, 0.12);
    border-color: rgba(245, 237, 214, 0.2);
}

.mockup-preview__viewport {
    padding: 10px;
    height: calc(100% - 32px);
    min-height: 136px;
}

/* Map UI */
.ui-map {
    position: relative;
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(160deg, #1a3050 0%, #0f2038 100%);
    overflow: hidden;
}

.ui-map__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(186, 230, 253, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(186, 230, 253, 0.04) 1px, transparent 1px);
    background-size: 18px 18px;
}

.ui-map__route {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ui-pin {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: rgba(99, 217, 255, 0.35);
    border: 2px solid rgba(99, 217, 255, 0.6);
    font-size: 0.5rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ui-pin--a { top: 58%; left: 12%; }
.ui-pin--b { top: 38%; left: 38%; }
.ui-pin--c { top: 52%; left: 62%; }
.ui-pin--active {
    top: 22%;
    left: 78%;
    background: var(--focu-gradient-btn);
    border-color: #fff;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.6);
    animation: pin-pulse 2s ease-in-out infinite;
}

@keyframes pin-pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(56, 189, 248, 0.4); }
    50% { box-shadow: 0 0 18px rgba(56, 189, 248, 0.75); }
}

/* Visit list UI */
.ui-list { display: flex; flex-direction: column; gap: 5px; }

.ui-list__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(186, 230, 253, 0.06);
    font-size: 0.625rem;
    transition: background 0.25s, border-color 0.25s;
}

.ui-list__item strong { display: block; color: #fff; font-size: 0.6875rem; font-weight: 600; }
.ui-list__item small { color: var(--focu-text-muted); font-size: 0.5625rem; }

.ui-list__check {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 1.5px solid rgba(186, 230, 253, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

.ui-list__item--done .ui-list__check {
    background: rgba(52, 211, 153, 0.2);
    border-color: var(--focu-success);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 9px;
    background-repeat: no-repeat;
    background-position: center;
}

.ui-list__item--active {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: inset 3px 0 0 var(--focu-brand-cyan);
}

.mockup-card:hover .ui-list__item--active { background: rgba(37, 99, 235, 0.22); }

/* Inventory UI */
.ui-inventory { display: flex; flex-direction: column; gap: 5px; }

.ui-inventory__row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(186, 230, 253, 0.06);
}

.ui-inventory__pill {
    width: 8px;
    height: 22px;
    border-radius: 4px;
    background: linear-gradient(180deg, #38bdf8, #2563eb);
    flex-shrink: 0;
}

.ui-inventory__pill--b { background: linear-gradient(180deg, #7b6cff, #5b4fd4); }
.ui-inventory__pill--c { background: linear-gradient(180deg, #fbbf24, #d97706); }

.ui-inventory__meta { flex: 1; min-width: 0; }
.ui-inventory__meta strong { display: block; font-size: 0.625rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-inventory__meta small { font-size: 0.5625rem; color: var(--focu-text-muted); }

.ui-inventory__qty {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--focu-brand-cyan-soft);
}

.ui-inventory__qty--low { color: #fbbf24; }

.ui-inventory__row--warn { border-color: rgba(251, 191, 36, 0.25); }

/* Reports UI */
.ui-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 10px;
}

.ui-kpi {
    text-align: center;
    padding: 6px 4px;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(186, 230, 253, 0.1);
}

.ui-kpi span { display: block; font-size: 0.875rem; font-weight: 800; color: #fff; line-height: 1.1; }
.ui-kpi small { font-size: 0.5rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--focu-text-muted); }

.ui-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 56px;
    padding: 0 4px;
}

.ui-bars__bar {
    flex: 1;
    height: var(--h, 50%);
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.5), rgba(37, 99, 235, 0.25));
    position: relative;
    transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ui-bars__bar span {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5rem;
    color: var(--focu-text-muted);
}

.ui-bars__bar--active {
    background: linear-gradient(180deg, #63d9ff, #2563eb);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.mockup-card:hover .ui-bars__bar--active { height: calc(var(--h, 94%) + 4%); }

.mockup-card__content {
    position: relative;
    z-index: 1;
    padding: 16px 16px 18px;
    background: rgba(8, 14, 24, 0.6);
}

.mockup-card__tag {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--focu-brand-cyan);
    font-weight: 700;
    margin-bottom: 4px;
}

.mockup-card__title { font-size: 0.9375rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.mockup-card__text { font-size: 0.78rem; color: var(--focu-text-muted); line-height: 1.45; }

/* BI */
.bi-layout { display: flex; gap: 28px; align-items: stretch; flex-wrap: wrap; margin-top: 36px; }

.bi-dash {
    flex: 1 1 300px;
    min-height: 280px;
    border-radius: var(--focu-radius-xl);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(186, 230, 253, 0.14);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
    padding: 18px;
    box-shadow: var(--focu-shadow-glow);
}

.bi-dash__cell {
    background: linear-gradient(160deg, rgba(37, 99, 235, 0.2), rgba(37, 99, 235, 0.06));
    border-radius: 12px;
    border: 1px solid rgba(186, 230, 253, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    text-align: center;
    transition: transform 0.25s;
}

.bi-dash__cell:hover { transform: scale(1.04); }

.bi-dash__cell strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--focu-brand-cyan);
    letter-spacing: -0.02em;
    margin-bottom: 2px;
}

.bi-dash__cell span {
    font-size: 0.625rem;
    color: var(--focu-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.bi-kpis { flex: 1 1 260px; display: flex; flex-direction: column; justify-content: center; }
.bi-kpis ul.check { margin-top: 0; }

/* Roles table */
.roles-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 32px;
    font-size: 0.9rem;
    border-radius: var(--focu-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(186, 230, 253, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.roles-table th, .roles-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(186, 230, 253, 0.08);
    vertical-align: top;
}

.roles-table tr:last-child td { border-bottom: none; }

.roles-table th {
    background: rgba(37, 99, 235, 0.12);
    color: var(--focu-brand-cyan);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.roles-table td:first-child { font-weight: 600; color: #fff; white-space: nowrap; }

.roles-table tbody tr { transition: background 0.2s; }
.roles-table tbody tr:hover { background: rgba(37, 99, 235, 0.06); }

/* Approval */
.approval-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.approval-step {
    flex: 1 1 160px;
    max-width: 230px;
    text-align: center;
    padding: 24px 18px;
    border-radius: var(--focu-radius-lg);
    background: var(--focu-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--focu-glass-border);
    transition: transform 0.25s;
}

.approval-step:hover { transform: translateY(-3px); }

.approval-step__num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--focu-gradient-btn);
    color: #fff;
    font-weight: 800;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

/* Modules — interactive cards */
.module-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }

.module-cat {
    position: relative;
    border-radius: var(--focu-radius-lg);
    border: 1px solid rgba(186, 230, 253, 0.1);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.025);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, box-shadow 0.35s;
    transform-style: preserve-3d;
    will-change: transform;
}

#modulos.is-visible .module-cat {
    animation: module-enter 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

#modulos.is-visible .module-cat:nth-child(1) { animation-delay: 0.05s; }
#modulos.is-visible .module-cat:nth-child(2) { animation-delay: 0.12s; }
#modulos.is-visible .module-cat:nth-child(3) { animation-delay: 0.19s; }
#modulos.is-visible .module-cat:nth-child(4) { animation-delay: 0.26s; }

@keyframes module-enter {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.module-cat.is-hovered,
.module-cat:hover {
    border-color: rgba(56, 189, 248, 0.32);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(56, 189, 248, 0.1);
}

.module-cat__shine {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(56, 189, 248, 0.12), transparent 55%);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}

.module-cat:hover .module-cat__shine,
.module-cat.is-hovered .module-cat__shine { opacity: 1; }

.module-cat__head {
    padding: 16px 20px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.16), rgba(37, 99, 235, 0.04));
    font-weight: 700;
    color: #fff;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(186, 230, 253, 0.08);
    transition: background 0.3s;
}

.module-cat:hover .module-cat__head {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.24), rgba(56, 189, 248, 0.08));
}

.module-cat__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(186, 230, 253, 0.15);
    transition: transform 0.35s, box-shadow 0.35s;
}

.module-cat:hover .module-cat__icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.module-cat__icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--focu-brand-cyan);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.module-cat__label { flex: 1; }

.module-cat__count {
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    color: var(--focu-brand-cyan-soft);
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(186, 230, 253, 0.12);
}

.module-cat__body {
    padding: 18px 20px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.module-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.85rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--focu-brand-cyan-soft);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(186, 230, 253, 0.12);
    cursor: default;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s;
}

.module-pill:hover {
    transform: translateY(-2px) scale(1.04);
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(56, 189, 248, 0.4);
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.module-pill.is-active {
    background: rgba(37, 99, 235, 0.28);
    border-color: rgba(56, 189, 248, 0.5);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.2);
}

/* Table compare */
table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 32px; font-size: 0.9rem; border-radius: var(--focu-radius-lg); overflow: hidden; border: 1px solid rgba(186, 230, 253, 0.1); }

th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid rgba(186, 230, 253, 0.08); }
tr:last-child td { border-bottom: none; }

th {
    background: rgba(37, 99, 235, 0.1);
    color: var(--focu-brand-cyan);
    text-transform: uppercase;
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
}

td.yes { color: var(--focu-success); font-weight: 600; }
td.no { color: var(--focu-danger); opacity: 0.85; }

.roadmap-tag {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    background: rgba(245, 237, 214, 0.1);
    color: var(--focu-gold-soft);
    border: 1px solid rgba(245, 237, 214, 0.15);
    margin-left: 6px;
    vertical-align: middle;
}

/* FAQ */
.faq-list { margin-top: 32px; max-width: 780px; }

.faq-item {
    border: 1px solid rgba(186, 230, 253, 0.1);
    border-radius: var(--focu-radius-md);
    margin-bottom: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.25s;
}

.faq-item.is-open {
    border-color: rgba(56, 189, 248, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.faq-q {
    width: 100%;
    text-align: left;
    padding: 18px 22px;
    background: transparent;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: background 0.2s;
}

.faq-q:hover { background: rgba(37, 99, 235, 0.08); }

.faq-q svg {
    width: 18px;
    height: 18px;
    stroke: var(--focu-brand-cyan);
    fill: none;
    stroke-width: 2.5;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.is-open .faq-q svg { transform: rotate(180deg); }

.faq-a {
    display: none;
    padding: 0 22px 18px;
    color: var(--focu-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.faq-item.is-open .faq-a { display: block; }

/* Trust */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }

.trust-item {
    text-align: center;
    padding: 24px 16px;
    border-radius: var(--focu-radius-md);
    border: 1px solid rgba(186, 230, 253, 0.1);
    background: var(--focu-glass);
    backdrop-filter: blur(12px);
    transition: transform 0.25s, border-color 0.25s;
}

.trust-item:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.22);
}

.trust-item svg {
    width: 28px;
    height: 28px;
    stroke: var(--focu-brand-cyan);
    fill: none;
    stroke-width: 2;
    margin-bottom: 12px;
}

.trust-item strong { display: block; color: #fff; font-size: 0.875rem; margin-bottom: 6px; }
.trust-item span { font-size: 0.78rem; color: var(--focu-text-muted); line-height: 1.45; }

/* Footer premium */
.site-footer {
    background: rgba(6, 12, 22, 0.92);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(186, 230, 253, 0.1);
    padding: 56px 0 0;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    text-align: left;
}

.site-footer__brand .brand-lockup { margin-bottom: 16px; }

.site-footer__tagline {
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 8px;
    max-width: 28ch;
    line-height: 1.45;
}

.site-footer__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer__col-title {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--focu-brand-cyan);
    margin-bottom: 4px;
}

.site-footer__col a {
    font-size: 0.875rem;
    color: var(--focu-text-muted);
    transition: color 0.2s, transform 0.2s;
    width: fit-content;
}

.site-footer__col a:hover {
    color: var(--focu-brand-cyan-soft);
    transform: translateX(3px);
}

.site-footer__bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(186, 230, 253, 0.08);
    text-align: center;
}

.site-footer__bottom .muted { font-size: 0.8125rem; }

.alert-error {
    padding: 14px 18px;
    border-radius: var(--focu-radius-md);
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: #fecaca;
    font-size: 0.9rem;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 1180px) and (min-width: 1101px) {
    .menu { gap: 2px; font-size: 0.78125rem; }
    .menu a { padding: 7px 9px; }
    .nav-actions .cta-btn { padding: 0.55rem 0.9rem; font-size: 0.8125rem; }
}

@media (max-width: 1100px) {
    .menu { display: none; }
    .menu-toggle { display: flex; }
}

@media (max-width: 1024px) {
    .hero { padding-top: 24px; }
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-copy { text-align: center; padding-top: 0; }
    .hero-copy .hero-badge { margin-left: auto; margin-right: auto; }
    .hero-copy .eyebrow { justify-content: center; }
    .hero-copy h1 { max-width: none; margin-left: auto; margin-right: auto; }
    .hero-copy .lead { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .pill-row { justify-content: center; }
    .hero-visual { min-height: 280px; padding-top: 0; align-self: auto; }
}

@media (max-width: 900px) {
    .mockups-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .module-cats { grid-template-columns: 1fr; }
    .flow-arrow { display: none; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
    .brand-lockup__name {
        font-size: 0.875rem;
        letter-spacing: 0.14em;
        text-indent: 0.14em;
    }
    .brand-lockup__icon { width: 32px; height: 32px; }
    .g2, .g3, .g4 { grid-template-columns: 1fr; }
    section { padding: 52px 0; }
    .hero { padding-top: 20px; padding-bottom: 44px; }
    .roles-table thead { display: none; }
    .roles-table tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid rgba(186, 230, 253, 0.1);
        border-radius: var(--focu-radius-md);
        padding: 14px;
        background: rgba(255, 255, 255, 0.02);
    }
    .roles-table td { display: block; padding: 6px 0; border: none; }
    .roles-table td:first-child { font-size: 1rem; margin-bottom: 4px; }
    .hero-glass-card + .hero-glass-card,
    .hero-glass-card:nth-child(3) { margin-left: 16px; }
}

@media (max-width: 520px) {
    .nav-actions .cta-btn-outline { display: none; }
    .nav-actions { gap: 6px; }
    .cta-btn { padding: 0.58rem 1rem; font-size: 0.8125rem; }
    .mockups-grid { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .cta-premium__stats { gap: 16px; }
    .demo-form__grid { grid-template-columns: 1fr; }
    .demo-modal__dialog { padding: 22px 18px 18px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .brand-lockup__icon-wrap,
    .brand-lockup__icon-glow,
    .brand-lockup__name { animation: none; }
    .brand-lockup--header,
    .brand-lockup__text { animation: none; opacity: 1; transform: none; }
}
