/* ── Mantenedor — Estilos páginas públicas ── */
:root {
    --bg-base:      #FFFFFF;
    --bg-alt:       #F9FAFB;
    --text-primary: #111827;
    --text-muted:   #6B7280;
    --border-color: #E5E7EB;
    
    --primary:      #000000;
    --primary-dark: #1F2937;

    /* Landing (dark sections) */
    --ink-900:      #0A0A0B;
    --ink-800:      #111217;
    --ink-700:      #1A1B22;
    --line-dark:    #22242C;
    --accent-cyan:  #22D3EE;
    --accent-amber: #F59E0B;
    --text-on-dark: #F9FAFB;
    --text-dim:     #A1A1AA;
    --gradient-hero: radial-gradient(1200px 600px at 70% 20%, rgba(34, 211, 238, 0.18), transparent 60%),
        radial-gradient(900px 500px at 20% 90%, rgba(245, 158, 11, 0.12), transparent 60%),
        linear-gradient(180deg, #0A0A0B 0%, #111217 100%);
}

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

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    background: var(--bg-alt);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── Auth cards ── */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background-color: var(--bg-alt);
}

.auth-card {
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    width: 100%;
    max-width: 440px;
    padding: 40px;
}

.auth-card .brand {
    text-align: center;
    margin-bottom: 32px;
}

.auth-card .brand h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 12px 0 4px;
    letter-spacing: -0.02em;
}

.auth-card .brand p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.auth-card h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.auth-card .subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 28px;
}

/* ── Form elements ── */
.form-group { margin-bottom: 20px; }

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-primary);
    background: #FFFFFF;
    transition: all 0.2s ease;
    outline: none;
}

.form-control:focus {
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

.form-control.is-invalid { border-color: #EF4444; }

.error-msg {
    font-size: 13px;
    color: #EF4444;
    margin-top: 6px;
    display: none;
}

.error-msg.show { display: block; }

/* ── Buttons ── */
.btn-primary {
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover { 
    background: var(--primary-dark); 
    border-color: var(--primary-dark);
}
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-link {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    font-family: inherit;
    text-decoration: none;
    transition: color 0.15s;
}
.btn-link:hover { color: var(--text-primary); text-decoration: underline; }

/* ── Alert boxes ── */
.alert {
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    display: none;
}
.alert.show { display: block; }
.alert-danger  { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.alert-success { background: #F0FDF4; color: #15803D; border: 1px solid #BBF7D0; }
.alert-info    { background: #F0F9FF; color: #0369A1; border: 1px solid #BAE6FD; }

/* ── Links ── */
.auth-links {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-muted);
}
.auth-links a { color: var(--text-primary); text-decoration: none; font-weight: 600; padding-left: 4px; }
.auth-links a:hover { text-decoration: underline; }

/* ── Spinner ── */
.spinner-border-sm {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-right-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Landing page ── */
.landing-header {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.landing-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--border-color);
    box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.08);
}

.landing-header .logo {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.02em;
}

.landing-header nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem 1.25rem;
}

.landing-header nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.landing-header nav a:hover { color: var(--text-primary); }

.landing-header .btn-login-ghost {
    color: var(--text-primary);
    font-weight: 600;
}

.landing-header .btn-login-solid {
    background: #000000;
    color: #fff;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s;
}

.landing-header .btn-login-solid:hover { background: #374151; color:#fff;}

/* ── Split Hero Section ── */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 72px);
    background: var(--bg-base);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 10%;
}

.hero-content h1 {
    font-size: clamp(36px, 4vw, 64px);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 24px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-content h1 strong {
    color: #4B5563;
}

.hero-content p {
    font-size: clamp(16px, 1.5vw, 18px);
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 0 40px;
    line-height: 1.6;
}

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

.btn-hero-solid {
    background: #000000;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-solid:hover {
    background: #374151;
}

.btn-hero-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-hero-ghost:hover {
    border-color: #000000;
    background: var(--bg-alt);
}

.hero-image {
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: hidden;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.1);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 992px) {
    .hero-split { grid-template-columns: 1fr; min-height: auto; }
    .hero-content { padding: 60px 5%; text-align: center; align-items: center; }
    .hero-content p { max-width: 100%; }
    .hero-image { padding: 20px 5% 60px; }
}

/* ── Features ── */
.features-section {
    padding: 100px 5%;
    background: var(--bg-base);
    border-top: 1px solid var(--border-color);
}

.features-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 64px;
    text-align: center;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.feature-card .icon {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 20px;
    width: 48px;
    height: 48px;
    background: var(--bg-alt);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

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

/* ── Assistente IA ── */
.ai-section {
    padding: 100px 5%;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.ai-container {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #111827;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
}

.ai-section h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.ai-section > .ai-container > p {
    font-size: 17px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
    max-width: 520px;
}

.ai-cta-card {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px 32px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.ai-cta-card:hover {
    border-color: #000;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}

.ai-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 12px;
}

.ai-cta-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.ai-cta-text strong {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}

.ai-cta-text span {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── CTA / Contato ── */
.cta-section {
    background: var(--bg-alt);
    padding: 100px 5%;
    border-top: 1px solid var(--border-color);
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 64px;
    align-items: center;
}

@media (max-width: 900px) {
    .cta-container { grid-template-columns: 1fr; gap: 40px; }
}

.cta-container h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 24px;
    letter-spacing: -0.02em;
}

.features-list-inline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.features-list-inline li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 16px;
    color: var(--text-muted);
}

.features-list-inline i {
    color: #111827;
    font-size: 20px;
    margin-top: -2px;
}

.cta-box {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.cta-box h3 {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.cta-box p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 32px;
}

.cta-box .btn-hero-solid {
    width: 100%;
    justify-content: center;
}

/* ── Footer ── */
.landing-footer {
    background: #FFFFFF;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    text-align: center;
    padding: 40px 32px;
    font-size: 14px;
}

.landing-footer a { color: var(--text-primary); text-decoration: none; font-weight: 500;}
.landing-footer a:hover { text-decoration: underline; }

/* ═══ Landing 2025 — dark hero, bento, motion ═══ */
.page-landing {
    background: var(--bg-base);
}

/* ── Hero dark ── */
.hero-dark {
    position: relative;
    min-height: min(100vh, 920px);
    padding: 0 0 0;
    background: var(--gradient-hero);
    color: var(--text-on-dark);
    overflow: hidden;
    --mx: 50%;
    --my: 40%;
}

.hero-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(700px circle at var(--mx) var(--my), rgba(34, 211, 238, 0.14), transparent 55%);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.2s;
}

.hero-dark__noise {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
    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");
    mix-blend-mode: overlay;
}

.hero-dark__grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
    opacity: 0.5;
}

.hero-dark__inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.5rem 5% 3rem;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 2.5rem;
    align-items: center;
    min-height: calc(min(100vh, 920px) - 72px);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin: 0 0 1.25rem;
}

.hero-eyebrow .pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5);
    animation: hero-pulse 2.4s ease-out infinite;
}

@keyframes hero-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.45); }
    50% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
}

.hero-dark h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin: 0 0 1.25rem;
    color: #fff;
}

.text-gradient {
    display: block;
    background: linear-gradient(120deg, #fff 0%, #a5f3fc 45%, var(--accent-amber) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.65;
    color: var(--text-dim);
    max-width: 32rem;
    margin: 0 0 1.75rem;
}

.hero-dark .hero-cta {
    margin-bottom: 2rem;
}

.hero-dark .btn-hero-solid {
    background: #fff;
    color: var(--ink-900);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}
.hero-dark .btn-hero-solid:hover {
    background: #e4e4e7;
    transform: translateY(-1px);
}
.hero-dark .btn-hero-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
}
.hero-dark .btn-hero-ghost:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.hero-kpis {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line-dark);
}

.hero-kpi {
    min-width: 7rem;
}
.hero-kpi__val {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.hero-kpi__label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 0.25rem;
}

.device-frame {
    position: relative;
    perspective: 1200px;
    border-radius: 1.25rem;
    will-change: transform;
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
}
.device-frame__glow {
    position: absolute;
    inset: -8%;
    background: radial-gradient(closest-side, rgba(34, 211, 238, 0.35), transparent 70%);
    z-index: 0;
    filter: blur(24px);
    pointer-events: none;
    border-radius: 50%;
}
.device-frame__inner {
    position: relative;
    z-index: 1;
    border-radius: 1.15rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.35) inset,
        0 32px 64px -16px rgba(0, 0, 0, 0.5);
    background: var(--ink-800);
}
.device-frame__inner img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
}

.hero-curve {
    display: block;
    width: 100%;
    height: auto;
    margin-top: -1px;
    color: #F4F4F5;
}

/* ── Marquee ── */
.marquee-section {
    background: #F4F4F5;
    padding: 1.25rem 0 1.5rem;
    border-bottom: 1px solid var(--border-color);
}
.marquee-label {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
}
.marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 2.5rem;
    padding-right: 2.5rem;
}
.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee-x 32s linear infinite;
}
@keyframes marquee-x {
    to { transform: translateX(-50%); }
}
.marquee__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #3f3f46;
    white-space: nowrap;
}
.marquee__item::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-amber));
    flex-shrink: 0;
}

/* ── Bento features ── */
.features-bento-wrap {
    padding: 5rem 5% 4rem;
    background: var(--bg-base);
    border-top: 1px solid var(--border-color);
}
.section-head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2.5rem;
}
.section-head h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.75rem;
    color: var(--text-primary);
}
.section-head p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.55;
}
.bento-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.1rem;
}
.bento-card {
    position: relative;
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem 1.35rem;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}
.bento-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from 200deg, transparent 60%, rgba(34, 211, 238, 0.35), transparent 85%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}
.bento-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.1);
}
.bento-card:hover::after {
    opacity: 1;
}
.bento-card--span-6 { grid-column: span 6; }
.bento-card--span-3 { grid-column: span 3; }
.bento-card--span-4 { grid-column: span 4; }
.bento-card--tall { min-height: 280px; }
.bento-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.6rem;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.9rem;
}
.bento-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.45rem;
    letter-spacing: -0.02em;
}
.bento-card p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
}
.bento-dash {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 0;
    overflow: hidden;
}
.bento-dash__inner {
    padding: 1.5rem 1.35rem 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.bento-dash h3 { padding-left: 0; }
.bento-dash p { padding-left: 0; }
.bento-dash__mock {
    margin-top: auto;
    display: flex;
    gap: 0.4rem;
    height: 120px;
    align-items: flex-end;
    padding: 1.25rem 1.25rem 1.35rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, #0f172a 32%);
    border-top: 1px solid var(--border-color);
}
.bento-bar {
    flex: 1;
    min-height: 1.2rem;
    background: linear-gradient(180deg, #22D3EE 0%, #0891B2 100%);
    border-radius: 4px 4px 0 0;
    transform-origin: bottom;
    transform: scaleY(0.35);
    animation: bar-grow 0.6s ease forwards;
}
.bento-bar:nth-child(1) { animation-delay: 0.05s; }
.bento-bar:nth-child(2) { animation-delay: 0.1s; }
.bento-bar:nth-child(3) { animation-delay: 0.15s; }
.bento-bar:nth-child(4) { animation-delay: 0.2s; }
.bento-bar:nth-child(5) { animation-delay: 0.25s; }
.bento-bar._amber { background: linear-gradient(180deg, #F59E0B, #D97706); }
@keyframes bar-grow { to { transform: scaleY(1); } }

/* ── How it works ── */
.how-it-works {
    padding: 4.5rem 5%;
    background: #FAFAFA;
    border-top: 1px solid var(--border-color);
}
.steps {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}
@media (min-width: 900px) {
    .steps::before {
        content: "";
        position: absolute;
        top: 2.25rem;
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(90deg, var(--accent-cyan), var(--accent-amber));
        opacity: 0.3;
    }
}
.step {
    text-align: center;
    position: relative;
    z-index: 1;
}
.step__num {
    display: inline-flex;
    width: 3.6rem;
    height: 3.6rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    background: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ink-800);
    border: 1px solid var(--border-color);
    margin: 0 auto 1.1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.step h3 { font-size: 1.1rem; font-weight: 800; margin: 0 0 0.5rem; }
.step p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* ── AI landing ── */
.ai-landing {
    position: relative;
    padding: 4.5rem 5% 4.5rem;
    background-color: #F5F5F7;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    border-top: 1px solid var(--border-color);
}
.ai-landing__box {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.ai-landing__card {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    padding: 1.5rem 1.75rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 1.1rem;
    text-decoration: none;
    color: inherit;
    max-width: 100%;
    box-shadow: 0 8px 32px -12px rgba(0, 0, 0, 0.1);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.ai-landing__card:hover {
    border-color: #0f172a;
    box-shadow: 0 16px 48px -20px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}
.ai-landing__preview {
    display: block;
    width: 100%;
    max-width: 520px;
    margin: 0.75rem auto 0;
    height: 140px;
    border-radius: 0.75rem;
    object-fit: cover;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* ── Testimonials ── */
.testimonials-landing {
    padding: 4.5rem 5%;
    background: var(--bg-base);
    border-top: 1px solid var(--border-color);
}
.t-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 1100px;
    margin: 2.5rem auto 0;
}
.t-card {
    background: #FAFAFA;
    border: 1px solid var(--border-color);
    border-radius: 0.9rem;
    padding: 1.35rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #374151;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.t-card p { margin: 0; flex: 1; }
.t-card cite {
    font-style: normal;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.trust-badges i {
    color: var(--text-primary);
    margin-right: 0.35rem;
    vertical-align: -0.1em;
}

/* ── CTA final dark ── */
.cta-final-landing {
    position: relative;
    padding: 4.5rem 5% 4.75rem;
    background: var(--gradient-hero);
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.cta-final-landing h2 {
    position: relative;
    z-index: 1;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.5rem;
}
.cta-final-landing > p {
    position: relative;
    z-index: 1;
    color: var(--text-dim);
    max-width: 32rem;
    margin: 0 auto 1.5rem;
    line-height: 1.5;
    font-size: 1.05rem;
}
.cta-final-landing .hero-cta {
    position: relative;
    z-index: 1;
    justify-content: center;
}
.btn-hero-solid--inverse {
    background: #fff;
    color: var(--ink-900) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.btn-hero-solid--inverse:hover {
    background: #e4e4e7;
}
.btn-hero-ghost--on-dark-cta {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}
.btn-hero-ghost--on-dark-cta:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

/* ── Footer v2 ── */
.landing-footer-v2 {
    background: #fff;
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 5% 1.5rem;
}
.landing-footer-v2__grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2rem 3rem;
}
.landing-footer-v2 h4 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin: 0 0 0.85rem;
    font-weight: 700;
}
.landing-footer-v2 a {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    margin: 0.4rem 0;
    font-weight: 500;
    transition: color 0.15s;
}
.landing-footer-v2 a:hover { color: var(--accent-amber); }
.landing-footer-v2__bot {
    max-width: 1100px;
    margin: 2.25rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.86rem;
    color: var(--text-muted);
}
.landing-footer-v2__bot a { display: inline; }
.landing-footer__brand p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0.75rem 0 0;
    max-width: 18rem;
}

/* ── Reveal on scroll ── */
.reveal {
    opacity: 0;
    transform: translateY(1.4rem);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive: landing 2025 ── */
@media (max-width: 1200px) {
    .bento-card--span-6 { grid-column: 1 / -1; }
    .bento-card--span-3 { grid-column: span 4; }
    .bento-card--tall { min-height: 240px; }
}

@media (max-width: 992px) {
    .landing-header { padding: 0 1rem 0 1.1rem; }
    .hero-dark__inner {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 1.5rem;
    }
    .hero-dark__copy { order: 2; text-align: center; }
    .hero-lead { margin-left: auto; margin-right: auto; }
    .hero-kpis { justify-content: center; }
    .hero-dark__visual { order: 1; }
    .t-grid { grid-template-columns: 1fr; }
    .how-it-works .steps { grid-template-columns: 1fr; }
    .bento-card--span-3,
    .bento-card--span-4,
    .bento-card--span-6 { grid-column: 1 / -1; }
    .landing-footer-v2__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .bento-bar { animation: none; transform: scaleY(0.5); }
    .landing-header nav a { font-size: 0.8rem; }
    .landing-header { padding: 0 0.75rem; }
    .hero-kpis { flex-direction: column; align-items: center; }
    .landing-footer-v2__grid { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .device-frame { transition: none; }
    .bento-bar { animation: none; transform: scaleY(0.55); }
    .marquee__track { animation: none; }
    .hero-eyebrow .pulse { animation: none; }
}
html.reduce-motion .marquee__track { animation: none; }
html.reduce-motion .device-frame { transition: none !important; }
