/* ============================================
   WELI PLAYBOOK - Design System
   Based on weli.com.br landing page aesthetic
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Colors - Dark Theme with Weli Palette accents */
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-card: rgba(255, 255, 255, 0.03);

    --accent-blue: #0071E3;
    --accent-blue-light: #2997ff;
    --accent-pink: #EC4899;
    --accent-gold: #EC4899;
    --accent-red: #EF4444;
    --accent-green: #0071E3;
    --accent-teal: #0071E3;
    --palette-dark: #435055;
    --palette-mid: #848C8E;
    --palette-warm: #BFB7B6;

    --text-primary: #F1F2EE;
    --text-secondary: #BFB7B6;
    --text-muted: #848C8E;
    --text-subtle: rgba(241, 242, 238, 0.2);

    --border-subtle: rgba(0, 113, 227, 0.08);
    --border-light: rgba(0, 113, 227, 0.15);

    /* Glow Effects */
    --glow-blue: 0 0 60px rgba(0, 113, 227, 0.18);
    --glow-blue-soft: 0 0 100px rgba(0, 113, 227, 0.08);
    --glow-pink: 0 0 60px rgba(236, 72, 153, 0.18);
    --gradient-text: linear-gradient(135deg, #0071E3 0%, #A855F7 50%, #EC4899 100%);
    --gradient-text-alt: linear-gradient(135deg, #EC4899 0%, #A855F7 50%, #0071E3 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter', sans-serif;

    /* Spacing */
    --sidebar-width: 280px;
    --sidebar-collapsed: 60px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms ease;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow: hidden;
    line-height: 1.6;
}

/* Background Glow Effect */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(67, 80, 85, 0.3) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   FLOATING WELI ICON
   ============================================ */
.weli-floating-icon {
    position: fixed;
    left: 24px;
    top: 24px;
    width: 48px;
    height: 48px;
    z-index: 200;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0;
    transform: translateY(-20px) scale(0.8);
}

.weli-floating-icon:hover {
    transform: scale(1.12);
}

.weli-5w2h-label {
    position: fixed;
    left: 76px;
    top: 24px;
    height: 48px;
    display: flex;
    align-items: center;
    z-index: 200;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0.5;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.weli-floating-icon img {
    width: 33px;
    height: 33px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    border-radius: 4px;
}

.weli-floating-icon:hover img {
    opacity: 1;
}

/* Sidebar hover zone — invisible box covering icon + sidebar */
.sidebar-hover-zone {
    position: fixed;
    left: 0;
    top: 0;
    width: 80px;
    height: 100vh;
    z-index: 150;
    pointer-events: none;
}

.weli-floating-icon:hover~.sidebar-hover-zone,
.sidebar-hover-zone:hover {
    pointer-events: auto;
}

/* ============================================
   SIDEBAR NAVIGATION (always collapsed)
   ============================================ */
.sidebar {
    position: fixed;
    left: 20px;
    top: 84px;
    bottom: 20px;
    width: var(--sidebar-collapsed);
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    z-index: 160;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    overflow: visible;
}

/* Show sidebar when hovering on icon or sidebar itself */
.weli-floating-icon:hover~.sidebar,
.sidebar-hover-zone:hover~.sidebar,
.sidebar:hover {
    opacity: 1;
    pointer-events: auto;
}

/* Staggered menu item animation */
.sidebar .menu-item {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.weli-floating-icon:hover~.sidebar .menu-item,
.sidebar-hover-zone:hover~.sidebar .menu-item,
.sidebar:hover .menu-item {
    opacity: 1;
    transform: translateY(0);
}

.sidebar .menu-item:nth-child(1) {
    transition-delay: 0.03s;
}

.sidebar .menu-item:nth-child(2) {
    transition-delay: 0.06s;
}

.sidebar .menu-item:nth-child(3) {
    transition-delay: 0.09s;
}

.sidebar .menu-item:nth-child(4) {
    transition-delay: 0.12s;
}

.sidebar .menu-item:nth-child(5) {
    transition-delay: 0.15s;
}

.sidebar .menu-item:nth-child(6) {
    transition-delay: 0.18s;
}

.sidebar .menu-item:nth-child(7) {
    transition-delay: 0.21s;
}

.sidebar .menu-item:nth-child(8) {
    transition-delay: 0.24s;
}

.sidebar .menu-item:nth-child(9) {
    transition-delay: 0.27s;
}

.sidebar .menu-item:nth-child(10) {
    transition-delay: 0.30s;
}

.sidebar .menu-item:nth-child(11) {
    transition-delay: 0.33s;
}

.sidebar .menu-item:nth-child(12) {
    transition-delay: 0.36s;
}

.sidebar .menu-item:nth-child(13) {
    transition-delay: 0.39s;
}

/* Menu items always in icon-only mode */
.menu-item-text,
.menu-section-title,
.menu-item-badge {
    display: none;
}

/* Page indicator dashes under menu icons */
.menu-page-indicators {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-top: 4px;
    padding: 0;
    width: 100%;
}

.page-indicator-bar {
    width: 10px;
    height: 2px;
    border-radius: 1px;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.15);
    transition: all var(--transition-fast);
    cursor: pointer;
    position: relative;
}

/* Invisible larger click target */
.page-indicator-bar::before {
    content: '';
    position: absolute;
    top: -8px;
    bottom: -8px;
    left: -3px;
    right: -3px;
}

.page-indicator-bar.active {
    background: var(--accent-blue);
    box-shadow: 0 0 8px rgba(0, 113, 227, 0.5);
}

.sidebar-menu {
    flex: 0 0 auto;
    overflow: visible;
    padding: 8px 0;
    list-style: none;
}

.sidebar-menu::-webkit-scrollbar {
    width: 4px;
}

.sidebar-menu::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-menu::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}

/* Menu Section */
.menu-section {
    margin-bottom: 8px;
}

.menu-section-title {
    padding: 12px 20px 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

/* Menu Item (icon-only, no box) */
.menu-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 7px 4px;
    gap: 2px;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.menu-item:hover .menu-item-icon {
    color: var(--text-primary);
}

.menu-item.active .menu-item-icon {
    color: var(--accent-blue);
}

.menu-item-icon {
    width: 20px;
    height: 20px;
    margin-right: 0;
    color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.menu-item-icon[data-tooltip] {
    overflow: visible;
}

/* Custom fast tooltip (replaces slow native title) */
.menu-item-icon[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(-4px);
    padding: 6px 12px;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: white;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 200;
}

.menu-item:hover .menu-item-icon[data-tooltip]::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.menu-item-text {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.menu-item.active .menu-item-text,
.menu-item:hover .menu-item-text {
    color: var(--text-primary);
}

/* Page Count Badge */
.menu-item-badge {
    margin-left: auto;
    font-size: 14px;
    color: var(--text-muted);
    background: var(--bg-card);
    padding: 2px 8px;
    border-radius: 10px;
}

.sidebar-footer {
    padding: 12px 16px;
    margin-top: auto;
    text-align: center;
}

.version {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.main-content {
    margin-left: 0;
    height: 100vh;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Section Container */
.section-container {
    height: 100vh;
    width: 100%;
    position: relative;
    display: none;
}

.section-container.active {
    display: block;
}

/* Pages Wrapper - Horizontal Scroll */
.pages-wrapper {
    display: flex;
    height: 100%;
    transition: transform var(--transition-slow);
}

/* Individual Page */
.page {
    min-width: 100%;
    height: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}

/* Non-deck pages that need padding */
.page>.page-header,
.page>.page-content {
    padding: 40px 80px 40px 100px;
}

/* Full-bleed: page-content must fill parent */
.page>.page-content {
    flex: 1;
    min-height: 0;
}

/* When page-header is hidden (full-bleed), remove page-content padding */
.page>.page-header[style*="display: none"]~.page-content {
    padding: 0;
}

/* Safe text padding — keeps text away from sidebar and edges */
.text-safe {
    padding-left: 100px;
    padding-right: 80px;
}

.page::-webkit-scrollbar {
    width: 6px;
}

.page::-webkit-scrollbar-track {
    background: transparent;
}

.page::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 6px;
}

/* Page Header */
.page-header {
    margin-bottom: 32px;
}

.page-tag {
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-blue);
    margin-bottom: 16px;
}

.page-title {
    font-size: 48px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 16px;
}

.page-title strong,
.page-title em {
    font-weight: 500;
}

.page-title em {
    font-style: italic;
    color: var(--accent-blue);
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 700px;
}

/* Page Content */
.page-content {
    flex: 1;
}

/* ============================================
   PAGE DOTS NAVIGATION
   ============================================ */
.page-dots {
    display: none;
}

.page-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.page-dot:hover {
    background: var(--text-secondary);
}

.page-dot.active {
    background: var(--accent-blue);
    width: 24px;
    border-radius: 4px;
}

/* ============================================
   ARROW NAVIGATION
   ============================================ */
.nav-arrows {
    position: fixed;
    z-index: 50;
}

.nav-arrow {
    position: fixed;
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-subtle);
    background: rgba(13, 17, 23, 0.9);
    color: var(--text-secondary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}

.nav-arrow:hover {
    background: rgba(0, 113, 227, 0.12);
    border-color: var(--accent-blue);
    color: var(--text-primary);
}

.nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-arrow-left {
    left: calc(var(--sidebar-collapsed) + 60px);
    top: 50%;
    transform: translateY(-50%);
}

.nav-arrow-right {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-arrow-up {
    right: 90px;
    top: 20px;
}

.nav-arrow-down {
    right: 90px;
    bottom: 100px;
}

/* ============================================
   TYPOGRAPHY UTILITIES
   ============================================ */
.text-blue {
    color: var(--accent-blue);
}

.text-gold {
    color: var(--accent-gold);
}

.text-red {
    color: var(--accent-red);
}

.text-green {
    color: var(--accent-green);
}

.text-muted {
    color: var(--text-muted);
}

.text-secondary {
    color: var(--text-secondary);
}

.font-light {
    font-weight: 300;
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* ============================================
   CONTENT COMPONENTS
   ============================================ */

/* Feature List */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-number {
    font-size: 16px;
    font-weight: 500;
    color: var(--accent-blue);
    min-width: 28px;
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 6px;
}

.feature-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Info Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.info-card {
    background: rgba(22, 27, 34, 0.6);
    border: 1px solid rgba(0, 113, 227, 0.06);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 113, 227, 0.15), transparent);
}

.info-card:hover {
    background: rgba(0, 113, 227, 0.04);
    border-color: rgba(0, 113, 227, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.info-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(67, 80, 85, 0.5);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-blue);
    font-size: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.info-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.info-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 32px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.comparison-table td {
    font-size: 16px;
}

.comparison-table .col-feature {
    width: 40%;
}

.comparison-table .col-premium {
    background: var(--bg-secondary);
    text-align: center;
}

.comparison-table .col-enterprise {
    background: rgba(0, 113, 227, 0.06);
    text-align: center;
}

.check-icon {
    color: var(--accent-green);
}

.x-icon {
    color: var(--text-muted);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-light);
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-blue);
    border: 2px solid var(--bg-primary);
}

.timeline-item h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.timeline-item p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.stat-item {
    text-align: center;
    padding: 24px;
}

.stat-value {
    font-size: 48px;
    font-weight: 600;
    color: var(--accent-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Image Container */
.image-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 24px 0;
}

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

.image-container.with-glow {
    box-shadow: var(--glow-blue);
}

/* Two Column Layout */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two-columns.reverse {
    direction: rtl;
}

.two-columns.reverse>* {
    direction: ltr;
}

/* App Mockup */
.app-mockup {
    position: relative;
    max-width: 280px;
    margin: 0 auto;
}

.app-mockup-frame {
    background: #1a1a1a;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.app-mockup-screen {
    background: #0a0a0a;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 9/19;
}

.app-mockup-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Quote Block */
.quote-block {
    border-left: 3px solid var(--accent-blue);
    padding-left: 24px;
    margin: 32px 0;
}

.quote-block p {
    font-size: 20px;
    font-weight: 300;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
}

.quote-block cite {
    display: block;
    margin-top: 16px;
    font-size: 16px;
    font-style: normal;
    color: var(--text-muted);
}

/* Decorative Background Number */
.bg-number {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 256px;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

/* Journey Flow */
.journey-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 32px 0;
}

.journey-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.journey-step:hover {
    border-color: var(--accent-blue);
}

.journey-step-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-blue);
}

.journey-step-text {
    font-size: 16px;
}

.journey-arrow {
    color: var(--text-muted);
    font-size: 14px;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
}

.tab {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab:hover {
    border-color: var(--accent-blue);
    color: var(--text-primary);
}

.tab.active {
    background: rgba(0, 113, 227, 0.1);
    border-color: var(--accent-blue);
    color: var(--text-primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Alert Box */
.alert-box {
    padding: 20px 24px;
    border-radius: var(--radius-md);
    margin: 24px 0;
}

.alert-box.warning {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.alert-box.info {
    background: rgba(67, 80, 85, 0.3);
    border: 1px solid rgba(0, 113, 227, 0.15);
}

.alert-box.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.alert-box-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-box p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Animated Background Blobs */
@keyframes blob-float {

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

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

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

    75% {
        transform: translate(10px, -10px) scale(1.02);
    }
}

.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
    animation: blob-float 20s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 113, 227, 0.08);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: rgba(67, 80, 85, 0.3);
    bottom: -150px;
    left: -150px;
    animation-delay: -7s;
}

/* ============================================
   COVER SLIDE
   ============================================ */
.cover-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cover-slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cover-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) saturate(0.7);
}

.cover-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(13, 17, 23, 0.85) 0%,
            rgba(13, 17, 23, 0.5) 40%,
            rgba(67, 80, 85, 0.4) 100%);
    z-index: 1;
}

.cover-slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 800px;
    padding: 0 60px;
}

.cover-slide-logo {
    width: 120px;
    margin-bottom: 48px;
    opacity: 0.9;
}

.cover-slide-title {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.cover-slide-title .accent {
    display: block;
    background: linear-gradient(135deg, #00E5FF 0%, #A855F7 50%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 6px;
    line-height: 1.15;
}

.cover-slide-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    line-height: 1.6;
    max-width: 560px;
    margin-bottom: 48px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 0, 0, 0.5);
}

.cover-slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: var(--accent-blue);
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 113, 227, 0.25);
    cursor: pointer;
    border: none;
}

.cover-slide-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 113, 227, 0.35);
}

.cover-slide-tagline {
    position: absolute;
    bottom: 48px;
    right: 60px;
    z-index: 2;
    text-align: right;
}

.cover-slide-tagline span {
    display: block;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Cover slide animations */
.page.animate-in .cover-slide-logo {
    animation: fadeInDown 0.6s ease both;
    animation-delay: 0.1s;
}

.page.animate-in .cover-slide-title {
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.2s;
}

.page.animate-in .cover-slide-subtitle {
    animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.4s;
}

.page.animate-in .cover-slide-cta {
    animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.6s;
}

.page.animate-in .cover-slide-tagline {
    animation: fadeInUp 0.5s ease both;
    animation-delay: 0.8s;
}

/* ============================================
   PITCH DECK LAYOUTS — Bold Typography Slides
   ============================================ */

/* Big Number Layout */
.deck-big-number {
    display: flex;
    align-items: center;
    gap: 60px;
    height: 100%;
}

.deck-big-number .big-num {
    font-size: 160px;
    font-weight: 800;
    line-height: 0.9;
    color: var(--text-primary);
    letter-spacing: -6px;
    flex-shrink: 0;
}

.deck-big-number .big-num .unit {
    font-size: 48px;
    font-weight: 300;
    color: var(--accent-blue);
    vertical-align: super;
    letter-spacing: 0;
}

.deck-big-number .big-num-desc {
    max-width: 480px;
}

.deck-big-number .big-num-desc h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.deck-big-number .big-num-desc p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Bold Statement Layout */
.deck-statement {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 0 40px;
}

.deck-statement h2 {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    max-width: 900px;
}

.deck-statement h2 .highlight {
    background: linear-gradient(135deg, #00E5FF 0%, #A855F7 50%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.deck-statement .statement-source {
    margin-top: 28px;
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 400;
}

/* Split Layout — Half/Half */
.deck-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    width: 100%;
    gap: 0;
    overflow: visible;
}

.deck-split-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
}

.deck-split-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    overflow: visible;
}

.photo-bw {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.deck-split-right:hover .photo-bw {
    filter: grayscale(0%);
}

.deck-split-left h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.deck-split-left p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Metric Cards Row */
.deck-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.deck-metric-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid rgba(0, 113, 227, 0.08);
    transition: all 0.3s ease;
}

.deck-metric-card:hover {
    border-color: rgba(0, 113, 227, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.deck-metric-card .metric-value {
    font-size: 56px;
    font-weight: 800;
    color: var(--accent-blue);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -2px;
}

.deck-metric-card .metric-unit {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.deck-metric-card .metric-label {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Founders / Team Layout */
.deck-team {
    display: flex;
    gap: 48px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.deck-team-photo {
    position: relative;
    flex-shrink: 0;
}

.deck-team-photo img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.deck-team-info {
    max-width: 500px;
}

.deck-team-info .team-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.deck-team-info .team-stat {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.deck-team-info .team-stat .stat-num {
    font-size: 72px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -3px;
}

.deck-team-info .team-stat .stat-label {
    font-size: 22px;
    color: var(--text-secondary);
    font-weight: 300;
}

/* App Mockup Glow */
.app-mockup-frame {
    position: relative;
}

.app-mockup-frame::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(70, 115, 180, 0.3) 0%, transparent 70%);
    border-radius: 50px;
    z-index: -1;
    animation: blob-float 15s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 1200px) {
    .page {
        padding: 40px 50px;
    }

    .page-title {
        font-size: 40px;
    }

    .two-columns {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .sidebar {
        width: var(--sidebar-collapsed);
    }

    .sidebar-menu-text,
    .menu-section-title,
    .menu-item-badge {
        display: none;
    }

    .menu-item {
        justify-content: center;
        padding: 16px;
    }

    .menu-item-icon {
        margin-right: 0;
    }

    .main-content {
        margin-left: 0;
    }

    .nav-arrow-left {
        left: 60px;
    }

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

@media (max-width: 768px) {
    .page {
        padding: 30px;
    }

    .page-title {
        font-size: 32px;
    }

    .bg-number {
        font-size: 160px;
    }
}

/* ══ Divã Chat Demo ══════════════════════════════ */
.diva-demo-container,
.alfred-demo-container {
    margin-top: 32px;
}

.diva-demo {
    max-width: 420px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.diva-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.15), rgba(45, 212, 191, 0.05));
    border-bottom: 1px solid var(--border-subtle);
}

.diva-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-teal), #0d9488);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(45, 212, 191, 0.3);
}

.diva-avatar i {
    font-size: 18px;
    color: white;
}

.diva-title {
    font-weight: 600;
    font-size: 15px;
}

.diva-status {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.diva-status-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
}

.diva-messages {
    height: 220px;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.diva-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
}

.diva-msg-bot {
    background: rgba(45, 212, 191, 0.12);
    color: var(--text-secondary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.diva-msg-user {
    background: rgba(70, 115, 180, 0.2);
    color: var(--text-primary);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.diva-typing {
    display: flex;
    gap: 4px;
    padding: 12px 18px;
}

.diva-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-teal);
    opacity: 0.4;
    animation: typingBounce 1.2s infinite;
}

.diva-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.diva-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {

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

    30% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

.diva-input-area {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.02);
}

.diva-input {
    flex: 1;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.diva-input:focus {
    border-color: var(--accent-teal);
}

.diva-input::placeholder {
    color: var(--text-muted);
}

.diva-send {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-teal), #0d9488);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(45, 212, 191, 0.3);
}

.diva-send:hover {
    transform: scale(1.05);
}

/* ══ Alfred IA Demo ══════════════════════════════ */
.alfred-demo {
    max-width: 480px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.alfred-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(70, 115, 180, 0.15), rgba(70, 115, 180, 0.05));
    border-bottom: 1px solid var(--border-subtle);
}

.alfred-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-blue), #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(70, 115, 180, 0.3);
}

.alfred-icon i {
    font-size: 18px;
    color: white;
}

.alfred-title {
    font-weight: 600;
    font-size: 15px;
}

.alfred-sub {
    font-size: 14px;
    color: var(--text-muted);
}

.alfred-refresh {
    margin-left: auto;
    width: 32px;
    height: 32px;
    background: rgba(70, 115, 180, 0.15);
    border: 1px solid rgba(70, 115, 180, 0.2);
    border-radius: 10px;
    color: var(--accent-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.alfred-refresh:hover {
    background: rgba(70, 115, 180, 0.25);
    transform: rotate(90deg);
}

.alfred-insights {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alfred-loading {
    text-align: center;
    padding: 32px;
    color: var(--text-muted);
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.alfred-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(70, 115, 180, 0.2);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.alfred-insight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    animation: insightSlide 0.4s ease forwards;
    opacity: 0;
    transform: translateX(-12px);
}

@keyframes insightSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alfred-insight-warning {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.alfred-insight-success {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.alfred-insight-info {
    background: rgba(70, 115, 180, 0.08);
    border: 1px solid rgba(70, 115, 180, 0.15);
}

.alfred-insight-emoji {
    font-size: 22px;
    line-height: 1;
}

.alfred-insight-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 2px;
}

.alfred-insight-detail {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ============================================
   ELEGANT PAGE ANIMATIONS
   ============================================ */

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 113, 227, 0.05);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 113, 227, 0.12);
    }
}

@keyframes borderGlow {

    0%,
    100% {
        border-color: rgba(0, 113, 227, 0.06);
    }

    50% {
        border-color: rgba(0, 113, 227, 0.18);
    }
}

/* Animation Classes — applied to page elements */
.page.animate-in .page-tag {
    animation: fadeInDown 0.5s ease both;
    animation-delay: 0.05s;
}

.page.animate-in .page-title {
    animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.12s;
}

.page.animate-in .page-subtitle {
    animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.22s;
}

.page.animate-in .page-content {
    animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.32s;
}

/* Staggered card animations */
.page.animate-in .info-card {
    animation: scaleIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page.animate-in .info-card:nth-child(1) {
    animation-delay: 0.3s;
}

.page.animate-in .info-card:nth-child(2) {
    animation-delay: 0.4s;
}

.page.animate-in .info-card:nth-child(3) {
    animation-delay: 0.5s;
}

.page.animate-in .info-card:nth-child(4) {
    animation-delay: 0.6s;
}

.page.animate-in .info-card:nth-child(5) {
    animation-delay: 0.7s;
}

.page.animate-in .info-card:nth-child(6) {
    animation-delay: 0.8s;
}

/* Staggered feature item animations */
.page.animate-in .feature-item {
    animation: slideInLeft 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page.animate-in .feature-item:nth-child(1) {
    animation-delay: 0.3s;
}

.page.animate-in .feature-item:nth-child(2) {
    animation-delay: 0.4s;
}

.page.animate-in .feature-item:nth-child(3) {
    animation-delay: 0.5s;
}

.page.animate-in .feature-item:nth-child(4) {
    animation-delay: 0.6s;
}

/* Timeline animation */
.page.animate-in .timeline-item {
    animation: slideInLeft 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page.animate-in .timeline-item:nth-child(1) {
    animation-delay: 0.3s;
}

.page.animate-in .timeline-item:nth-child(2) {
    animation-delay: 0.45s;
}

.page.animate-in .timeline-item:nth-child(3) {
    animation-delay: 0.6s;
}

.page.animate-in .timeline-item:nth-child(4) {
    animation-delay: 0.75s;
}

/* Stats animation */
.page.animate-in .stat-item {
    animation: scaleIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page.animate-in .stat-item:nth-child(1) {
    animation-delay: 0.3s;
}

.page.animate-in .stat-item:nth-child(2) {
    animation-delay: 0.4s;
}

.page.animate-in .stat-item:nth-child(3) {
    animation-delay: 0.5s;
}

.page.animate-in .stat-item:nth-child(4) {
    animation-delay: 0.6s;
}

/* Quote block animation */
.page.animate-in .quote-block {
    animation: slideInLeft 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.3s;
}

/* Alert box animation */
.page.animate-in .alert-box {
    animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.4s;
}

/* Image/slideshow animation */
.page.animate-in .gestao-slideshow,
.page.animate-in .image-container {
    animation: scaleIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.35s;
}

/* Journey flow animation */
.page.animate-in .journey-step {
    animation: fadeInUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page.animate-in .journey-step:nth-child(1) {
    animation-delay: 0.25s;
}

.page.animate-in .journey-step:nth-child(2) {
    animation-delay: 0.35s;
}

.page.animate-in .journey-step:nth-child(3) {
    animation-delay: 0.45s;
}

.page.animate-in .journey-step:nth-child(4) {
    animation-delay: 0.55s;
}

.page.animate-in .journey-step:nth-child(5) {
    animation-delay: 0.65s;
}

/* Subtle ongoing animations for active elements */
.info-card-icon {
    animation: glowPulse 4s ease-in-out infinite;
}

/* ============================================
   SMART OBJECT-LEVEL ENTRANCE ANIMATIONS
   Triggered by .page.animate-in
   ============================================ */

/* -- Additional keyframes -- */
@keyframes revealFromLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes revealFromRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes revealFromBottom {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@keyframes clipRevealUp {
    from {
        clip-path: inset(100% 0 0 0);
        opacity: 0;
    }

    to {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

@keyframes clipRevealLeft {
    from {
        clip-path: inset(0 100% 0 0);
        opacity: 0;
    }

    to {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }

    70% {
        opacity: 1;
        transform: scale(1.03);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes counterUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }

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

@keyframes drawLine {
    from {
        stroke-dashoffset: 2000;
    }

    to {
        stroke-dashoffset: 0;
    }
}

@keyframes softBreathe {

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

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

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes subtleGlow {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.06);
    }
}

@keyframes gentleFloat {

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

    33% {
        transform: translateY(-3px) rotate(0.3deg);
    }

    66% {
        transform: translateY(1px) rotate(-0.2deg);
    }
}

@keyframes tagSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
        letter-spacing: 0.6em;
    }

    to {
        opacity: 1;
        transform: translateX(0);
        letter-spacing: 0.2em;
    }
}

@keyframes numberRoll {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.85);
        filter: blur(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

/* ── Deck Split Slides ── */
.page.animate-in .deck-split-left {
    animation: revealFromLeft 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.1s;
}

.page.animate-in .deck-split-right {
    animation: revealFromRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.15s;
}

.page.animate-in .deck-split-left h2,
.page.animate-in .deck-split-right h2 {
    animation: numberRoll 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.35s;
}

.page.animate-in .deck-split-left p,
.page.animate-in .deck-split-right p {
    animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.5s;
}

.page.animate-in .deck-split-left span[style*="uppercase"],
.page.animate-in .deck-split-right span[style*="uppercase"] {
    animation: tagSlideIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.2s;
}

.page.animate-in .deck-split-left img:not([style*="absolute"]),
.page.animate-in .deck-split-right img:not([style*="absolute"]) {
    animation: popIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.6s;
}

/* ── Full-bleed slides (chart, big number, etc.) ── */
.page.animate-in div[style*="font-size: 80px"],
.page.animate-in div[style*="font-size: 96px"],
.page.animate-in div[style*="font-size: 64px"] {
    animation: numberRoll 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.2s;
}

/* ── SVG charts and curves ── */
.page.animate-in svg path:not([fill="none"]) {
    animation: clipRevealUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.3s;
}

.page.animate-in svg path[fill="none"] {
    stroke-dasharray: 2000;
    animation: drawLine 1.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.5s;
}

.page.animate-in svg circle {
    animation: popIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page.animate-in svg circle:nth-of-type(1) {
    animation-delay: 0.7s;
}

.page.animate-in svg circle:nth-of-type(2) {
    animation-delay: 0.8s;
}

.page.animate-in svg circle:nth-of-type(3) {
    animation-delay: 0.9s;
}

.page.animate-in svg circle:nth-of-type(4) {
    animation-delay: 1.0s;
}

.page.animate-in svg circle:nth-of-type(5) {
    animation-delay: 1.1s;
}

.page.animate-in svg circle:nth-of-type(6) {
    animation-delay: 1.15s;
}

.page.animate-in svg circle:nth-of-type(7) {
    animation-delay: 1.2s;
}

/* ── Pricing cards ── */
.page.animate-in div[style*="max-width: 380px"] {
    animation: revealFromBottom 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page.animate-in div[style*="max-width: 380px"]:nth-child(1) {
    animation-delay: 0.2s;
}

.page.animate-in div[style*="max-width: 380px"]:nth-child(2) {
    animation-delay: 0.35s;
}

.page.animate-in div[style*="max-width: 380px"]:nth-child(3) {
    animation-delay: 0.5s;
}

/* ── Pricing table panel ── */
.page.animate-in .pricing-table-panel {
    animation: revealFromLeft 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.55s;
}

/* ── Generic image containers (exclude slideshow items) ── */
.page.animate-in img[style*="object-fit: cover"]:not(.gestao-slide) {
    animation: clipRevealLeft 1s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.2s;
}

/* ── Pill tags & badges ── */
.page.animate-in div[style*="border-radius: 100px"],
.page.animate-in div[style*="MAIS POPULAR"] {
    animation: popIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.4s;
}

/* ── Gestao tabs ── */
.page.animate-in .gestao-tab-btn {
    animation: fadeInDown 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page.animate-in .gestao-tab-btn:nth-child(1) {
    animation-delay: 0.15s;
}

.page.animate-in .gestao-tab-btn:nth-child(2) {
    animation-delay: 0.25s;
}

.page.animate-in .gestao-tab-btn:nth-child(3) {
    animation-delay: 0.35s;
}

.page.animate-in .gestao-tab-btn:nth-child(4) {
    animation-delay: 0.45s;
}

/* ── iPhone frame ── */
.page.animate-in .iphone-outer {
    animation: revealFromBottom 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.25s;
}

/* ── Decision tree SVG ── */
.page.animate-in #dtreeSvg .dt-question[data-q="0"] {
    animation: popIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.15s;
}

.page.animate-in #dtreeSvg .dt-answer[data-q="0"] {
    animation: fadeInUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page.animate-in #dtreeSvg .dt-answer[data-q="0"][data-choice="0"] {
    animation-delay: 0.3s;
}

.page.animate-in #dtreeSvg .dt-answer[data-q="0"][data-choice="1"] {
    animation-delay: 0.4s;
}

.page.animate-in #dtreeSvg .dt-answer[data-q="0"][data-choice="2"] {
    animation-delay: 0.5s;
}

.page.animate-in #dtreeSvg .dt-line {
    stroke-dasharray: 800;
    animation: drawLine 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.1s;
}

/* ── Gratidão screen ── */
.page.animate-in h1[style*="Gratidão"],
.page.animate-in h1[style*="96px"] {
    animation: numberRoll 1s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.15s;
}

/* ── Ongoing subtle animations for visual life ── */
.page.animate-in .deck-split-right img[style*="absolute"] {
    animation: subtleGlow 6s ease-in-out infinite;
    animation-delay: 1s;
}

.page.animate-in .info-card {
    animation: scaleIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page.animate-in .info-card:hover {
    animation: none;
    transform: translateY(-4px) scale(1.02);
}

/* ── Logo animations ── */
.page.animate-in img[alt="Weli"] {
    animation: popIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.7s;
}

/* ── Gradients container (background blobs) ── */
.page.animate-in .gradients-container {
    animation: scaleIn 1.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0s;
}

/* ── INSS logo and source refs ── */
.page.animate-in img[alt="INSS"] {
    animation: popIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.8s;
}

/* ── Gestao slideshow images ── */
.page.animate-in .gestao-slideshow img {
    animation: clipRevealUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.4s;
}

/* ── iPhone slideshow arrows ── */
.page.animate-in .iphone-ss-arrow {
    animation: popIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.8s;
}

/* ── Micro-breathing for cards while visible ── */
.page.animate-in .info-card,
.page.animate-in .feature-item {
    will-change: transform;
}

/* Smooth page transition */
.pages-wrapper {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}


/* ============================================
   FULLSCREEN LIGHTBOX
   ============================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    animation: lightboxFadeIn 0.25s ease;
}

.lightbox-overlay img {
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.zoomable-img {
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zoomable-img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    backdrop-filter: blur(10px);
    transition: background 0.2s;
}

.lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    letter-spacing: 0.1em;
}

/* Accordion steps */
.acc-step:hover {
    background: rgba(255, 255, 255, 0.02);
}

.acc-step.open {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.12);
}

.acc-step.open .acc-detail {
    max-height: 100px !important;
}

.acc-step.open .fa-chevron-down {
    transform: rotate(180deg);
}

/* ── "Como se adequar?" slide entrance animations ── */

/* Left column entrance */
.page.animate-in div[style*="grid-template-columns"]>div:first-child {
    animation: revealFromLeft 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.05s;
}

/* Tag text */
.page.animate-in div[style*="grid-template-columns"] span[style*="uppercase"] {
    animation: tagSlideIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.2s;
}

/* Title */
.page.animate-in div[style*="grid-template-columns"] h2 {
    animation: numberRoll 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.3s;
}

/* Subtitle paragraph */
.page.animate-in div[style*="grid-template-columns"]>div:first-child>div:first-child>p {
    animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.45s;
}

/* Accordion steps — staggered cascade */
.page.animate-in .acc-step {
    opacity: 0;
    transform: translateY(20px) translateX(-20px);
    animation: accStepReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page.animate-in .acc-step:nth-child(1) {
    animation-delay: 0.45s;
}

.page.animate-in .acc-step:nth-child(2) {
    animation-delay: 0.55s;
}

.page.animate-in .acc-step:nth-child(3) {
    animation-delay: 0.65s;
}

.page.animate-in .acc-step:nth-child(4) {
    animation-delay: 0.75s;
}

.page.animate-in .acc-step:nth-child(5) {
    animation-delay: 0.85s;
}

@keyframes accStepReveal {
    from {
        opacity: 0;
        transform: translateY(20px) translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

/* Step number circles — subtle glow pulse after reveal */
.page.animate-in .acc-step span[style*="border-radius: 50%"] {
    animation: accStepReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) both,
        stepNumberPulse 2.5s ease-in-out 1.2s infinite;
}

@keyframes stepNumberPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(45, 212, 191, 0);
    }

    50% {
        box-shadow: 0 0 12px 2px rgba(45, 212, 191, 0.2);
    }
}

/* Right column — flip cards entrance */
.page.animate-in div[style*="grid-template-columns"]>div:last-child {
    animation: revealFromRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.15s;
}

.page.animate-in .card-flip-container:nth-child(1) {
    animation: cardSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.5s;
}

.page.animate-in .card-flip-container:nth-child(2) {
    animation: cardSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.7s;
}

@keyframes cardSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.92) rotateX(8deg);
    }

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

/* Gradient text utility */
.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Trail Card Component */
.trail-card {
    width: 100%;
    max-width: 340px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
    cursor: pointer;
}

.trail-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.14);
}

.trail-card-image {
    position: relative;
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.trail-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.trail-card:hover .trail-card-image img {
    transform: scale(1.06);
}

.trail-card-image .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

.trail-card-image .card-header {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
}

.trail-card-body {
    padding: 20px 22px 24px;
}

.trail-card-separator {
    height: 1px;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    margin: 16px 0;
}

.trail-card-stats {
    display: flex;
    justify-content: space-between;
}

.trail-card-stat-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}

.trail-card-stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Animated Gradient Background */
.animated-gradient-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: linear-gradient(40deg, rgb(5, 12, 20), rgb(10, 25, 35));
    z-index: 0;
}

.animated-gradient-bg .gradients-container {
    position: absolute;
    inset: 0;
    filter: url(#blurMe) blur(40px);
}

.animated-gradient-bg .g1,
.animated-gradient-bg .g2,
.animated-gradient-bg .g3,
.animated-gradient-bg .g4,
.animated-gradient-bg .g5 {
    position: absolute;
    width: 70%;
    height: 70%;
    top: calc(50% - 35%);
    left: calc(50% - 35%);
    mix-blend-mode: hard-light;
    border-radius: 50%;
    opacity: 0.8;
}

.animated-gradient-bg .g1 {
    background: radial-gradient(circle at center, rgba(0, 113, 227, 0.8) 0, rgba(0, 113, 227, 0) 50%) no-repeat;
    transform-origin: center center;
    animation: animGrad1 8s ease infinite;
}

.animated-gradient-bg .g2 {
    background: radial-gradient(circle at center, rgba(236, 72, 153, 0.7) 0, rgba(236, 72, 153, 0) 50%) no-repeat;
    transform-origin: calc(50% - 400px);
    animation: animGrad2 8s ease infinite;
}

.animated-gradient-bg .g3 {
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.7) 0, rgba(168, 85, 247, 0) 50%) no-repeat;
    transform-origin: calc(50% + 400px);
    animation: animGrad3 10s ease infinite;
}

.animated-gradient-bg .g4 {
    background: radial-gradient(circle at center, rgba(236, 72, 153, 0.6) 0, rgba(236, 72, 153, 0) 50%) no-repeat;
    transform-origin: calc(50% - 200px);
    animation: animGrad4 12s ease infinite;
    opacity: 0.5;
}

.animated-gradient-bg .g5 {
    background: radial-gradient(circle at center, rgba(0, 113, 227, 0.6) 0, rgba(0, 113, 227, 0) 50%) no-repeat;
    transform-origin: calc(50% - 800px) calc(50% + 800px);
    animation: animGrad5 14s ease infinite;
}

@keyframes animGrad1 {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animGrad2 {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(-180deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

@keyframes animGrad3 {
    0% {
        transform: rotate(0deg) translateX(0);
    }

    33% {
        transform: rotate(120deg) translateX(50px);
    }

    66% {
        transform: rotate(240deg) translateX(-50px);
    }

    100% {
        transform: rotate(360deg) translateX(0);
    }
}

@keyframes animGrad4 {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(90deg) scale(1.2);
    }

    100% {
        transform: rotate(0deg) scale(1);
    }
}

@keyframes animGrad5 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Pin Card 3D Effect */
.pin-card-wrapper {
    position: relative;
    perspective: 800px;
    cursor: pointer;
}

.pin-card {
    position: relative;
    padding: 32px 28px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.5s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.pin-card-wrapper:hover .pin-card {
    transform: rotateX(-8deg) rotateY(4deg) translateY(-8px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 60px rgba(0, 229, 255, 0.12), 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Glow beam below card */
.pin-card-beam {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 0px;
    background: linear-gradient(to bottom, rgba(0, 229, 255, 0.6), transparent);
    transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    filter: blur(1px);
    pointer-events: none;
}

.pin-card-beam::before {
    display: none;
}

/* Glowing icon at beam bottom */
.pin-beam-icon {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) scale(0.5);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(13, 17, 23, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    animation: beamIconPulse 2s ease-in-out infinite;
    animation-play-state: paused;
}

.pin-card-wrapper:hover .pin-beam-icon {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    animation-play-state: running;
}

@keyframes beamIconPulse {

    0%,
    100% {
        box-shadow: 0 0 8px currentColor, 0 0 16px currentColor;
    }

    50% {
        box-shadow: 0 0 16px currentColor, 0 0 32px currentColor;
    }
}

.pin-card-wrapper:hover .pin-card-beam {
    height: 40px;
}

.pin-card-wrapper:hover .pin-card-beam::before {
    opacity: 1;
}

/* Ripple rings */
.pin-card-ripple {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pin-card-wrapper:hover .pin-card-ripple {
    opacity: 1;
}

.pin-card-ripple .ripple-ring {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.06);
    animation: pinRipple 3s ease-out infinite;
}

.pin-card-ripple .ripple-ring:nth-child(2) {
    animation-delay: 1s;
}

.pin-card-ripple .ripple-ring:nth-child(3) {
    animation-delay: 2s;
}

@keyframes pinRipple {
    0% {
        transform: translate(-50%, 50%) scale(0);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, 50%) scale(3);
        opacity: 0;
    }
}

/* Card top glow on hover */
.pin-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pin-card-wrapper:hover .pin-card::after {
    opacity: 1;
}

/* ── Card Flip Effect ── */
.card-flip-container {
    perspective: 2000px;
    position: relative;
    cursor: pointer;
}

.card-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-flip-container:hover .card-flip-inner {
    transform: rotateY(180deg);
}

.card-flip-front,
.card-flip-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    padding: 24px;
}

.card-flip-front {
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-flip-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Animated code lines on front */
.card-flip-code-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0.3;
}

.card-flip-code-line {
    height: 4px;
    border-radius: 2px;
    animation: flipSlideIn 2.5s ease-in-out infinite;
    opacity: 0;
}

@keyframes flipSlideIn {
    0% {
        transform: translateX(-60px);
        opacity: 0;
    }

    40% {
        transform: translateX(0);
        opacity: 0.8;
    }

    100% {
        transform: translateX(60px);
        opacity: 0;
    }
}

/* Flip card glow border on hover */
.card-flip-container:hover .card-flip-front,
.card-flip-container:hover .card-flip-back {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Back content reveal animation */
.card-flip-back .flip-reveal-item {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.card-flip-container:hover .card-flip-back .flip-reveal-item {
    opacity: 1;
    transform: translateX(0);
}

.card-flip-container:hover .card-flip-back .flip-reveal-item:nth-child(1) {
    transition-delay: 0.25s;
}

.card-flip-container:hover .card-flip-back .flip-reveal-item:nth-child(2) {
    transition-delay: 0.35s;
}

.card-flip-container:hover .card-flip-back .flip-reveal-item:nth-child(3) {
    transition-delay: 0.45s;
}

.card-flip-container:hover .card-flip-back .flip-reveal-item:nth-child(4) {
    transition-delay: 0.55s;
}

.card-flip-container:hover .card-flip-back .flip-reveal-item:nth-child(5) {
    transition-delay: 0.65s;
}

/* ============================================
   GESTÃO NAV BAR - Arrow Navigation
   ============================================ */
.gestao-nav-bar {
    position: absolute;
    bottom: 28px;
    right: 28px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gestao-tabs-row {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 5px;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
}

.gestao-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.gestao-tab:hover {
    color: rgba(255, 255, 255, 0.85);
}

.gestao-tab.active {
    background: var(--accent-blue);
    color: #0d1117;
    font-weight: 700;
}

/* Arrow buttons */
.gestao-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.gestao-arrow:hover {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Dot indicators */
.gestao-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 6px;
    align-items: center;
}

.gestao-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gestao-dot.active {
    background: var(--accent-blue);
    width: 18px;
    border-radius: 3px;
}

/* ============================================
   MATURITY MATRIX QUIZ — Fullscreen Cards
   ============================================ */

/* Main container - split layout */
.mq-container {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 300px 1fr;
    overflow: hidden;
}

/* Left panel */
.mq-left {
    padding: 60px 36px 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
}

/* Progress steps - vertical */
.mq-progress {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
}

.mq-progress-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.mq-step {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.06);
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.mq-step.active {
    background: var(--accent-teal);
    border-color: var(--accent-teal);
    color: #0d1117;
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.25);
}

.mq-step.done {
    background: rgba(45, 212, 191, 0.12);
    border-color: var(--accent-teal);
    color: var(--accent-teal);
}

.mq-step-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.2);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.mq-progress-row:has(.mq-step.active) .mq-step-label {
    color: var(--text-secondary);
}

.mq-progress-row:has(.mq-step.done) .mq-step-label {
    color: var(--accent-teal);
}

.mq-step-line {
    width: 2px;
    height: 20px;
    background: rgba(255, 255, 255, 0.04);
    margin-left: 15px;
    position: relative;
    overflow: hidden;
}

.mq-step-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--accent-teal);
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mq-step-line.done .mq-step-line-fill {
    height: 100%;
}

/* Right panel — stage (scrollable, all questions visible) */
.mq-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 40px 60px 40px 48px;
}

/* Each question — flow layout, always visible */
.mq-question {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: opacity 0.35s ease;
}

.mq-question:last-of-type {
    border-bottom: none;
}

.mq-question.active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.mq-question.exit {
    opacity: 0.35;
    transform: none;
    pointer-events: none;
}

.mq-q-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mq-q-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.2);
    color: var(--accent-teal);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

.mq-q-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 14px;
    max-width: 600px;
}

/* Choice cards — horizontal row, compact */
.mq-cards-row {
    display: flex;
    gap: 8px;
}

.mq-choice {
    flex: 1;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    min-height: 0;
}

.mq-choice:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.mq-choice-icon {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.mq-choice:hover .mq-choice-icon {
    color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.mq-choice.selected .mq-choice-icon {
    color: var(--accent-teal);
    transform: scale(1.15);
}

.mq-choice-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.4;
    transition: color 0.2s ease;
}

.mq-choice:hover .mq-choice-text {
    color: var(--text-primary);
}

.mq-choice.selected {
    background: rgba(45, 212, 191, 0.06);
    border-color: rgba(45, 212, 191, 0.25);
    box-shadow: 0 0 30px rgba(45, 212, 191, 0.1);
}

.mq-choice.selected .mq-choice-text {
    color: var(--text-primary);
    font-weight: 600;
}

.mq-choice.disabled {
    opacity: 0.25;
    pointer-events: none;
}

/* Result view — at the bottom of the scrollable area */
.mq-result-view {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mq-result-view.visible {
    opacity: 1;
    max-height: 600px;
    pointer-events: auto;
}

/* Maturity bar */
.maturity-bar-track {
    width: 100%;
    height: 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
    margin: 12px 0;
}

.maturity-bar-fill {
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(90deg, #EF4444, #f97316, #FBBF24, var(--accent-teal), var(--accent-lime));
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}

.maturity-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
}

.maturity-labels span {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Restart button */
.matriz-restart {
    margin-top: 20px;
    padding: 10px 24px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.matriz-restart:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

/* ============================================
   PRICING TABLE EXPANSION
   ============================================ */
.pricing-table-panel {
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: stretch;
}

.pricing-table-panel.open {
    max-width: 380px;
    opacity: 1;
}

.pricing-table-inner {
    padding: 36px 32px;
    min-width: 320px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pricing-table-inner table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table-inner th {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: left;
    padding: 0 0 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-table-inner th:last-child {
    text-align: right;
}

.pricing-table-inner td {
    font-size: 16px;
    color: var(--text-secondary);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.pricing-table-inner td:last-child {
    text-align: right;
    font-weight: 700;
    color: var(--accent-lime);
}

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

/* ============================================
   COST DISTRIBUTION - 3D GLASSMORPHISM BLOCKS
   ============================================ */
.cost-distribution-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 40px 80px 40px 100px;
}

.cost-distribution-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 60%, rgba(30, 60, 90, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 30% 40%, rgba(80, 40, 120, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(45, 212, 191, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.cost-distribution-title {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.cost-distribution-title h2 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -2px;
    color: var(--text-primary);
}

.cost-distribution-title p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-top: 10px;
}

/* 3D Perspective Wrapper */
.cost-blocks-perspective {
    perspective: 1200px;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 920px;
}

.cost-blocks-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(6, 56px);
    gap: 6px;
    transform: rotateX(12deg) rotateY(-3deg) rotateZ(1deg);
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.cost-blocks-grid:hover {
    transform: rotateX(6deg) rotateY(-1deg) rotateZ(0.5deg);
}

/* Base block style — starts DARK */
.cost-block {
    position: relative;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transform-style: preserve-3d;
    transform: translateZ(0);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease,
        filter 0.5s ease;
    overflow: hidden;
    opacity: 0;
    animation: costBlockAppear 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    /* Dark by default */
    filter: brightness(0.18) saturate(0.3);
}

.cost-block::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
    z-index: 2;
    transition: border-color 0.4s ease;
}

.cost-block::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Hover — preview the colors temporarily */
.cost-block:hover {
    transform: translateZ(12px) scale(1.02);
    filter: brightness(0.65) saturate(0.7);
}

.cost-block:hover::before {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Revealed — full color on click */
.cost-block.revealed {
    opacity: 1 !important;
    filter: brightness(1) saturate(1);
    cursor: default;
}

.cost-block.revealed::before {
    border-color: rgba(255, 255, 255, 0.12);
}

.cost-block.revealed:hover {
    transform: translateZ(20px) scale(1.03);
    filter: brightness(1.05) saturate(1.1);
}

/* Hide shimmer on non-revealed blocks */
.cost-block .shimmer {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cost-block.revealed .shimmer {
    opacity: 1;
}

.cost-block-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    z-index: 3;
    position: relative;
}

.cost-block-value {
    font-size: 20px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 3;
    position: relative;
    letter-spacing: -0.5px;
}

.cost-block-icon {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.85);
    z-index: 3;
    position: relative;
    margin-bottom: 4px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* ─── Block Colors ─── */
/* DESENVOLVIMENTO - Blue */
.cost-block--dev {
    grid-column: 1 / 7;
    grid-row: 1 / 4;
    background: linear-gradient(145deg, rgba(30, 100, 200, 0.35) 0%, rgba(20, 60, 140, 0.25) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(30, 100, 200, 0.2),
        inset 0 1px 0 rgba(100, 180, 255, 0.15),
        0 0 0 1px rgba(30, 100, 200, 0.1);
    animation-delay: 0.1s;
}

.cost-block--dev:hover {
    box-shadow: 0 12px 48px rgba(30, 100, 200, 0.35),
        inset 0 1px 0 rgba(100, 180, 255, 0.2),
        0 0 40px rgba(30, 100, 200, 0.15);
}

/* PARCEIRO - Gold / Amber */
.cost-block--partner {
    grid-column: 7 / 10;
    grid-row: 1 / 4;
    background: linear-gradient(145deg, rgba(200, 160, 40, 0.35) 0%, rgba(160, 120, 20, 0.25) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(200, 160, 40, 0.2),
        inset 0 1px 0 rgba(255, 220, 100, 0.2),
        0 0 0 1px rgba(200, 160, 40, 0.1);
    animation-delay: 0.2s;
}

.cost-block--partner:hover {
    box-shadow: 0 12px 48px rgba(200, 160, 40, 0.35),
        inset 0 1px 0 rgba(255, 220, 100, 0.25),
        0 0 60px rgba(200, 160, 40, 0.2);
}

.cost-block--partner.revealed .cost-block-icon {
    animation: partnerGlow 3s ease-in-out infinite;
}

@keyframes partnerGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(200, 160, 40, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(255, 200, 50, 0.6));
    }
}

/* MARKETING - Teal */
.cost-block--marketing {
    grid-column: 10 / 12;
    grid-row: 1 / 3;
    background: linear-gradient(145deg, rgba(30, 150, 160, 0.35) 0%, rgba(20, 100, 120, 0.25) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(30, 150, 160, 0.2),
        inset 0 1px 0 rgba(80, 220, 230, 0.15),
        0 0 0 1px rgba(30, 150, 160, 0.1);
    animation-delay: 0.3s;
}

/* SUPORTE - Green */
.cost-block--support {
    grid-column: 12 / 13;
    grid-row: 1 / 3;
    background: linear-gradient(145deg, rgba(40, 160, 80, 0.3) 0%, rgba(30, 120, 60, 0.2) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(40, 160, 80, 0.15),
        inset 0 1px 0 rgba(100, 220, 140, 0.12),
        0 0 0 1px rgba(40, 160, 80, 0.1);
    animation-delay: 0.35s;
}

/* VENDAS */
.cost-block--sales {
    grid-column: 10 / 12;
    grid-row: 3 / 5;
    background: linear-gradient(145deg, rgba(30, 120, 140, 0.35) 0%, rgba(20, 80, 100, 0.25) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(30, 120, 140, 0.15),
        inset 0 1px 0 rgba(60, 200, 220, 0.12),
        0 0 0 1px rgba(30, 120, 140, 0.1);
    animation-delay: 0.4s;
}

/* LUCRO - Gold glow */
.cost-block--profit {
    grid-column: 12 / 13;
    grid-row: 3 / 5;
    background: linear-gradient(145deg, rgba(190, 160, 30, 0.3) 0%, rgba(140, 120, 20, 0.2) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(190, 160, 30, 0.2),
        inset 0 1px 0 rgba(255, 230, 80, 0.15),
        0 0 0 1px rgba(190, 160, 30, 0.1);
    animation-delay: 0.45s;
}

.cost-block--profit:hover {
    box-shadow: 0 12px 48px rgba(200, 170, 30, 0.35),
        inset 0 1px 0 rgba(255, 230, 80, 0.2),
        0 0 40px rgba(200, 170, 30, 0.15);
}

/* IMPOSTOS - Purple */
.cost-block--taxes {
    grid-column: 1 / 5;
    grid-row: 4 / 7;
    background: linear-gradient(145deg, rgba(100, 40, 160, 0.3) 0%, rgba(60, 20, 120, 0.2) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(100, 40, 160, 0.2),
        inset 0 1px 0 rgba(160, 100, 230, 0.12),
        0 0 0 1px rgba(100, 40, 160, 0.1);
    animation-delay: 0.15s;
}

/* INFRAESTRUTURA - Teal */
.cost-block--infra {
    grid-column: 5 / 10;
    grid-row: 4 / 6;
    background: linear-gradient(145deg, rgba(20, 140, 140, 0.35) 0%, rgba(10, 100, 110, 0.25) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(20, 140, 140, 0.2),
        inset 0 1px 0 rgba(60, 220, 220, 0.12),
        0 0 0 1px rgba(20, 140, 140, 0.1);
    animation-delay: 0.25s;
}

/* ESCRITÓRIO */
.cost-block--office {
    grid-column: 10 / 12;
    grid-row: 5 / 7;
    background: linear-gradient(145deg, rgba(30, 120, 140, 0.3) 0%, rgba(20, 80, 100, 0.2) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(30, 120, 140, 0.12),
        inset 0 1px 0 rgba(60, 200, 220, 0.1),
        0 0 0 1px rgba(30, 120, 140, 0.08);
    animation-delay: 0.5s;
}

/* HR */
.cost-block--hr {
    grid-column: 12 / 13;
    grid-row: 5 / 7;
    background: linear-gradient(145deg, rgba(180, 180, 190, 0.2) 0%, rgba(140, 140, 150, 0.12) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(180, 180, 190, 0.1),
        inset 0 1px 0 rgba(220, 220, 230, 0.1),
        0 0 0 1px rgba(180, 180, 190, 0.08);
    animation-delay: 0.55s;
}

/* JURÍDICO */
.cost-block--legal {
    grid-column: 5 / 8;
    grid-row: 6 / 7;
    background: linear-gradient(145deg, rgba(20, 130, 130, 0.3) 0%, rgba(10, 90, 100, 0.2) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(20, 130, 130, 0.12),
        inset 0 1px 0 rgba(60, 200, 200, 0.1),
        0 0 0 1px rgba(20, 130, 130, 0.08);
    animation-delay: 0.5s;
}

/* CONTABILIDADE */
.cost-block--accounting {
    grid-column: 8 / 10;
    grid-row: 6 / 7;
    background: linear-gradient(145deg, rgba(180, 180, 190, 0.18) 0%, rgba(140, 140, 150, 0.1) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(180, 180, 190, 0.08),
        inset 0 1px 0 rgba(220, 220, 230, 0.08),
        0 0 0 1px rgba(180, 180, 190, 0.06);
    animation-delay: 0.55s;
}

/* Entrance animation */
@keyframes costBlockAppear {
    0% {
        opacity: 0;
        transform: translateZ(-40px) scale(0.92);
    }

    100% {
        opacity: 1;
        transform: translateZ(0) scale(1);
    }
}

/* Shimmer effect on blocks */
.cost-block .shimmer {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: linear-gradient(110deg,
            transparent 20%,
            rgba(255, 255, 255, 0.04) 40%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.04) 60%,
            transparent 80%);
    background-size: 200% 100%;
    animation: shimmerSlide 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes shimmerSlide {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Small blocks text sizing */
.cost-block--small .cost-block-label {
    font-size: 12px;
    letter-spacing: 0.08em;
}

.cost-block--small .cost-block-value {
    font-size: 16px;
}

/* Bottom callout */
.cost-distribution-footer {
    margin-top: 24px;
    padding: 14px 22px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.cost-distribution-footer span {
    font-size: 16px;
    color: var(--text-secondary);
}

.cost-distribution-footer strong {
    color: var(--text-primary);
}

/* ============================================
   TEMAS & CURSOS EXPLORER
   ============================================ */

/* Custom scrollbar for the explorer */
#tcContent::-webkit-scrollbar {
    width: 4px;
}
#tcContent::-webkit-scrollbar-track {
    background: transparent;
}
#tcContent::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}
#tcContent::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Theme card in grid */
.tc-theme-card {
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.tc-theme-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(224, 64, 251, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tc-theme-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(224, 64, 251, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.tc-theme-card:hover::before {
    opacity: 1;
}

.tc-theme-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
    position: relative;
    z-index: 1;
}

.tc-theme-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.tc-theme-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tc-theme-count {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 1px;
}

.tc-theme-chevron {
    color: var(--text-muted);
    font-size: 11px;
    transition: all 0.25s ease;
    position: relative;
    z-index: 1;
}

.tc-theme-card:hover .tc-theme-chevron {
    color: #E040FB;
    transform: translateX(3px);
}

/* Back button */
.tc-back-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 13px;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    transition: color 0.2s ease;
}

.tc-back-btn:hover {
    color: var(--text-primary);
}

/* Course item */
.tc-course-item {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    opacity: 0;
    transform: translateY(8px);
    animation: tcCourseAppear 0.35s ease forwards;
}

.tc-course-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

@keyframes tcCourseAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Theme card stagger entrance */
.tc-theme-card {
    opacity: 0;
    transform: translateY(10px);
    animation: tcThemeAppear 0.4s ease forwards;
}

@keyframes tcThemeAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}