/* =========================================
   KREVIA - Page-Specific Styles
   ========================================= */

/* DASHBOARD */
.greeting { margin-bottom: 1.5rem; }
.greeting h1 { font-size: 1.75rem; font-weight: 800; }
.greeting .date { color: var(--text-secondary); font-size: .9rem; margin-top: .25rem; }
.current-task-card { background: linear-gradient(135deg, var(--accent-light), var(--bg-card)); border: 1px solid var(--accent); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1.5rem; transition: box-shadow .3s, border-color .3s; }
.current-task-card.timer-active { border-color: var(--accent); box-shadow: 0 0 20px rgba(200, 255, 0, .15), 0 0 40px rgba(200, 255, 0, .05); animation: timer-pulse 2s ease-in-out infinite; }
.current-task-card.done { opacity: .6; border-color: var(--green); }
@keyframes timer-pulse { 0%, 100% { box-shadow: 0 0 20px rgba(200, 255, 0, .1); } 50% { box-shadow: 0 0 30px rgba(200, 255, 0, .25); } }
.current-task-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.current-task-label { font-size: .75rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; }
.current-task-check { display: flex; align-items: center; gap: .35rem; font-size: .8rem; color: var(--text-secondary); cursor: pointer; }
.current-task-check input { cursor: pointer; }
.current-task-name { font-size: 1.2rem; font-weight: 700; }
.current-task-name.line-through { text-decoration: line-through; opacity: .5; }
.current-task-time { font-size: .85rem; color: var(--text-secondary); margin-top: .25rem; }
.current-task-actions { display: flex; align-items: center; gap: .75rem; margin-top: .75rem; }
.current-task-btn { background: var(--accent); color: var(--accent-text); border: none; }
.current-task-btn.running { background: var(--yellow); color: #000; }
.current-task-timer { font-size: 1.1rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.current-task-timer.running { color: var(--accent); }
.current-task-timer.paused { color: var(--yellow); }

/* DASHBOARD - Progress Bar */
.progress-bar-container {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}
.progress-bar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .5rem;
}
.progress-bar-label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: .4rem;
}
.progress-bar-label i { color: var(--accent); }
.progress-bar-value {
    font-size: .8rem;
    font-weight: 700;
    color: var(--accent);
}
.progress-bar-track {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--green));
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* DASHBOARD - Stat card gradient borders */
.stat-card {
    border-left: 3px solid var(--accent);
}
.stat-card:nth-child(2) { border-left-color: var(--yellow); }
.stat-card:nth-child(3) { border-left-color: var(--green); }
.stat-card:nth-child(4) { border-left-color: var(--red); }

/* DASHBOARD TABS */
.dash-tabs { display: flex; gap: 2px; background: var(--bg-tertiary); border-radius: var(--radius-md); padding: 3px; margin-bottom: 1.25rem; }
.dash-tab { flex: 1; padding: .6rem; border: none; background: transparent; color: var(--text-secondary); font-size: .85rem; font-weight: 600; cursor: pointer; border-radius: var(--radius-sm); transition: var(--transition); font-family: inherit; text-align: center; }
.dash-tab.active { background: var(--accent); color: var(--accent-text); }

/* TIMELINE ITEM */
.timeline-item { display: flex; align-items: flex-start; gap: .75rem; padding: .75rem; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); margin-bottom: .5rem; transition: var(--transition); }
.timeline-item:hover { border-color: var(--border-light); }
.timeline-item.overdue { border-color: var(--red); background: var(--red-light); }
.timeline-icon { width: 32px; height: 32px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: .8rem; flex-shrink: 0; }
.timeline-icon.rotina { background: var(--blue-light); color: var(--blue); }
.timeline-icon.tarefa { background: var(--orange-light); color: var(--orange); }
.timeline-icon.calendario { background: var(--purple-light); color: var(--purple); }
.timeline-content { flex: 1; min-width: 0; }
.timeline-title { font-size: .85rem; font-weight: 600; }
.timeline-meta { font-size: .75rem; color: var(--text-muted); margin-top: .15rem; }
.timeline-check { width: 20px; height: 20px; border-radius: 4px; border: 2px solid var(--border-light); cursor: pointer; appearance: none; background: transparent; transition: var(--transition); flex-shrink: 0; margin-top: 4px; }
.timeline-check:checked { background: var(--green); border-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M13.485 1.929a.75.75 0 0 1 .086 1.057l-7.25 8.5a.75.75 0 0 1-1.1.043l-3.25-3.25a.75.75 0 1 1 1.06-1.06l2.67 2.67L12.428 2.015a.75.75 0 0 1 1.057-.086z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }

/* ROTINA - Week Navigation */
.week-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: .5rem 0;
}
.week-nav-center {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.week-nav-label {
    font-size: 1rem;
    font-weight: 700;
}

/* ROTINA - 7 day grid */
.week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .5rem; }
.day-column { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.day-column.weekend { opacity: 0.85; }
.day-header { padding: .75rem 1rem; background: var(--bg-secondary); border-bottom: 1px solid var(--border-color); font-weight: 700; font-size: .9rem; text-align: center; }
.day-header.today { background: var(--accent); color: var(--accent-text); }
.day-header.weekend { background: var(--bg-tertiary); }
.day-blocks { padding: .5rem; display: flex; flex-direction: column; gap: .4rem; min-height: 80px; flex: 1; }
.day-empty-hint { display: flex; align-items: center; justify-content: center; gap: .35rem; padding: 1rem; color: var(--text-muted); font-size: .75rem; cursor: pointer; border: 1px dashed var(--border-color); border-radius: var(--radius-sm); transition: var(--transition); }
.day-empty-hint:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.day-add-btn { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: .35rem; padding: .45rem; color: var(--text-muted); font-size: .75rem; cursor: pointer; background: transparent; border: 1px dashed var(--border-color); border-radius: var(--radius-sm); transition: var(--transition); font-family: inherit; }
.day-add-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.block-item { padding: .65rem; border-radius: var(--radius-sm); border: 1px solid var(--border-color); font-size: .8rem; cursor: pointer; transition: var(--transition); }
.block-item:hover { border-color: var(--accent); }
.block-item.done { opacity: .6; }
.block-item.done .block-name { text-decoration: line-through; }
.block-time { font-size: .7rem; color: var(--text-muted); font-weight: 600; }
.block-name { font-weight: 600; margin-top: .2rem; font-size: .8rem; }
.block-product { font-size: .7rem; color: var(--text-secondary); margin-top: .15rem; }
.block-controls {
    margin-top: .3rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}
.block-checkbox { width: 18px; height: 18px; border-radius: 4px; border: 2px solid var(--border-light); cursor: pointer; appearance: none; background: transparent; transition: var(--transition); }
.block-checkbox:checked { background: var(--green); border-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M13.485 1.929a.75.75 0 0 1 .086 1.057l-7.25 8.5a.75.75 0 0 1-1.1.043l-3.25-3.25a.75.75 0 1 1 1.06-1.06l2.67 2.67L12.428 2.015a.75.75 0 0 1 1.057-.086z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.block-status-label { font-size: .7rem; color: var(--text-muted); }

/* Block play button */
.block-play-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: auto;
}
.block-play-btn:hover {
    background: var(--accent);
    color: var(--accent-text);
}
.block-play-btn.active {
    background: var(--accent);
    color: var(--accent-text);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(200, 255, 0, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(200, 255, 0, 0); }
}

/* SCRIPT READER */
.script-reader { background: #000; color: #fff; padding: 2rem; border-radius: var(--radius-lg); font-size: 1.4rem; line-height: 1.8; max-height: 70vh; overflow-y: auto; }
.script-reader .hook { color: var(--accent); font-weight: 700; font-size: 1.6rem; margin-bottom: 1rem; display: block; }
.script-reader .cta { color: var(--green); font-weight: 700; font-size: 1.4rem; margin-top: 1rem; display: block; }

/* GERADOR - PRODUCT CARDS */
.product-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1rem; transition: var(--transition); }
.product-card:hover { border-color: var(--border-light); }
.product-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border-color); }
.product-card-header h3 { font-size: 1.05rem; font-weight: 700; }
.product-info-row { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .8rem; color: var(--text-secondary); margin-top: .5rem; }

/* AGENT CARDS */
.agent-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 1rem; margin-bottom: .75rem; transition: var(--transition); }
.agent-card:hover { border-color: var(--border-light); }
.agent-card.selected { border-color: var(--accent); background: var(--accent-light); }
.agent-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.agent-card-header h4 { font-size: .95rem; font-weight: 700; }
.agent-instruction { font-size: .85rem; color: var(--text-secondary); line-height: 1.5; max-height: 60px; overflow: hidden; transition: max-height .3s; }
.agent-instruction.expanded { max-height: none; }

/* GENERATED SCRIPTS */
.generated-scripts { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.generated-card { background: var(--bg-card); border: 1px solid var(--accent); border-radius: var(--radius-lg); padding: 1.25rem; }
.generated-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.generated-hook { font-size: 1.1rem; font-weight: 700; color: var(--accent); margin-bottom: .75rem; }
.generated-body { font-size: .95rem; line-height: 1.6; white-space: pre-wrap; margin-bottom: .75rem; }
.generated-cta { font-size: 1rem; font-weight: 700; color: var(--green); }
.generated-actions { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }

/* AI CONFIG */
.ai-config-section { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); margin-bottom: 1.5rem; overflow: hidden; }
.ai-config-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; cursor: pointer; transition: var(--transition); }
.ai-config-header:hover { background: var(--bg-hover); }
.ai-config-header h3 { font-size: .95rem; font-weight: 700; display: flex; align-items: center; gap: .5rem; }
.ai-config-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 1.25rem; }
.ai-config-body.open { max-height: 2000px; padding: 0 1.25rem 1.25rem; }
.ai-config-header i.fa-chevron-down { transition: transform 0.3s ease; color: var(--text-muted); }
.generated-freeform { font-size: .95rem; line-height: 1.7; white-space: pre-wrap; margin-bottom: .75rem; color: var(--text-primary); }
.history-item { padding: .75rem; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: var(--radius-md); margin-bottom: .5rem; cursor: pointer; transition: var(--transition); }
.history-item:hover { border-color: var(--accent); }
.templates-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-top: 1rem; }
.template-card { background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 1.25rem; text-align: center; transition: all 0.3s ease; }
.template-card:hover { border-color: var(--accent); }
.template-card.template-installed { border-color: var(--green); background: color-mix(in srgb, var(--green) 5%, var(--bg-primary)); }
.template-card-icon { font-size: 1.5rem; color: var(--purple); margin-bottom: .5rem; transition: color 0.3s ease; }
.template-card.template-installed .template-card-icon { color: var(--green); }
.btn-outline { background: transparent !important; border: 1px solid currentColor; }
.template-card-name { font-weight: 700; font-size: .95rem; margin-bottom: .25rem; }
.template-card-category { font-size: .75rem; color: var(--text-muted); margin-bottom: .5rem; }
.template-card-preview { font-size: .8rem; color: var(--text-secondary); margin-bottom: .75rem; line-height: 1.4; min-height: 3rem; }

/* CALENDAR */
.cal-top-bar { display: flex; gap: 1.5rem; }
.cal-mini-picker { width: 220px; flex-shrink: 0; }
.cal-main-area { flex: 1; min-width: 0; }
.cal-nav { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.cal-nav h3 { font-size: 1.1rem; font-weight: 700; }
.cal-nav-btns { display: flex; gap: .25rem; }

/* Mini Calendar */
.mini-cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; font-weight: 700; font-size: .85rem; }
.mini-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.mini-cal-head { text-align: center; font-size: .65rem; font-weight: 700; color: var(--text-muted); padding: .15rem; }
.mini-cal-day { text-align: center; font-size: .75rem; padding: .3rem; border-radius: 50%; cursor: pointer; transition: var(--transition); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.mini-cal-day:hover { background: var(--bg-hover); }
.mini-cal-day.today { background: var(--accent); color: var(--accent-text); font-weight: 700; }
.mini-cal-day.has-events { font-weight: 700; box-shadow: inset 0 -2px 0 var(--accent); }
.mini-cal-day.empty { visibility: hidden; }

/* Month Grid */
.cal-grid-month { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--border-color); border-radius: var(--radius-lg); overflow: hidden; }
.cal-header-cell { background: var(--bg-secondary); padding: .5rem; text-align: center; font-size: .75rem; font-weight: 700; color: var(--text-secondary); }
.cal-cell { background: var(--bg-card); padding: .4rem; min-height: 100px; font-size: .75rem; cursor: pointer; transition: var(--transition); }
.cal-cell:hover { background: var(--bg-hover); }
.cal-cell.today { background: var(--accent-light); }
.cal-cell.today .day-num { background: var(--accent); color: var(--accent-text); border-radius: 50%; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; }
.cal-cell.weekend { background: var(--bg-secondary); }
.cal-cell.other-month { opacity: .35; }
.cal-cell .day-num { font-weight: 700; margin-bottom: .2rem; font-size: .8rem; }

/* Events */
.cal-event { padding: .15rem .35rem; border-radius: 4px; font-size: .65rem; margin-top: .15rem; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.cal-event.evt-azul { background: var(--blue-light); color: var(--blue); }
.cal-event.evt-verde { background: var(--green-light); color: var(--green); }
.cal-event.evt-vermelho { background: var(--red-light); color: var(--red); }
.cal-event.evt-amarelo { background: var(--yellow-light); color: var(--yellow); }
.cal-event.evt-roxo { background: var(--purple-light); color: var(--purple); }
.cal-event.evt-laranja { background: var(--orange-light); color: var(--orange); }
.cal-event.evt-rotina { background: var(--bg-tertiary); color: var(--text-secondary); border: 1px dashed var(--border-color); font-style: italic; }
.cal-event.evt-tarefa { background: var(--orange-light); color: var(--orange); }
.cal-evt-time { font-weight: 700; }
.cal-more { font-size: .6rem; color: var(--text-muted); margin-top: .15rem; }

/* Positioned events in week view */
.cal-positioned-event { position: absolute; border-radius: 4px; padding: .15rem .35rem; font-size: .65rem; overflow: hidden; z-index: 2; cursor: pointer; font-weight: 500; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.cal-pe-time { font-weight: 700; font-size: .6rem; }

/* Week/Day grids */
.cal-week-grid { display: grid; grid-template-columns: 60px repeat(7, 1fr); gap: 1px; background: var(--border-color); border-radius: var(--radius-lg); overflow: hidden; }
.cal-day-grid { display: grid; grid-template-columns: 60px 1fr; gap: 1px; background: var(--border-color); border-radius: var(--radius-lg); overflow: hidden; }
.cal-time-cell { background: var(--bg-secondary); padding: .25rem .4rem; font-size: .7rem; color: var(--text-muted); text-align: right; min-height: 50px; display: flex; align-items: flex-start; justify-content: flex-end; }
.cal-slot { background: var(--bg-card); padding: .2rem; min-height: 50px; cursor: pointer; position: relative; }
.cal-slot:hover { background: var(--bg-hover); }
.cal-week-header { background: var(--bg-secondary); padding: .5rem; text-align: center; font-size: .75rem; font-weight: 700; color: var(--text-secondary); }
.cal-week-header.today { background: var(--accent); color: var(--accent-text); }
.cal-week-date { font-size: 1.1rem; font-weight: 800; }
.cal-day-event { padding: .4rem .5rem; font-size: .8rem; border-radius: var(--radius-sm); }

/* All-day tasks bar */
.cal-allday { display: flex; gap: .5rem; align-items: flex-start; margin-bottom: .75rem; padding: .5rem; background: var(--bg-secondary); border-radius: var(--radius-md); }
.cal-allday-label { font-size: .7rem; font-weight: 700; color: var(--text-muted); padding-top: .15rem; min-width: 50px; }
.cal-allday-items { display: flex; flex-wrap: wrap; gap: .25rem; flex: 1; }

/* Current time line */
.cal-now-line { position: absolute; height: 2px; background: var(--red); z-index: 5; pointer-events: none; }
.cal-now-line::before { content: ''; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

/* Color picker for event form */
.cal-color-picker { display: flex; gap: .5rem; padding-top: .25rem; }
.cal-color-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; transition: var(--transition); }
.cal-color-dot.active { border-color: var(--text-primary); transform: scale(1.15); }
.cal-color-dot:hover { transform: scale(1.1); }

/* Day drawer items */
.drawer-item { padding: .6rem .75rem; border-radius: var(--radius-sm); margin-bottom: .35rem; border-left: 3px solid transparent; }
.drawer-item.evt-azul { background: var(--blue-light); border-left-color: var(--blue); }
.drawer-item.evt-verde { background: var(--green-light); border-left-color: var(--green); }
.drawer-item.evt-vermelho { background: var(--red-light); border-left-color: var(--red); }
.drawer-item.evt-amarelo { background: var(--yellow-light); border-left-color: var(--yellow); }
.drawer-item.evt-roxo { background: var(--purple-light); border-left-color: var(--purple); }
.drawer-item.evt-laranja { background: var(--orange-light); border-left-color: var(--orange); }
.drawer-item.evt-rotina { background: var(--bg-secondary); border-left-color: var(--blue); }
.drawer-item.evt-tarefa { background: var(--orange-light); border-left-color: var(--orange); }
.drawer-item.done { opacity: .55; }
.drawer-item-row { display: flex; align-items: flex-start; gap: .6rem; }
.drawer-item-row input[type="checkbox"] { margin-top: .2rem; cursor: pointer; flex-shrink: 0; }
.drawer-item-body { flex: 1; min-width: 0; }
.drawer-item-time { font-size: .7rem; font-weight: 700; color: var(--text-muted); }
.drawer-item-title { font-weight: 600; font-size: .9rem; margin-top: .1rem; }
.drawer-item-title.line-through { text-decoration: line-through; }
.drawer-item-meta { font-size: .75rem; color: var(--text-muted); margin-top: .1rem; }
.drawer-item-actions { display: flex; gap: .15rem; flex-shrink: 0; }
.drawer-item-badge { color: var(--text-muted); font-size: .7rem; flex-shrink: 0; margin-top: .15rem; }

@media (max-width: 900px) {
    .cal-top-bar { flex-direction: column; }
    .cal-mini-picker { width: 100%; }
}

/* CHARTS */
.charts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 1.5rem; }
.chart-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 1.25rem; }
.chart-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 1rem; }
.chart-wrapper { position: relative; height: 280px; }

/* NOTAS MODULE */
.notas-grid, .ideias-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.ideias-grid .ideia-card { position: relative; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 1.25rem; cursor: pointer; transition: var(--transition); display: flex; flex-direction: column; min-height: 160px; }
.ideias-grid .ideia-card:hover { border-color: var(--accent); }
.nota-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 1.25rem; cursor: pointer; transition: var(--transition); display: flex; flex-direction: column; min-height: 180px; }
.nota-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.nota-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; margin-bottom: .75rem; }
.nota-card-title { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.nota-pasta-badge { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .5rem; background: var(--blue-light); color: var(--blue); border-radius: 12px; font-size: .7rem; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.nota-card-preview { font-size: .85rem; color: var(--text-secondary); line-height: 1.5; flex: 1; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.nota-card-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--border-color); }
.nota-tags { display: flex; flex-wrap: wrap; gap: .25rem; }
.nota-tag { display: inline-block; padding: .1rem .4rem; background: var(--accent-light); color: var(--accent); border-radius: 8px; font-size: .65rem; font-weight: 600; }
.nota-date { font-size: .7rem; color: var(--text-muted); white-space: nowrap; }
.nota-list-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); margin-bottom: .5rem; cursor: pointer; transition: var(--transition); }
.nota-list-item:hover { border-color: var(--accent); }
.nota-list-main { flex: 1; min-width: 0; }
.nota-list-title { font-size: .95rem; font-weight: 700; margin-bottom: .25rem; }
.nota-list-preview { font-size: .83rem; color: var(--text-secondary); line-height: 1.4; margin-bottom: .5rem; }
.nota-list-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.nota-list-actions { display: flex; gap: .25rem; flex-shrink: 0; }
.nota-view-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border-color); }
.nota-view-content { font-size: .95rem; line-height: 1.7; white-space: pre-wrap; margin-top: .5rem; }
.autosave-indicator { font-size: .75rem; color: var(--green); margin-top: .35rem; display: flex; align-items: center; gap: .3rem; transition: opacity .3s; }

/* PROMPTS MODULE */
.prompts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.prompt-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 1.25rem; cursor: pointer; transition: var(--transition); display: flex; flex-direction: column; min-height: 200px; }
.prompt-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.prompt-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; margin-bottom: .5rem; }
.prompt-card-title { font-size: 1rem; font-weight: 700; line-height: 1.3; flex: 1; }
.prompt-copy-btn { width: 34px; height: 34px; border-radius: var(--radius-sm); background: var(--bg-tertiary); border: 1px solid var(--border-color); color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); font-size: .85rem; flex-shrink: 0; white-space: nowrap; overflow: hidden; }
.prompt-copy-btn:hover { color: var(--accent); border-color: var(--accent); }
.prompt-copy-btn.copied { background: var(--green-light); color: var(--green); border-color: var(--green); width: auto; padding: 0 .6rem; font-size: .75rem; font-weight: 600; gap: .3rem; }
.prompt-cat-badge { display: inline-flex; padding: .15rem .5rem; background: var(--purple-light); color: var(--purple); border-radius: 12px; font-size: .7rem; font-weight: 600; margin-bottom: .5rem; }
.prompt-card-preview { flex: 1; overflow: hidden; margin-bottom: .75rem; }
.prompt-card-preview code { font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace; font-size: .8rem; color: var(--text-secondary); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-wrap; word-break: break-word; }
.prompt-card-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .75rem; border-top: 1px solid var(--border-color); }
.prompt-tags { display: flex; flex-wrap: wrap; gap: .25rem; }
.prompt-tag { display: inline-block; padding: .1rem .4rem; background: var(--accent-light); color: var(--accent); border-radius: 8px; font-size: .65rem; font-weight: 600; }
.prompt-date { font-size: .7rem; color: var(--text-muted); white-space: nowrap; }
.prompt-view-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border-color); }
.prompt-view-content { margin-top: .75rem; }
.prompt-code-block { font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace; font-size: .9rem; line-height: 1.6; white-space: pre-wrap; word-break: break-word; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 1.25rem; color: var(--text-primary); overflow-x: auto; max-height: 60vh; }
.prompt-textarea { font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace; font-size: .88rem; line-height: 1.5; }
.prompt-list-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); margin-bottom: .5rem; cursor: pointer; transition: var(--transition); }
.prompt-list-item:hover { border-color: var(--accent); }
.prompt-list-main { flex: 1; min-width: 0; }
.prompt-list-title { font-size: .95rem; font-weight: 700; margin-bottom: .25rem; }
.prompt-list-preview { font-size: .83rem; color: var(--text-secondary); line-height: 1.4; margin-bottom: .5rem; }
.prompt-list-preview code { font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace; font-size: .8rem; white-space: pre-wrap; word-break: break-word; }
.prompt-list-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.prompt-list-actions { display: flex; gap: .25rem; flex-shrink: 0; align-items: flex-start; }

/* RESPONSIVE - Pages */
@media (max-width: 1024px) {
    .week-grid { grid-template-columns: repeat(4, 1fr); }
    .charts-grid { grid-template-columns: 1fr; }
    .prompts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .greeting h1 { font-size: 1.35rem; }
    .week-grid { grid-template-columns: 1fr; }
    .script-reader { font-size: 1.6rem; line-height: 2; padding: 1.5rem; }
    .script-reader .hook { font-size: 1.8rem; }
    .charts-grid { grid-template-columns: 1fr; }
    .chart-wrapper { height: 240px; }
    .notas-grid { grid-template-columns: 1fr; }
    .prompts-grid { grid-template-columns: 1fr; }
    .cal-cell { min-height: 60px; padding: .25rem; }
    .cal-week-grid { grid-template-columns: 40px repeat(7, 1fr); }
    .cal-positioned-event { display: none; }
}

/* ============================================================
   LANDING PAGE — Noir Editorial v2
   ============================================================ */

/* Scroll Reveal Animations */
.lp-hidden { opacity: 0; transform: translateY(28px); }
.lp-visible { opacity: 1; transform: translateY(0); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }

/* Noise Texture */
.lp-noise {
    position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .035;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 256px;
}

/* Utility */
.lp-section-inner { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 1; }
.lp-text-accent { color: var(--accent); }

/* ─── NAV ─── */
.lp-nav { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(16px); background: rgba(10,10,10,.8); border-bottom: 1px solid rgba(255,255,255,.05); }
.lp-nav-inner { max-width: 1100px; margin: 0 auto; padding: .75rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.lp-nav-links { display: flex; align-items: center; gap: 1.5rem; }
.lp-nav-link { font-family: 'DM Sans', sans-serif; font-size: .85rem; color: var(--text-secondary); text-decoration: none; transition: color .2s; }
.lp-nav-link:hover { color: var(--text-primary); }
.lp-nav-btn-ghost { font-family: 'DM Sans', sans-serif; font-size: .85rem; color: var(--text-secondary); background: none; border: 1px solid var(--border-light); padding: .4rem 1rem; border-radius: 8px; cursor: pointer; transition: all .2s; }
.lp-nav-btn-ghost:hover { border-color: var(--text-primary); color: var(--text-primary); }
.lp-nav-btn-accent { font-family: 'DM Sans', sans-serif; font-size: .85rem; font-weight: 700; color: var(--accent-text); background: var(--accent); border: none; padding: .45rem 1.1rem; border-radius: 8px; cursor: pointer; transition: all .2s; }
.lp-nav-btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ─── HERO ─── */
.lp-hero { position: relative; padding: 6rem 1.5rem 4rem; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.lp-hero-glow { position: absolute; top: -20%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(200,255,0,.08) 0%, transparent 70%); pointer-events: none; z-index: 0; }
.lp-hero-content { position: relative; z-index: 1; }
.lp-hero-badge { display: inline-flex; align-items: center; gap: .5rem; font-family: 'DM Sans', sans-serif; font-size: .75rem; font-weight: 500; color: var(--accent); background: rgba(200,255,0,.08); border: 1px solid rgba(200,255,0,.15); padding: .35rem .85rem; border-radius: 24px; margin-bottom: 1.5rem; }
.lp-pulse { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: lp-pulse 2s infinite; }
@keyframes lp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.lp-hero-headline { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 3.2rem; line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 1.25rem; }
.lp-hero-accent { color: var(--accent); display: inline-block; }
.lp-hero-sub { font-family: 'DM Sans', sans-serif; font-size: 1.05rem; line-height: 1.6; color: var(--text-secondary); max-width: 460px; margin-bottom: 2rem; }
.lp-hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; }
.lp-hero-stats { display: flex; gap: 1.5rem; align-items: center; margin-top: 2.5rem; }
.lp-stat-value { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--accent); display: block; }
.lp-stat-label { font-family: 'DM Sans', sans-serif; font-size: .75rem; color: var(--text-muted); }
.lp-stat-divider { width: 1px; height: 32px; background: var(--border-light); }

/* Buttons */
.lp-btn-primary { display: inline-flex; align-items: center; gap: .5rem; font-family: 'DM Sans', sans-serif; font-size: .95rem; font-weight: 700; color: var(--accent-text); background: var(--accent); border: none; padding: .75rem 1.5rem; border-radius: 10px; cursor: pointer; transition: all .25s cubic-bezier(.22,1,.36,1); }
.lp-btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,255,0,.2); }
.lp-btn-primary.large { font-size: 1.05rem; padding: .9rem 2rem; border-radius: 12px; }
.lp-btn-ghost { font-family: 'DM Sans', sans-serif; font-size: .95rem; font-weight: 500; color: var(--text-secondary); background: none; border: 1px solid var(--border-light); padding: .7rem 1.4rem; border-radius: 10px; cursor: pointer; transition: all .2s; }
.lp-btn-ghost:hover { border-color: var(--text-primary); color: var(--text-primary); }

/* Hero Visual — App Preview */
.lp-hero-visual { position: relative; z-index: 1; }
.lp-hero-glow-2 { position: absolute; bottom: -15%; left: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(200,255,0,.04) 0%, transparent 70%); pointer-events: none; z-index: 0; }
.lp-app-preview { background: var(--bg-secondary); border: 1px solid var(--border-light); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04); position: relative; }
.lp-app-chrome { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: rgba(255,255,255,.025); border-bottom: 1px solid var(--border-color); }
.lp-app-dots { display: flex; gap: 6px; }
.lp-app-dots span { width: 10px; height: 10px; border-radius: 50%; }
.lp-app-dots span:nth-child(1) { background: #ef4444; }
.lp-app-dots span:nth-child(2) { background: #eab308; }
.lp-app-dots span:nth-child(3) { background: #22c55e; }
.lp-app-url { font-family: 'DM Sans', sans-serif; font-size: .65rem; color: var(--text-muted); background: rgba(255,255,255,.04); padding: 3px 10px; border-radius: 6px; flex: 1; max-width: 200px; }
.lp-app-body { display: flex; min-height: 300px; }
.lp-app-sidebar { width: 48px; background: rgba(255,255,255,.015); border-right: 1px solid var(--border-color); display: flex; flex-direction: column; align-items: center; padding: 10px 0; gap: 4px; }
.lp-app-sidebar-logo { width: 28px; height: 28px; background: var(--accent); color: var(--accent-text); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .75rem; margin-bottom: 8px; }
.lp-app-sidebar-item { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: .7rem; transition: all .2s; }
.lp-app-sidebar-item.active { background: rgba(255,255,255,.06); color: var(--text-primary); }
.lp-app-sidebar-item.accent { color: var(--accent); }
.lp-app-main { flex: 1; padding: 14px; overflow: hidden; }
.lp-app-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.lp-app-topbar-title { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: .8rem; }
.lp-app-topbar-btn { width: 28px; height: 28px; border-radius: 6px; background: var(--accent); color: var(--accent-text); display: flex; align-items: center; justify-content: center; font-size: .65rem; }
.lp-app-current { background: linear-gradient(135deg, rgba(200,255,0,.08), transparent); border: 1px solid rgba(200,255,0,.2); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.lp-app-current-label { font-size: .55rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .5px; }
.lp-app-current-name { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: .75rem; margin-top: 3px; }
.lp-app-current-time { font-size: .6rem; color: var(--text-muted); margin-top: 2px; }
.lp-app-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.lp-app-stat-card { background: rgba(255,255,255,.03); border: 1px solid var(--border-color); border-radius: 8px; padding: 8px; text-align: center; }
.lp-app-stat-card .val { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: .85rem; display: block; color: var(--accent); }
.lp-app-stat-card .lbl { font-size: .55rem; color: var(--text-muted); }
.lp-app-generation { background: rgba(255,255,255,.02); border: 1px solid var(--border-color); border-radius: 8px; padding: 10px 12px; min-height: 60px; }
.lp-app-gen-header { font-size: .6rem; font-weight: 600; margin-bottom: 6px; display: flex; align-items: center; gap: 5px; }
.lp-app-gen-text { font-family: 'DM Sans', sans-serif; font-size: .7rem; color: var(--text-secondary); line-height: 1.4; min-height: 1.4em; }
.lp-app-gen-cursor { display: inline-block; width: 2px; height: 12px; background: var(--accent); animation: lp-blink 1s steps(1) infinite; margin-left: 1px; vertical-align: middle; }
@keyframes lp-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Floating cards */
.lp-float-card { position: absolute; background: var(--bg-secondary); border: 1px solid var(--border-light); border-radius: 10px; padding: 8px 14px; display: flex; align-items: center; gap: 8px; font-family: 'DM Sans', sans-serif; font-size: .75rem; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.4); z-index: 10; }
.lp-float-1 { top: 15%; right: -20px; animation: lp-float 4s ease-in-out infinite; }
.lp-float-2 { bottom: 12%; left: -16px; animation: lp-float 4s ease-in-out infinite 2s; }
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ─── MARQUEE ─── */
.lp-marquee { overflow: hidden; padding: 1rem 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); position: relative; z-index: 1; }
.lp-marquee-track { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; animation: lp-scroll 40s linear infinite; }
@keyframes lp-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── FEATURES HEADER ─── */
.lp-features { padding: 5rem 0 2rem; position: relative; z-index: 1; }
.lp-section-header { text-align: center; margin-bottom: 3rem; }
.lp-section-tag { display: inline-block; font-family: 'DM Sans', sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); background: rgba(200,255,0,.08); border: 1px solid rgba(200,255,0,.12); padding: .3rem .8rem; border-radius: 4px; margin-bottom: 1rem; }
.lp-section-title { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 2rem; line-height: 1.2; letter-spacing: -0.005em; }
.lp-section-sub { font-family: 'DM Sans', sans-serif; font-size: 1rem; color: var(--text-secondary); margin-top: .75rem; }
/* ─── FEATURE SHOWCASES ─── */
.lp-showcase { padding: 3rem 0; position: relative; z-index: 1; overflow: hidden; }
.lp-showcase-inner { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.lp-showcase.reverse .lp-showcase-inner { grid-template-columns: 1.2fr 1fr; }
.lp-showcase.reverse .lp-showcase-text { order: 2; }
.lp-showcase.reverse .lp-showcase-visual { order: 1; }
.lp-showcase-text h3 { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.5rem; margin: .75rem 0 .6rem; }
.lp-showcase-text p { font-family: 'DM Sans', sans-serif; font-size: .92rem; color: var(--text-secondary); line-height: 1.6; }
.lp-showcase-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(200,255,0,.1); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.lp-showcase-icon.blue { background: var(--blue-light); color: var(--blue); }
.lp-showcase-icon.green { background: var(--green-light); color: var(--green); }
.lp-showcase-icon.purple { background: var(--purple-light); color: var(--purple); }
.lp-showcase-icon.orange { background: var(--orange-light); color: var(--orange); }
.lp-showcase-bullets { list-style: none; margin-top: 1rem; }
.lp-showcase-bullets li { font-family: 'DM Sans', sans-serif; font-size: .85rem; padding: .35rem 0; display: flex; align-items: center; gap: .5rem; color: var(--text-secondary); }
.lp-feature-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.lp-feature-tags span { font-family: 'DM Sans', sans-serif; font-size: .7rem; font-weight: 600; color: var(--text-muted); background: var(--bg-tertiary); border: 1px solid var(--border-color); padding: .2rem .6rem; border-radius: 6px; }

/* Showcase visual containers */
.lp-showcase-visual { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 16px; padding: 1.25rem; overflow: hidden; position: relative; }

/* Scroll-triggered staggered animations */
.lp-visible .lp-sc-anim-1 { animation: lp-sc-slide .5s .2s both cubic-bezier(.22,1,.36,1); }
.lp-visible .lp-sc-anim-2 { animation: lp-sc-slide .5s .35s both cubic-bezier(.22,1,.36,1); }
.lp-visible .lp-sc-anim-3 { animation: lp-sc-slide .5s .5s both cubic-bezier(.22,1,.36,1); }
@keyframes lp-sc-slide { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* --- AI Generator showcase --- */
.lp-sc-gen { font-family: 'DM Sans', sans-serif; font-size: .75rem; }
.lp-sc-row { display: flex; gap: .4rem; margin-bottom: .75rem; flex-wrap: wrap; }
.lp-sc-agent { padding: .4rem .7rem; border-radius: 8px; background: var(--bg-tertiary); border: 1px solid var(--border-color); color: var(--text-secondary); font-weight: 500; display: flex; align-items: center; gap: .4rem; font-size: .7rem; }
.lp-sc-agent.active { background: rgba(200,255,0,.1); border-color: var(--accent); color: var(--accent); font-weight: 700; }
.lp-sc-config { display: flex; gap: .4rem; margin-bottom: .75rem; flex-wrap: wrap; align-items: center; }
.lp-sc-select { padding: .35rem .6rem; border-radius: 6px; background: var(--bg-primary); border: 1px solid var(--border-color); font-size: .65rem; color: var(--text-muted); }
.lp-sc-select strong { color: var(--text-primary); }
.lp-sc-generate-btn { padding: .35rem .7rem; border-radius: 6px; background: var(--accent); color: var(--accent-text); font-size: .65rem; font-weight: 700; display: flex; align-items: center; gap: .3rem; margin-left: auto; }
.lp-sc-output { display: flex; flex-direction: column; gap: .5rem; }
.lp-sc-script-card { background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 10px; padding: .65rem .85rem; }
.lp-sc-script-label { font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--accent); margin-bottom: .25rem; }
.lp-sc-script-text { font-size: .78rem; color: var(--text-secondary); line-height: 1.4; font-style: italic; }

/* --- Week showcase --- */
.lp-sc-week { font-family: 'DM Sans', sans-serif; position: relative; }
.lp-sc-week-nav { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-bottom: .75rem; font-size: .75rem; }
.lp-sc-nav-arrow { width: 24px; height: 24px; border-radius: 6px; background: var(--bg-tertiary); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; font-size: .6rem; color: var(--text-muted); }
.lp-sc-week-label { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: .8rem; }
.lp-sc-week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.lp-sc-day { background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 8px; min-height: 80px; overflow: hidden; }
.lp-sc-day.today { border-color: var(--accent); }
.lp-sc-day.weekend { opacity: .6; }
.lp-sc-day-header { font-size: .6rem; font-weight: 700; text-align: center; padding: 4px; background: rgba(255,255,255,.02); color: var(--text-muted); }
.lp-sc-day.today .lp-sc-day-header { background: var(--accent); color: var(--accent-text); }
.lp-sc-block { margin: 4px; padding: 5px 6px; border-radius: 5px; border-left: 2px solid var(--accent); background: rgba(200,255,0,.05); }
.lp-sc-block.done { opacity: .5; border-left-color: var(--green); }
.lp-sc-block-time { font-size: .55rem; color: var(--text-muted); }
.lp-sc-block-name { font-size: .6rem; font-weight: 600; }
.lp-sc-block-empty { min-height: 40px; }
.lp-sc-timer { position: absolute; bottom: 10px; right: 10px; background: var(--bg-card); border: 2px solid var(--accent); border-radius: 10px; padding: .4rem .7rem; display: flex; align-items: center; gap: .5rem; font-size: .7rem; box-shadow: 0 4px 16px rgba(0,0,0,.4); }
.lp-sc-timer-label { font-weight: 600; font-size: .65rem; }
.lp-sc-timer-time { font-family: 'Outfit', sans-serif; font-weight: 800; color: var(--accent); font-size: .85rem; font-variant-numeric: tabular-nums; }
.lp-sc-timer-badge { font-size: .5rem; font-weight: 700; background: rgba(200,255,0,.1); color: var(--accent); padding: 2px 5px; border-radius: 4px; text-transform: uppercase; }

/* --- Kanban showcase --- */
.lp-sc-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; font-family: 'DM Sans', sans-serif; }
.lp-sc-kanban-col { background: var(--bg-primary); border-radius: 10px; padding: .5rem; }
.lp-sc-kanban-header { font-size: .65rem; font-weight: 700; padding: .4rem .5rem; margin-bottom: .4rem; display: flex; align-items: center; gap: .4rem; }
.lp-sc-badge { font-size: .55rem; font-weight: 700; background: var(--accent-light); color: var(--accent); padding: 1px 6px; border-radius: 8px; }
.lp-sc-badge.yellow { background: var(--yellow-light); color: var(--yellow); }
.lp-sc-badge.green { background: var(--green-light); color: var(--green); }
.lp-sc-kanban-card { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 8px; padding: .5rem .6rem; font-size: .68rem; color: var(--text-secondary); margin-bottom: .35rem; transition: all .2s; }
.lp-sc-kanban-card:hover { border-color: var(--accent); }
.lp-sc-kanban-card.live { border-left: 2px solid var(--green); }
.lp-sc-perf { font-size: .55rem; font-weight: 700; color: var(--accent); margin-bottom: .2rem; }
.lp-sc-perf.good { color: var(--green); }

/* --- Métricas dashboard showcase --- */
.lp-sc-dash { font-family: 'DM Sans', sans-serif; font-size: .75rem; }
.lp-sc-dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1rem; }
.lp-sc-dash-stat { background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 10px; padding: .65rem .75rem; text-align: center; }
.lp-sc-dash-stat-val { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--text-primary); line-height: 1.2; }
.lp-sc-dash-stat-val.accent { color: var(--accent); }
.lp-sc-dash-stat-val.purple { color: var(--purple); }
.lp-sc-dash-stat-lbl { font-size: .58rem; color: var(--text-muted); margin-top: .15rem; text-transform: uppercase; letter-spacing: .3px; font-weight: 600; }
.lp-sc-dash-chart { background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 10px; padding: .75rem; margin-bottom: .75rem; }
.lp-sc-dash-chart-label { font-size: .6rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: .5rem; }
.lp-sc-dash-bars { display: flex; align-items: flex-end; gap: .35rem; height: 90px; }
.lp-sc-dash-bar { flex: 1; background: linear-gradient(180deg, var(--accent) 0%, rgba(200,255,0,.2) 100%); border-radius: 4px 4px 0 0; height: var(--h, 50%); position: relative; opacity: 0; }
.lp-visible .lp-sc-dash-bar { animation: lp-bar-grow .6s var(--delay, 0s) forwards cubic-bezier(.22,1,.36,1); }
@keyframes lp-bar-grow { from { height: 0; opacity: 0; } to { height: var(--h, 50%); opacity: 1; } }
.lp-sc-dash-bar span { position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%); font-size: .52rem; color: var(--text-muted); font-family: 'DM Sans', sans-serif; }
.lp-sc-dash-perf { background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 10px; padding: .6rem .75rem; }
.lp-sc-dash-perf-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .35rem; }
.lp-sc-dash-perf-name { font-size: .7rem; font-weight: 600; color: var(--text-secondary); }
.lp-sc-dash-perf-badge { font-size: .55rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .3px; }
.lp-sc-dash-perf-badge.good { background: rgba(34,197,94,.1); color: var(--green); border: 1px solid rgba(34,197,94,.2); }
.lp-sc-dash-perf-metrics { display: flex; gap: 1rem; font-size: .65rem; color: var(--text-muted); }
.lp-sc-dash-perf-metrics strong { color: var(--text-primary); font-weight: 700; }

/* --- Agent store showcase --- */
.lp-sc-store { font-family: 'DM Sans', sans-serif; }
.lp-sc-store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.lp-sc-store-card { background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 12px; padding: .85rem; text-align: center; transition: all .3s cubic-bezier(.22,1,.36,1); }
.lp-sc-store-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.lp-sc-store-card.custom { border-style: dashed; border-color: var(--border-light); }
.lp-sc-store-card.custom:hover { border-color: var(--accent); }
.lp-sc-store-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(200,255,0,.08); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: .9rem; margin: 0 auto .5rem; }
.lp-sc-store-icon.add { background: rgba(200,255,0,.05); border: 1px dashed rgba(200,255,0,.3); color: var(--accent); }
.lp-sc-store-name { font-size: .72rem; font-weight: 700; color: var(--text-primary); margin-bottom: .2rem; }
.lp-sc-store-tag { font-size: .58rem; color: var(--text-muted); margin-bottom: .5rem; }
.lp-sc-store-badge { font-size: .55rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; display: inline-block; }
.lp-sc-store-badge.installed { background: rgba(34,197,94,.1); color: var(--green); border: 1px solid rgba(34,197,94,.2); }
.lp-sc-store-badge.install { background: rgba(200,255,0,.08); color: var(--accent); border: 1px solid rgba(200,255,0,.15); cursor: pointer; }

/* ─── FEATURE 6: Dashboard & Timer ─── */
.lp-sc-dashboard { font-family: 'DM Sans', sans-serif; display: flex; flex-direction: column; gap: .75rem; }
.lp-sc-now-card { background: linear-gradient(135deg, rgba(200,255,0,.08), rgba(200,255,0,.02)); border: 1px solid rgba(200,255,0,.25); border-radius: 12px; padding: 1rem; }
.lp-sc-now-label { font-size: .6rem; font-weight: 800; letter-spacing: .08em; color: var(--accent); margin-bottom: .5rem; }
.lp-sc-now-name { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: .15rem; }
.lp-sc-now-time { font-size: .75rem; color: var(--text-muted); margin-bottom: .75rem; }
.lp-sc-now-timer { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.lp-sc-timer-ring { width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--accent); border-right-color: transparent; animation: lp-spin 1.5s linear infinite; }
@keyframes lp-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.lp-sc-timer-val { font-size: 1.1rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--accent); }
.lp-sc-now-actions { display: flex; gap: .4rem; }
.lp-sc-now-btn { padding: .35rem .7rem; border-radius: 6px; font-size: .7rem; font-weight: 700; background: rgba(200,255,0,.08); color: var(--accent); border: 1px solid rgba(200,255,0,.2); display: inline-flex; align-items: center; gap: .3rem; }
.lp-sc-now-btn.active { background: var(--accent); color: var(--accent-text); }
.lp-sc-now-done { padding: .35rem .7rem; border-radius: 6px; font-size: .7rem; font-weight: 700; background: rgba(255,255,255,.04); color: var(--text-muted); border: 1px solid var(--border-color); display: inline-flex; align-items: center; gap: .3rem; }
.lp-sc-dash-tabs { display: flex; gap: .3rem; padding: .4rem; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 8px; }
.lp-sc-dash-tabs span { flex: 1; text-align: center; padding: .35rem; font-size: .65rem; font-weight: 700; color: var(--text-muted); border-radius: 6px; letter-spacing: .04em; }
.lp-sc-dash-tabs span.active { background: var(--accent); color: var(--accent-text); }
.lp-sc-progress { padding: .7rem .9rem; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 8px; }
.lp-sc-progress-label { display: flex; justify-content: space-between; font-size: .7rem; color: var(--text-muted); margin-bottom: .4rem; }
.lp-sc-progress-track { height: 6px; background: var(--border-color); border-radius: 3px; overflow: hidden; }
.lp-sc-progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent), rgba(200,255,0,.7)); border-radius: 3px; animation: lp-grow 2s ease-out; }
@keyframes lp-grow { from { width: 0; } }

/* ─── FEATURE 7: Tarefas Kanban ─── */
.lp-sc-tasks { display: grid; grid-template-columns: 1fr 1fr 1fr 36px; gap: .5rem; font-family: 'DM Sans', sans-serif; }
.lp-sc-task-col { display: flex; flex-direction: column; gap: .35rem; }
.lp-sc-task-head { font-size: .65rem; font-weight: 800; color: var(--text-muted); letter-spacing: .04em; text-transform: uppercase; display: flex; justify-content: space-between; padding: .25rem .15rem; border-bottom: 1px solid var(--border-color); margin-bottom: .2rem; }
.lp-sc-task-head span { background: var(--bg-primary); padding: 1px 6px; border-radius: 4px; font-size: .55rem; color: var(--text-muted); }
.lp-sc-task-head.accent { color: var(--accent); }
.lp-sc-task-card { padding: .5rem; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 6px; font-size: .7rem; color: var(--text-primary); line-height: 1.35; }
.lp-sc-task-card.overdue { border-color: rgba(239,68,68,.3); }
.lp-sc-task-card.today { border-color: rgba(234,179,8,.3); }
.lp-sc-task-card.done { opacity: .55; text-decoration: line-through; }
.lp-sc-task-pill { display: inline-block; font-size: .5rem; font-weight: 800; padding: 1px 5px; border-radius: 3px; margin-bottom: .3rem; letter-spacing: .05em; }
.lp-sc-task-pill.red { background: rgba(239,68,68,.15); color: #ef4444; }
.lp-sc-task-pill.yellow { background: rgba(234,179,8,.15); color: #eab308; }
.lp-sc-task-add { border: 1px dashed var(--border-color); border-radius: 6px; display: flex; align-items: flex-start; justify-content: center; padding: .5rem 0; color: var(--text-muted); font-size: 1rem; font-weight: 300; }

/* ─── FEATURE 8: Calendário ─── */
.lp-sc-cal { font-family: 'DM Sans', sans-serif; position: relative; background: var(--bg-primary); border-radius: 8px; padding: .75rem; }
.lp-sc-cal-head { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; font-weight: 700; color: var(--text-primary); padding: .15rem .35rem .6rem; }
.lp-sc-cal-head span:first-child, .lp-sc-cal-head span:last-child { font-size: .75rem; color: var(--text-muted); cursor: pointer; padding: 0 .35rem; }
.lp-sc-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.lp-sc-cal-dow { text-align: center; font-size: .55rem; color: var(--text-muted); padding: .15rem 0; font-weight: 700; }
.lp-sc-cal-cell { position: relative; aspect-ratio: 1; border-radius: 4px; background: var(--bg-card); padding: .2rem; font-size: .6rem; color: var(--text-primary); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; }
.lp-sc-cal-cell.wknd { opacity: .55; }
.lp-sc-cal-cell.today { background: var(--accent); color: var(--accent-text); font-weight: 700; }
.lp-sc-cal-cell .n { font-weight: 600; }
.lp-sc-cal-cell .dot { width: 4px; height: 4px; border-radius: 50%; margin-top: auto; align-self: center; }
.lp-sc-cal-cell .dot.a { background: var(--accent); }
.lp-sc-cal-cell .dot.b { background: #a855f7; }
.lp-sc-cal-line { position: absolute; left: 0; right: 0; height: 2px; background: var(--accent); top: 62%; box-shadow: 0 0 6px rgba(200,255,0,.5); opacity: .7; pointer-events: none; }

/* ─── FEATURE 9: Ideias, Notas, Prompts ─── */
.lp-sc-capture { font-family: 'DM Sans', sans-serif; }
.lp-sc-quick-input { display: flex; align-items: center; gap: .5rem; padding: .7rem .9rem; background: var(--bg-primary); border: 1px solid rgba(200,255,0,.25); border-radius: 8px; font-size: .75rem; color: var(--text-primary); margin-bottom: .6rem; }
.lp-sc-quick-input i { color: var(--yellow, #eab308); }
.lp-sc-quick-input .lp-sc-send { margin-left: auto; padding: 2px 8px; border-radius: 4px; background: var(--accent); color: var(--accent-text); font-weight: 800; font-size: .7rem; }
.lp-sc-chip-row { display: flex; gap: .4rem; margin-bottom: .7rem; }
.lp-sc-chip { padding: .3rem .65rem; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 999px; font-size: .65rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: .3rem; }
.lp-sc-chip i { font-size: .7rem; }
.lp-sc-items { display: flex; flex-direction: column; gap: .4rem; }
.lp-sc-item { padding: .5rem .7rem; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 6px; font-size: .7rem; color: var(--text-primary); display: flex; align-items: center; gap: .5rem; }
.lp-sc-item i { color: var(--text-muted); font-size: .75rem; }

/* ─── FEATURE 10: Time ─── */
.lp-sc-team { font-family: 'DM Sans', sans-serif; display: flex; flex-direction: column; gap: .4rem; }
.lp-sc-team-row { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; font-size: .72rem; color: var(--text-primary); }
.lp-sc-team-row.pending { border-style: dashed; color: var(--text-muted); }
.lp-sc-avatar { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 800; color: #fff; }
.lp-sc-avatar.a { background: #3b82f6; }
.lp-sc-avatar.b { background: #ec4899; }
.lp-sc-avatar.c { background: #a855f7; }
.lp-sc-avatar.p { background: var(--bg-primary); color: var(--text-muted); border: 1px dashed var(--border-color); }
.lp-sc-team-name { flex: 1; }
.lp-sc-team-role { font-size: .58rem; padding: 2px 7px; border-radius: 4px; background: var(--bg-primary); color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.lp-sc-team-role.accepted { background: rgba(34,197,94,.1); color: var(--green); border: 1px solid rgba(34,197,94,.2); }
.lp-sc-team-notif { margin-top: .5rem; padding: .55rem .7rem; background: rgba(200,255,0,.06); border: 1px solid rgba(200,255,0,.2); border-radius: 8px; font-size: .7rem; color: var(--text-primary); display: flex; align-items: center; gap: .5rem; }
.lp-sc-team-notif i { color: var(--accent); }

/* ─── SOCIAL PROOF ─── */
.lp-proof { padding: 5rem 0; position: relative; z-index: 1; background: linear-gradient(180deg, rgba(200,255,0,.02) 0%, transparent 40%, transparent 60%, rgba(200,255,0,.02) 100%); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); overflow: hidden; }
.lp-proof-glow { position: absolute; top: 50%; left: 50%; width: 800px; height: 300px; transform: translate(-50%,-50%); background: radial-gradient(ellipse, rgba(200,255,0,.04) 0%, transparent 70%); pointer-events: none; }
.lp-proof-grid { display: flex; justify-content: center; align-items: center; gap: 3.5rem; }
.lp-proof-item { text-align: center; }
.lp-proof-icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(200,255,0,.08); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1rem; margin: 0 auto .75rem; }
.lp-proof-number { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 3.5rem; color: var(--accent); line-height: 1; margin-bottom: .5rem; font-variant-numeric: tabular-nums; }
.lp-proof-label { font-family: 'DM Sans', sans-serif; font-size: .88rem; color: var(--text-muted); max-width: 180px; line-height: 1.4; }
.lp-proof-divider { width: 1px; height: 64px; background: linear-gradient(180deg, transparent, var(--border-light), transparent); }

/* ─── HOW IT WORKS ─── */
.lp-how { padding: 5rem 0; position: relative; z-index: 1; }
.lp-steps { display: flex; align-items: stretch; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.lp-step { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 14px; padding: 2rem 1.5rem; text-align: center; width: 260px; transition: all .3s; display: flex; flex-direction: column; }
.lp-step:hover { border-color: var(--accent); }
.lp-step-number { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 2rem; color: var(--accent); opacity: .4; margin-bottom: .75rem; }
.lp-step h3 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: .5rem; }
.lp-step p { font-family: 'DM Sans', sans-serif; font-size: .85rem; color: var(--text-secondary); line-height: 1.5; margin-top: auto; }
.lp-step-arrow { display: flex; align-items: center; padding-top: 2rem; }

/* Step mockups */
.lp-step-mockup { margin-bottom: 1rem; }
.lp-step-mock-form { display: flex; flex-direction: column; gap: .4rem; }
.lp-step-mock-input, .lp-step-mock-textarea { background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 8px; padding: .5rem .6rem; text-align: left; }
.lp-step-mock-textarea { min-height: 36px; }
.lp-step-mock-label { display: block; font-size: .5rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: .15rem; }
.lp-step-mock-val { font-size: .65rem; color: var(--text-secondary); font-weight: 500; }
.lp-step-mock-agents { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; }
.lp-step-mock-agent { width: 100%; aspect-ratio: 1; border-radius: 10px; background: var(--bg-primary); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; transition: all .2s; padding: 6px; }
.lp-step-mock-agent.active { border-color: var(--accent); background: rgba(200,255,0,.08); box-shadow: 0 0 0 2px rgba(200,255,0,.15); }
.lp-step-ai-logo { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; background: white; padding: 3px; }
.lp-step-mock-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; }
.lp-step-mock-col { background: var(--bg-primary); border-radius: 8px; padding: .35rem; }
.lp-step-mock-col-h { font-size: .5rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .3px; padding: .2rem .3rem; margin-bottom: .25rem; }
.lp-step-mock-col-h.accent { color: var(--accent); }
.lp-step-mock-card { height: 16px; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: .2rem; }
.lp-step-mock-card.live { border-left: 2px solid var(--green); background: rgba(34,197,94,.04); }

/* ─── COMMAND CENTER (Métricas) ─── */
.lp-command-center { padding: 5rem 0; position: relative; z-index: 1; overflow: hidden; background: var(--bg-primary); }
.lp-cc-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(200,255,0,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(200,255,0,.03) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; z-index: 0; }
.lp-command-center .lp-section-inner { position: relative; z-index: 1; }

.lp-cc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.lp-cc-stat { position: relative; background: rgba(255,255,255,.03); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.06); border-radius: 16px; padding: 1.5rem 1.25rem; text-align: center; transition: all .3s; overflow: hidden; }
.lp-cc-stat:hover { border-color: rgba(200,255,0,.15); transform: translateY(-2px); }
.lp-cc-stat-glow { position: absolute; top: 20%; left: 50%; width: 80px; height: 80px; transform: translateX(-50%); background: radial-gradient(circle, rgba(200,255,0,.1) 0%, transparent 70%); pointer-events: none; }
.lp-cc-stat.featured { border-color: rgba(200,255,0,.2); box-shadow: 0 0 30px rgba(200,255,0,.05); }
.lp-cc-stat.featured .lp-cc-stat-glow { background: radial-gradient(circle, rgba(200,255,0,.18) 0%, transparent 70%); width: 100px; height: 100px; }
.lp-cc-stat-value { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 2rem; color: var(--text-primary); line-height: 1.2; position: relative; z-index: 1; }
.lp-cc-stat.featured .lp-cc-stat-value { color: var(--accent); font-size: 2.2rem; }
.lp-cc-stat-label { font-family: 'DM Sans', sans-serif; font-size: .75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-top: .35rem; position: relative; z-index: 1; }
.lp-cc-stat-trend { font-family: 'DM Sans', sans-serif; font-size: .72rem; font-weight: 600; margin-top: .5rem; position: relative; z-index: 1; color: var(--text-muted); }
.lp-cc-stat-trend.up { color: var(--green); }
.lp-cc-stat-trend.up::before { content: '\25B2 '; font-size: .55rem; }
.lp-cc-stat-trend.down { color: var(--green); }
.lp-cc-stat-trend.down::before { content: '\25BC '; font-size: .55rem; }

.lp-cc-chart-area { background: rgba(255,255,255,.03); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.06); border-radius: 16px; padding: 1.5rem; margin-bottom: 2rem; }
.lp-cc-chart-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; font-family: 'DM Sans', sans-serif; font-size: .8rem; font-weight: 600; color: var(--text-secondary); }
.lp-cc-chart-legend { display: flex; align-items: center; gap: .5rem; font-size: .72rem; color: var(--text-muted); }
.lp-cc-chart-legend .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.lp-cc-chart-legend .dot.accent { background: var(--accent); }
.lp-cc-chart-legend .dot.green { background: var(--green); }

.lp-cc-chart-bars { display: flex; align-items: flex-end; gap: .75rem; height: 140px; padding-bottom: 1.5rem; }
.lp-cc-bar-group { flex: 1; display: flex; align-items: flex-end; gap: 3px; height: 100%; position: relative; }
.lp-cc-bar-group > span { position: absolute; bottom: -1.4rem; left: 50%; transform: translateX(-50%); font-family: 'DM Sans', sans-serif; font-size: .62rem; color: var(--text-muted); font-weight: 500; }
.lp-cc-bar { flex: 1; border-radius: 4px 4px 0 0; height: 0; opacity: 0; }
.lp-cc-bar.accent { background: linear-gradient(180deg, var(--accent) 0%, rgba(200,255,0,.25) 100%); }
.lp-cc-bar.green { background: linear-gradient(180deg, var(--green) 0%, rgba(34,197,94,.25) 100%); }
.lp-visible .lp-cc-bar { animation: lp-cc-bar-grow .7s forwards cubic-bezier(.22,1,.36,1); }
.lp-visible .lp-cc-bar-group:nth-child(1) .lp-cc-bar { animation-delay: .1s; }
.lp-visible .lp-cc-bar-group:nth-child(2) .lp-cc-bar { animation-delay: .2s; }
.lp-visible .lp-cc-bar-group:nth-child(3) .lp-cc-bar { animation-delay: .3s; }
.lp-visible .lp-cc-bar-group:nth-child(4) .lp-cc-bar { animation-delay: .4s; }
.lp-visible .lp-cc-bar-group:nth-child(5) .lp-cc-bar { animation-delay: .5s; }
.lp-visible .lp-cc-bar-group:nth-child(6) .lp-cc-bar { animation-delay: .6s; }
.lp-visible .lp-cc-bar-group:nth-child(7) .lp-cc-bar { animation-delay: .7s; }
@keyframes lp-cc-bar-grow { to { height: var(--h, 50%); opacity: 1; } }

.lp-cc-scripts { display: flex; flex-direction: column; gap: .5rem; }
.lp-cc-script-row { display: flex; align-items: center; gap: .75rem; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 10px; padding: .75rem 1rem; font-family: 'DM Sans', sans-serif; transition: all .2s; }
.lp-cc-script-row:hover { border-color: rgba(200,255,0,.12); }
.lp-cc-rank { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: .9rem; color: var(--accent); min-width: 28px; }
.lp-cc-script-name { flex: 1; font-size: .85rem; font-weight: 600; color: var(--text-secondary); }
.lp-cc-script-badge { font-size: .68rem; font-weight: 700; padding: 3px 10px; border-radius: 6px; background: rgba(255,255,255,.05); color: var(--text-muted); border: 1px solid rgba(255,255,255,.06); white-space: nowrap; }
.lp-cc-script-badge.good { background: rgba(34,197,94,.1); color: var(--green); border-color: rgba(34,197,94,.2); }

/* ─── TERMINAL SECTION (Agentes) ─── */
.lp-terminal-section { padding: 5rem 0; position: relative; z-index: 1; overflow: visible; }

/* Floating AI brand icons — BIG, ON terminal edges */
.lp-ai-orbit { position: absolute; inset: -40px; pointer-events: none; z-index: 20; }
.lp-ai-brand { position: absolute; display: flex; flex-direction: column; align-items: center; gap: .4rem; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 16px; padding: .85rem 1rem; box-shadow: 0 12px 40px rgba(0,0,0,.7), 0 0 40px rgba(200,255,0,.06); }
.lp-ai-brand img { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; display: block; background: white; padding: 4px; }
.lp-ai-brand span { font-family: 'DM Sans', sans-serif; font-size: .65rem; font-weight: 700; letter-spacing: .03em; color: var(--text-primary); }
.lp-ai-float-1 { animation: lp-orbit-1 6s ease-in-out infinite; }
.lp-ai-float-2 { animation: lp-orbit-2 7s ease-in-out infinite .5s; }
.lp-ai-float-3 { animation: lp-orbit-3 5s ease-in-out infinite 1s; }
.lp-ai-float-4 { animation: lp-orbit-1 8s ease-in-out infinite 1.5s; }
.lp-ai-float-5 { animation: lp-orbit-2 6.5s ease-in-out infinite 2s; }
.lp-ai-float-6 { animation: lp-orbit-3 7.5s ease-in-out infinite .8s; }
@keyframes lp-orbit-1 { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(8px, -12px); } 50% { transform: translate(-4px, -20px); } 75% { transform: translate(12px, -8px); } }
@keyframes lp-orbit-2 { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(-10px, 8px); } 50% { transform: translate(6px, 16px); } 75% { transform: translate(-8px, 4px); } }
@keyframes lp-orbit-3 { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(10px, -10px); } 66% { transform: translate(-6px, 12px); } }
.lp-terminal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 1.5rem; margin-bottom: 2.5rem; position: relative; overflow: visible; }

.lp-agent-roster { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 14px; padding: .75rem; display: flex; flex-direction: column; gap: 2px; }
.lp-roster-header { font-family: 'DM Sans', sans-serif; font-size: .62rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; padding: .6rem .75rem .5rem; }
.lp-roster-item { display: flex; align-items: center; gap: .6rem; padding: .6rem .75rem; border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: .8rem; font-weight: 500; color: var(--text-secondary); cursor: default; transition: all .2s; }
.lp-roster-item:hover { background: rgba(255,255,255,.03); }
.lp-roster-item i { font-size: .75rem; color: var(--text-muted); width: 18px; text-align: center; }
.lp-roster-item span:first-of-type { flex: 1; }
.lp-roster-item.active { background: rgba(200,255,0,.06); border-left: 2px solid var(--accent); color: var(--text-primary); font-weight: 600; }
.lp-roster-item.active i { color: var(--accent); }
.lp-roster-tag { font-size: .55rem; font-weight: 700; color: var(--green); background: rgba(34,197,94,.1); padding: 2px 7px; border-radius: 4px; text-transform: uppercase; letter-spacing: .3px; }
.lp-roster-item.custom { border: 1px dashed var(--border-light); margin-top: .25rem; }
.lp-roster-item.custom i { color: var(--accent); }
.lp-roster-item.custom span { color: var(--text-muted); }

.lp-terminal { background: #0a0a0a; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; overflow: hidden; }
.lp-terminal-chrome { display: flex; align-items: center; gap: .75rem; padding: .65rem 1rem; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.06); }
.lp-terminal-dots { display: flex; gap: 5px; }
.lp-terminal-dots span { width: 10px; height: 10px; border-radius: 50%; }
.lp-terminal-dots span:nth-child(1) { background: #ff5f57; }
.lp-terminal-dots span:nth-child(2) { background: #febc2e; }
.lp-terminal-dots span:nth-child(3) { background: #28c840; }
.lp-terminal-title { font-family: 'DM Sans', sans-serif; font-size: .75rem; font-weight: 600; color: var(--text-muted); }
.lp-terminal-body { padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; min-height: 240px; }
.lp-terminal-line { font-family: 'DM Sans', sans-serif; font-size: .85rem; line-height: 1.6; color: var(--text-secondary); }
.lp-terminal-line.system { color: var(--text-muted); font-size: .8rem; }
.lp-terminal-line.ai .lp-t-output { margin-top: .35rem; }
.lp-terminal-line.ai .lp-t-output strong { color: var(--accent); }
.lp-t-prompt { display: inline-block; font-family: 'Outfit', monospace; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 2px 8px; border-radius: 4px; margin-right: .5rem; vertical-align: middle; }
.lp-terminal-line.system .lp-t-prompt { background: rgba(255,255,255,.06); color: var(--text-muted); }
.lp-terminal-line.user .lp-t-prompt { background: rgba(59,130,246,.15); color: var(--blue); }
.lp-terminal-line.ai .lp-t-prompt.accent { background: rgba(200,255,0,.1); color: var(--accent); }
.lp-terminal-cursor { width: 8px; height: 16px; background: var(--accent); border-radius: 1px; animation: lp-blink 1s steps(2, start) infinite; margin-top: .25rem; }
@keyframes lp-blink { to { opacity: 0; } }

.lp-terminal-footer { text-align: center; max-width: 600px; margin: 0 auto; }
.lp-terminal-footer h3 { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.3rem; margin-bottom: .5rem; }
.lp-terminal-footer p { font-family: 'DM Sans', sans-serif; font-size: .9rem; color: var(--text-secondary); line-height: 1.6; }

/* ─── PRICING ─── */
.lp-pricing { padding: 5rem 0; position: relative; z-index: 1; }
.lp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}
.lp-price-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    position: relative;
    transition: transform .3s, border-color .3s, box-shadow .3s;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.lp-price-card:hover { transform: translateY(-4px); }
.lp-price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 16px 48px rgba(200,255,0,.08); }
.lp-price-popular { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); font-family: 'DM Sans', sans-serif; font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--accent-text); padding: .25rem .9rem; border-radius: 20px; white-space: nowrap; }
.lp-price-header { text-align: center; margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border-color); }
.lp-price-name { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: .95rem; color: var(--text-secondary); display: block; margin-bottom: .5rem; }
.lp-price-amount { display: flex; align-items: baseline; justify-content: center; gap: .15rem; flex-wrap: wrap; }
.lp-price-currency { font-family: 'DM Sans', sans-serif; font-size: .95rem; font-weight: 500; color: var(--text-muted); }
.lp-price-value { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(2.25rem, 3.5vw, 2.75rem); line-height: 1; color: var(--text-primary); }
.lp-price-cents { font-family: 'DM Sans', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--text-muted); }
.lp-price-period { font-family: 'DM Sans', sans-serif; font-size: .78rem; color: var(--text-muted); display: block; margin-top: .25rem; }
.lp-price-features { list-style: none; margin-bottom: 1.5rem; flex: 1; padding: 0; }
.lp-price-features li { font-family: 'DM Sans', sans-serif; font-size: .84rem; padding: .4rem 0; display: flex; align-items: center; gap: .55rem; color: var(--text-secondary); line-height: 1.35; }
.lp-price-features li.yes i { color: var(--green); font-size: .7rem; flex-shrink: 0; }
.lp-price-features li.no { opacity: .4; }
.lp-price-features li.no i { color: var(--red); font-size: .7rem; flex-shrink: 0; }
.lp-price-btn { width: 100%; font-family: 'DM Sans', sans-serif; font-size: .88rem; font-weight: 600; padding: .8rem; border-radius: 10px; cursor: pointer; transition: all .2s; border: 1px solid var(--border-light); background: transparent; color: var(--text-primary); margin-top: auto; display: inline-flex; align-items: center; justify-content: center; }
.lp-price-btn:hover { border-color: var(--text-primary); }
.lp-price-btn.accent { background: var(--accent); color: var(--accent-text); border-color: var(--accent); font-weight: 700; }
.lp-price-btn.accent:hover { background: var(--accent-hover); box-shadow: 0 8px 24px rgba(200,255,0,.2); }
.lp-price-divider { height: 1px; background: var(--border-color); margin-bottom: 1.25rem; }
.lp-price-divider.accent { background: linear-gradient(90deg, var(--accent), transparent); }
.lp-price-glow { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 80%; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.lp-pricing-note { font-family: 'DM Sans', sans-serif; font-size: .8rem; color: var(--text-muted); text-align: center; margin-top: 1.5rem; }

/* Tablet: 2 cols */
@media (max-width: 900px) {
    .lp-pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
    .lp-price-card { padding: 1.75rem 1.25rem; }
}
/* Mobile: single col */
@media (max-width: 560px) {
    .lp-pricing { padding: 3.5rem 0; }
    .lp-pricing-grid { grid-template-columns: minmax(0, 1fr); max-width: 420px; gap: 1rem; }
    .lp-price-card { padding: 1.75rem 1.5rem; border-radius: 14px; }
    .lp-price-card:hover { transform: none; }
    .lp-price-value { font-size: 2.5rem; }
    .lp-price-features li { font-size: .9rem; padding: .5rem 0; }
    .lp-price-btn { padding: .9rem; font-size: .92rem; }
}

/* ─── USE CASES ─── */
.lp-usecases { padding: 5rem 0; position: relative; z-index: 1; }
.lp-usecases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.lp-usecase { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 14px; padding: 1.75rem 1.75rem 1.75rem 2rem; text-align: left; transition: all .3s; position: relative; border-left: 3px solid var(--border-color); }
.lp-usecase.blue { border-left-color: var(--blue); }
.lp-usecase.green { border-left-color: var(--green); }
.lp-usecase.purple { border-left-color: var(--purple); }
.lp-usecase.orange { border-left-color: var(--orange); }
.lp-usecase:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.lp-usecase.blue:hover { border-left-color: var(--blue); border-color: var(--blue); }
.lp-usecase.green:hover { border-left-color: var(--green); border-color: var(--green); }
.lp-usecase.purple:hover { border-left-color: var(--purple); border-color: var(--purple); }
.lp-usecase.orange:hover { border-left-color: var(--orange); border-color: var(--orange); }
.lp-usecase-header { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.lp-usecase-header i { font-size: 1rem; color: var(--text-muted); }
.lp-usecase.blue .lp-usecase-header i { color: var(--blue); }
.lp-usecase.green .lp-usecase-header i { color: var(--green); }
.lp-usecase.purple .lp-usecase-header i { color: var(--purple); }
.lp-usecase.orange .lp-usecase-header i { color: var(--orange); }
.lp-usecase h3 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: .95rem; }
.lp-usecase p { font-family: 'DM Sans', sans-serif; font-size: .85rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: .75rem; }
.lp-usecase { position: relative; }
.lp-usecase-quote { padding-top: .75rem; border-top: 1px solid var(--border-color); }
.lp-usecase-avatar { position: absolute; top: -22px; right: 16px; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg-secondary); box-shadow: 0 4px 16px rgba(0,0,0,.5); transform: rotate(6deg); z-index: 2; }
.lp-usecase:nth-child(2) .lp-usecase-avatar { transform: rotate(-4deg); right: 24px; }
.lp-usecase:nth-child(3) .lp-usecase-avatar { transform: rotate(8deg); right: 20px; }
.lp-usecase:nth-child(4) .lp-usecase-avatar { transform: rotate(-6deg); right: 18px; }
.lp-usecase-quote-text { font-family: 'DM Sans', sans-serif; font-size: .8rem; font-style: italic; color: var(--text-muted); line-height: 1.5; }
.lp-usecase-quote-name { font-family: 'DM Sans', sans-serif; font-size: .7rem; font-weight: 600; color: var(--text-secondary); margin-top: .3rem; }

/* ─── FAQ ─── */
.lp-faq { padding: 5rem 0; position: relative; z-index: 1; }
.lp-faq-list { max-width: 700px; margin: 0 auto; }
.lp-faq-item { border: 1px solid var(--border-color); border-radius: 12px; margin-bottom: .75rem; overflow: hidden; cursor: pointer; transition: border-color .2s; }
.lp-faq-item:hover { border-color: var(--border-light); }
.lp-faq-item.open { border-color: var(--accent); }
.lp-faq-q { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: .9rem; }
.lp-faq-q i { font-size: .7rem; color: var(--text-muted); transition: transform .3s; }
.lp-faq-item.open .lp-faq-q i { transform: rotate(180deg); color: var(--accent); }
.lp-faq-a { font-family: 'DM Sans', sans-serif; font-size: .85rem; color: var(--text-secondary); line-height: 1.6; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding: 0 1.25rem; }
.lp-faq-item.open .lp-faq-a { max-height: 200px; padding: 0 1.25rem 1rem; }

/* ─── FINAL CTA ─── */
.lp-final-cta { padding: 6rem 0; position: relative; text-align: center; z-index: 1; overflow: hidden; }
.lp-final-glow { position: absolute; top: 50%; left: 50%; width: 700px; height: 400px; transform: translate(-50%,-50%); background: radial-gradient(ellipse, rgba(200,255,0,.06) 0%, transparent 70%); pointer-events: none; }
.lp-final-headline { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 2.2rem; line-height: 1.2; letter-spacing: -0.005em; margin-bottom: 1rem; }
.lp-final-sub { font-family: 'DM Sans', sans-serif; font-size: 1rem; color: var(--text-secondary); max-width: 480px; margin: 0 auto 2rem; line-height: 1.5; }

/* ─── FOOTER ─── */
.lp-footer { padding: 2rem 0; border-top: 1px solid var(--border-color); position: relative; z-index: 1; }
.lp-footer-inner { display: flex; align-items: center; justify-content: space-between; }
.lp-footer-inner p { font-family: 'DM Sans', sans-serif; font-size: .8rem; color: var(--text-muted); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .lp-hero { grid-template-columns: 1fr; text-align: center; padding: 4rem 1.5rem 2rem; }
    .lp-hero-sub { margin-left: auto; margin-right: auto; }
    .lp-hero-ctas { justify-content: center; }
    .lp-hero-stats { justify-content: center; }
    .lp-hero-visual { max-width: 500px; margin: 0 auto; }
    .lp-showcase-inner { grid-template-columns: 1fr !important; gap: 2rem; }
    .lp-showcase.reverse .lp-showcase-text { order: 0; }
    .lp-showcase.reverse .lp-showcase-visual { order: 0; }
    .lp-showcase-text {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: .85rem;
        row-gap: 0;
        align-items: center;
    }
    .lp-showcase-icon {
        grid-column: 1;
        grid-row: 1;
        width: 40px;
        height: 40px;
        font-size: 1rem;
        border-radius: 10px;
    }
    .lp-showcase-text h3 {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        font-size: 1.2rem;
        line-height: 1.25;
    }
    .lp-showcase-text p,
    .lp-showcase-bullets,
    .lp-feature-tags { grid-column: 1 / -1; }
    .lp-showcase-text p { margin-top: .75rem; }
    .lp-sc-week-grid { grid-template-columns: repeat(4, 1fr); }
    .lp-sc-kanban { grid-template-columns: 1fr; }
    .lp-sc-store-grid { grid-template-columns: repeat(3, 1fr); }
    .lp-proof-grid { flex-direction: column; gap: 2rem; }
    .lp-proof-divider { width: 64px; height: 1px; background: linear-gradient(90deg, transparent, var(--border-light), transparent); }
    .lp-steps { flex-direction: column; align-items: center; }
    .lp-step-arrow { display: none; }
    .lp-hero-headline { font-size: 2.2rem; }
    .lp-section-title { font-size: 1.5rem; }
    .lp-final-headline { font-size: 1.6rem; }
    .lp-nav-links { gap: .75rem; }
    .lp-nav-link { display: none; }
    .lp-footer-inner { flex-direction: column; gap: .75rem; text-align: center; }
    .lp-usecases-grid { grid-template-columns: 1fr; }
    .lp-float-card { display: none; }
    .lp-cc-stats { grid-template-columns: repeat(2, 1fr); }
    .lp-terminal-layout { grid-template-columns: 1fr; }
    .lp-ai-orbit { display: none; }
    .lp-agent-roster { flex-direction: row; flex-wrap: wrap; gap: .25rem; }
    .lp-roster-header { width: 100%; }
    .lp-roster-item { flex: 0 0 auto; }
    .lp-cc-chart-bars { gap: .4rem; }
    .lp-cc-script-row { flex-wrap: wrap; gap: .4rem; }
    .lp-cc-script-name { min-width: 0; }
}
@media (max-width: 600px) {
    .lp-proof-number { font-size: 2.5rem; }
}

/* ONBOARDING */
.onboarding-container { max-width: 700px; margin: 0 auto; padding: 3rem 1.5rem; text-align: center; }
.onboarding-step-indicator { font-size: .75rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.onboarding-title { font-size: 1.75rem; font-weight: 800; margin-bottom: 1rem; }
.onboarding-desc { font-size: 1rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ADMIN */
.admin-tabs { display: flex; gap: 2px; background: var(--bg-tertiary); border-radius: var(--radius-md); padding: 3px; margin-bottom: 1.25rem; flex-wrap: wrap; }
.admin-tab { flex: 1; padding: .6rem; border: none; background: transparent; color: var(--text-secondary); font-size: .8rem; font-weight: 600; cursor: pointer; border-radius: var(--radius-sm); transition: var(--transition); font-family: inherit; text-align: center; min-width: 100px; }
.admin-tab:hover { color: var(--text-primary); }
.admin-tab.active { background: var(--accent); color: var(--accent-text); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; padding: .75rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--border-color); }
.admin-table td { padding: .75rem; font-size: .85rem; border-bottom: 1px solid var(--border-color); }
.admin-table tr:hover td { background: var(--bg-hover); }
.toggle-switch { position: relative; display: inline-block; width: 36px; height: 20px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg-tertiary); border-radius: 10px; transition: var(--transition); }
.toggle-slider:before { content: ''; position: absolute; height: 14px; width: 14px; left: 3px; bottom: 3px; background: var(--text-muted); border-radius: 50%; transition: var(--transition); }
.toggle-switch input:checked + .toggle-slider { background: var(--accent); }
.toggle-switch input:checked + .toggle-slider:before { transform: translateX(16px); background: var(--accent-text); }

/* UTILITY */
.hidden { display: none !important; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* ROTINA DRAG & DROP */
.day-blocks.drag-over { background: var(--accent-light); border-radius: var(--radius-sm); transition: background .15s; }
.block-copy-btn { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: .15rem .3rem; border-radius: 4px; font-size: .7rem; transition: var(--transition); }
.block-copy-btn:hover { color: var(--accent); background: var(--accent-light); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Provider form extras — logo + model fetcher */
.prov-type-wrap { display: flex; align-items: center; gap: .6rem; }
.prov-type-logo { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; filter: brightness(1.15); background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 6px; padding: 3px; }
.prov-type-logo.empty { background: var(--bg-tertiary); border: 1px dashed var(--border-color); }
.prov-fetch-btn { background: var(--bg-primary); border: 1px solid var(--border-color); color: var(--text-muted); padding: .2rem .55rem; border-radius: 6px; font-size: .7rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem; transition: var(--transition); font-family: inherit; }
.prov-fetch-btn:hover { border-color: var(--accent); color: var(--accent); }
.provider-card-logo { width: 24px; height: 24px; object-fit: contain; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 5px; padding: 2px; flex-shrink: 0; }

/* Rich provider picker used on the Gerador page. Native <select> can't
   render per-option icons, so we build a custom dropdown + hidden input. */
.provider-select { position: relative; }
.ps-trigger { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .7rem .9rem; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 10px; color: var(--text-primary); cursor: pointer; text-align: left; font-family: inherit; transition: var(--transition); }
.ps-trigger:hover { border-color: var(--accent); }
.ps-trigger-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 8px; flex-shrink: 0; padding: 5px; }
.ps-trigger-icon img { width: 100%; height: 100%; object-fit: contain; }
.ps-trigger-icon i { color: var(--text-muted); }
.ps-trigger-main { flex: 1; display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.ps-trigger-name { font-size: .9rem; font-weight: 700; color: var(--text-primary); display: flex; align-items: center; gap: .4rem; }
.ps-trigger-model { font-size: .72rem; color: var(--text-muted); font-family: 'Fira Code', monospace; }
.ps-chev { color: var(--text-muted); font-size: .7rem; transition: transform .2s; }
.ps-trigger[aria-expanded="true"] .ps-chev { transform: rotate(180deg); }
.ps-badge { font-size: .55rem; font-weight: 800; letter-spacing: .08em; padding: 1px 6px; border-radius: 4px; background: rgba(200,255,0,.12); color: var(--accent); border: 1px solid rgba(200,255,0,.25); }

.ps-menu { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 100; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.35); padding: .35rem; max-height: 320px; overflow-y: auto; }
.ps-menu.hidden { display: none; }
.ps-group-label { padding: .5rem .75rem .25rem; font-size: .65rem; font-weight: 800; letter-spacing: .08em; color: var(--text-muted); text-transform: uppercase; }
.ps-option { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .5rem .7rem; background: transparent; border: 0; border-radius: 8px; cursor: pointer; text-align: left; font-family: inherit; color: var(--text-primary); transition: background .12s; }
.ps-option:hover { background: var(--bg-primary); }
.ps-option.active { background: rgba(200,255,0,.08); }
.ps-opt-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 6px; padding: 4px; flex-shrink: 0; }
.ps-opt-icon img { width: 100%; height: 100%; object-fit: contain; }
.ps-opt-icon i { color: var(--text-muted); font-size: .85rem; }
.ps-opt-body { flex: 1; display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.ps-opt-name { font-size: .85rem; font-weight: 600; display: flex; align-items: center; gap: .35rem; }
.ps-opt-model { font-size: .7rem; color: var(--text-muted); font-family: 'Fira Code', monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-check { color: var(--accent); font-size: .75rem; }

/* Tier + credits badges */
.ps-tier { font-size: .6rem; font-weight: 800; letter-spacing: .04em; padding: 1px 6px; border-radius: 4px; margin-left: .4rem; border: 1px solid; }
.ps-tier-free { background: rgba(34,197,94,.12); color: #22c55e; border-color: rgba(34,197,94,.3); }
.ps-tier-cheap { background: rgba(34,197,94,.08); color: #22c55e; border-color: rgba(34,197,94,.2); }
.ps-tier-mid { background: rgba(234,179,8,.08); color: #eab308; border-color: rgba(234,179,8,.25); }
.ps-tier-expensive { background: rgba(239,68,68,.08); color: #f87171; border-color: rgba(239,68,68,.25); }

.ps-group-label { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .5rem .75rem .25rem; }
.ps-credits { font-size: .65rem; font-weight: 600; color: var(--text-muted); display: inline-flex; align-items: center; gap: .25rem; text-transform: none; letter-spacing: 0; }
.ps-credits i { font-size: .6rem; color: var(--accent); }
.ps-credits-low { color: #f87171; }
.ps-credits-low i { color: #f87171; }

/* Gerador — top header row with Saldo */
.gen-header-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.gen-header-title { margin: 0; font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; gap: .5rem; }
.gen-saldo { position: relative; min-width: 220px; padding: .85rem 1.1rem; border-radius: 12px; background: var(--bg-primary); border: 1px solid var(--border-color); display: flex; flex-direction: column; gap: .15rem; overflow: hidden; transition: var(--transition); }
.gen-saldo.gen-saldo-ok { border-color: rgba(34,197,94,.3); background: linear-gradient(135deg, rgba(34,197,94,.06), transparent 70%), var(--bg-primary); }
.gen-saldo.gen-saldo-low { border-color: rgba(234,179,8,.35); background: linear-gradient(135deg, rgba(234,179,8,.06), transparent 70%), var(--bg-primary); }
.gen-saldo.gen-saldo-empty { border-color: rgba(239,68,68,.35); background: linear-gradient(135deg, rgba(239,68,68,.06), transparent 70%), var(--bg-primary); }
.gen-saldo-label { font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); display: inline-flex; align-items: center; gap: .35rem; }
.gen-saldo-label i { color: var(--accent); }
.gen-saldo-value { font-family: 'Poppins', 'Inter', sans-serif; font-size: 2rem; font-weight: 800; line-height: 1.05; color: var(--text-primary); letter-spacing: -.02em; }
.gen-saldo-ok .gen-saldo-value { color: #22c55e; }
.gen-saldo-low .gen-saldo-value { color: #eab308; }
.gen-saldo-empty .gen-saldo-value { color: #f87171; }
.gen-saldo-sub { font-size: .7rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.gen-saldo-bar { height: 4px; margin-top: .55rem; background: var(--bg-secondary); border-radius: 2px; overflow: hidden; }
.gen-saldo-bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent), rgba(200,255,0,.5)); border-radius: 2px; transition: width .4s ease; }
.gen-saldo-ok .gen-saldo-bar-fill { background: linear-gradient(90deg, #22c55e, rgba(34,197,94,.5)); }
.gen-saldo-low .gen-saldo-bar-fill { background: linear-gradient(90deg, #eab308, rgba(234,179,8,.5)); }
.gen-saldo-empty .gen-saldo-bar-fill { background: linear-gradient(90deg, #f87171, rgba(239,68,68,.5)); }
@media (max-width: 600px) {
    .gen-header-row { flex-direction: column; }
    .gen-saldo { align-self: stretch; min-width: 0; }
}

/* Gerador page header row (title + wide saldo card side-by-side) */
.gen-page-header { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.gen-page-header > :first-child { flex: 1; margin-bottom: 0 !important; }

.gen-saldo-wide { flex-direction: row; align-items: center; gap: 1.1rem; padding: .7rem 1rem; min-width: 320px; max-width: 420px; }
.gen-saldo-wide .gen-saldo-left { display: flex; flex-direction: column; gap: .1rem; flex-shrink: 0; }
.gen-saldo-wide .gen-saldo-right { display: flex; flex-direction: column; gap: .35rem; flex: 1; min-width: 0; }
.gen-saldo-wide .gen-saldo-value { font-size: 1.6rem; }
.gen-saldo-wide .gen-saldo-bar { margin-top: 0; }

/* Tall model menu with search bar */
.ps-menu-tall { max-height: 420px; }
.ps-search-wrap { display: flex; align-items: center; gap: .5rem; padding: .5rem .65rem; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; background: var(--bg-card); z-index: 1; }
.ps-search-wrap i.fa-search { color: var(--text-muted); font-size: .8rem; }
.ps-search-wrap input { flex: 1; background: transparent; border: 0; color: var(--text-primary); font-size: .85rem; outline: none; font-family: inherit; }
.ps-search-wrap input::placeholder { color: var(--text-muted); }
.ps-search-apply { background: var(--accent); color: var(--accent-text); border: 0; padding: .35rem .7rem; border-radius: 6px; font-size: .7rem; font-weight: 700; cursor: pointer; font-family: inherit; }
.ps-model-list { padding: .35rem; }

/* Inline price chip on model options — API-derived when available */
.ps-price { font-size: .6rem; font-weight: 700; color: var(--text-muted); padding: 1px 6px; border-radius: 4px; border: 1px solid var(--border-color); background: var(--bg-primary); margin-left: .35rem; font-family: 'Fira Code', monospace; white-space: nowrap; }

/* Stabilize trigger dimensions so switching provider/model doesn't reflow
   the page. Fixed min-height + single-line name with ellipsis. */
.ps-trigger { min-height: 62px; }
.ps-trigger-main { overflow: hidden; }
.ps-trigger-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ps-trigger-model { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
/* Key panel is absolutely out of flow — renders under the grid without
   pushing the rest of the form. A min-height reservation avoids jitter. */
.gen-key-panel { margin: 1rem 0 1rem; }

/* Provider picker — disabled trigger (no credentials yet) + inline key panel */
.ps-trigger-disabled { opacity: .6; cursor: not-allowed; pointer-events: none; }
.gen-key-panel { margin: .75rem 0 1.25rem; padding: 1rem 1.1rem; background: linear-gradient(135deg, rgba(200,255,0,.04), transparent 60%), var(--bg-primary); border: 1px dashed rgba(200,255,0,.3); border-radius: 12px; }
.gen-key-panel.hidden { display: none; }
.gen-key-panel-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.gen-key-panel-logo { width: 32px; height: 32px; object-fit: contain; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 6px; padding: 4px; flex-shrink: 0; }
.gen-key-panel-sub { font-size: .75rem; color: var(--text-muted); margin-top: .25rem; line-height: 1.4; }
.gen-key-panel-row { display: flex; gap: .5rem; margin: .5rem 0; }
.gen-key-panel-row .form-input { flex: 1; font-family: 'Fira Code', monospace; font-size: .8rem; }

/* ═══════════════════════════════════════════════════════════════
   ASSINATURA / PAGAMENTO — premium page design
   ═══════════════════════════════════════════════════════════════ */

/* Hero */
.pag-hero { position: relative; text-align: center; padding: 2.5rem 1.5rem 2rem; margin-bottom: 2rem; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, rgba(200,255,0,.04) 0%, transparent 60%); }
.pag-hero-glow { position: absolute; top: -50%; left: 50%; width: 600px; height: 400px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(200,255,0,.08) 0%, transparent 70%); pointer-events: none; }
.pag-hero-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.pag-hero-badge { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .9rem; background: rgba(200,255,0,.08); border: 1px solid rgba(200,255,0,.2); border-radius: 999px; color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 1rem; }
.pag-hero-title { font-family: 'Poppins', 'Inter', sans-serif; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.15; margin: 0 0 .5rem; }
.pag-hero-sub { font-size: 1rem; color: var(--text-secondary); line-height: 1.5; max-width: 520px; margin: 0 auto; }

/* Plans grid */
.pag-content { max-width: 1100px; margin: 0 auto; }
.pag-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.pag-plan-card { position: relative; padding: 2rem 1.75rem; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; cursor: pointer; transition: all .25s ease; overflow: hidden; display: flex; flex-direction: column; }
.pag-plan-card:hover { transform: translateY(-4px); border-color: rgba(200,255,0,.3); box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.pag-plan-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 40px rgba(200,255,0,.08); }
.pag-plan-glow { position: absolute; top: -80px; right: -80px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(200,255,0,.12) 0%, transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.pag-plan-card.featured .pag-plan-glow, .pag-plan-card:hover .pag-plan-glow { opacity: 1; }
.pag-plan-ribbon { position: absolute; top: 16px; right: 16px; padding: .25rem .65rem; background: var(--accent); color: var(--accent-text); font-size: .65rem; font-weight: 800; letter-spacing: .06em; border-radius: 999px; text-transform: uppercase; }
.pag-plan-head { margin-bottom: 1.25rem; }
.pag-plan-name { display: block; font-size: 1.25rem; font-weight: 800; color: var(--text-primary); margin-bottom: .35rem; }
.pag-plan-desc { display: block; font-size: .85rem; color: var(--text-muted); line-height: 1.4; }
.pag-plan-price { display: flex; align-items: baseline; gap: .2rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.pag-plan-currency { font-size: .95rem; font-weight: 600; color: var(--text-secondary); }
.pag-plan-reais { font-family: 'Poppins', sans-serif; font-size: 2.75rem; font-weight: 800; line-height: 1; color: var(--text-primary); }
.pag-plan-cents { font-size: 1.1rem; font-weight: 700; color: var(--text-secondary); }
.pag-plan-cycle { font-size: .85rem; color: var(--text-muted); margin-left: .2rem; }
.pag-plan-feats { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.pag-plan-feats li { display: flex; align-items: flex-start; gap: .5rem; font-size: .85rem; color: var(--text-secondary); line-height: 1.4; }
.pag-plan-feats li i { color: var(--accent); font-size: .75rem; margin-top: .25rem; flex-shrink: 0; }
.pag-plan-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; width: 100%; padding: .85rem 1rem; font-size: .9rem; font-weight: 700; border-radius: 10px; cursor: pointer; transition: all .2s; border: 1px solid transparent; font-family: inherit; }
.pag-plan-btn.primary { background: var(--accent); color: var(--accent-text); }
.pag-plan-btn.primary:hover { background: var(--accent-hover, var(--accent)); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(200,255,0,.2); }
.pag-plan-btn.ghost { background: transparent; color: var(--text-primary); border-color: var(--border-color); }
.pag-plan-btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Trust strip */
.pag-trust { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; padding: 1.5rem 1rem; margin-top: 1rem; border-top: 1px solid var(--border-color); }
.pag-trust-item { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--text-muted); }
.pag-trust-item i { color: var(--accent); }

/* Checkout */
.pag-checkout { max-width: 920px; margin: 0 auto; }
.pag-back { display: inline-flex; align-items: center; gap: .4rem; background: transparent; border: 0; color: var(--text-muted); font-size: .85rem; padding: .4rem 0; margin-bottom: 1rem; cursor: pointer; font-family: inherit; }
.pag-back:hover { color: var(--accent); }
.pag-checkout-grid { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }
.pag-checkout-form { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 2rem; }
.pag-section-title { font-size: 1.25rem; font-weight: 800; margin: 0 0 1.5rem; font-family: 'Poppins', sans-serif; }

.pag-form-group { margin-bottom: 1.25rem; }
.pag-form-label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .5rem; }
.pag-form-input { width: 100%; padding: .85rem 1rem; background: var(--bg-input, var(--bg-primary)); border: 1px solid var(--border-color); border-radius: 10px; color: var(--text-primary); font-size: 1rem; font-family: inherit; transition: var(--transition); }
.pag-form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,255,0,.12); outline: none; }
.pag-form-hint { display: block; margin-top: .35rem; font-size: .7rem; color: var(--text-muted); }

/* Payment method tabs */
.pag-methods { display: flex; flex-direction: column; gap: .6rem; }
.pag-method { display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 12px; cursor: pointer; transition: all .2s; text-align: left; font-family: inherit; }
.pag-method:hover { border-color: var(--text-muted); }
.pag-method.active { border-color: var(--accent); background: rgba(200,255,0,.04); box-shadow: 0 0 0 1px var(--accent); }
.pag-method-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--bg-secondary); color: var(--text-secondary); font-size: 1.1rem; flex-shrink: 0; }
.pag-method.active .pag-method-icon { background: var(--accent); color: var(--accent-text); }
.pag-method-body { flex: 1; min-width: 0; }
.pag-method-label { font-size: .95rem; font-weight: 700; color: var(--text-primary); }
.pag-method-sub { font-size: .75rem; color: var(--text-muted); margin-top: .15rem; }
.pag-method-check { color: var(--accent); opacity: 0; font-size: 1rem; transition: opacity .15s; }
.pag-method.active .pag-method-check { opacity: 1; }

.pag-error { padding: .75rem 1rem; background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.25); border-radius: 10px; color: #f87171; font-size: .85rem; margin-bottom: 1rem; }

.pag-submit { width: 100%; padding: 1rem; font-size: 1rem; font-weight: 800; background: var(--accent); color: var(--accent-text); border: 0; border-radius: 10px; cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: inherit; letter-spacing: .02em; }
.pag-submit:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(200,255,0,.22); }
.pag-submit:disabled { opacity: .6; cursor: not-allowed; }
.pag-submit-trust { text-align: center; font-size: .75rem; color: var(--text-muted); margin-top: .75rem; display: flex; align-items: center; justify-content: center; gap: .4rem; }

/* Summary sidebar */
.pag-summary { position: sticky; top: 1rem; padding: 1.75rem; background: linear-gradient(180deg, rgba(200,255,0,.04), transparent 60%), var(--bg-card); border: 1px solid rgba(200,255,0,.2); border-radius: 16px; }
.pag-summary-label { font-size: .65rem; font-weight: 800; letter-spacing: .08em; color: var(--accent); margin-bottom: .5rem; }
.pag-summary-plan { font-family: 'Poppins', sans-serif; font-size: 1.4rem; font-weight: 800; margin-bottom: .35rem; }
.pag-summary-desc { font-size: .8rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.4; }
.pag-summary-price { display: flex; align-items: baseline; gap: .2rem; flex-wrap: wrap; }
.pag-summary-currency { font-size: .85rem; color: var(--text-secondary); }
.pag-summary-value { font-family: 'Poppins', sans-serif; font-size: 2.25rem; font-weight: 800; line-height: 1; color: var(--accent); }
.pag-summary-cycle { font-size: .8rem; color: var(--text-muted); }
.pag-summary-divider { height: 1px; background: var(--border-color); margin: 1.25rem 0; }
.pag-summary-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.pag-summary-feats li { display: flex; align-items: flex-start; gap: .4rem; font-size: .8rem; color: var(--text-secondary); line-height: 1.4; }
.pag-summary-feats li i { color: var(--accent); font-size: .7rem; margin-top: .2rem; flex-shrink: 0; }

/* Payment result states */
.pag-result { max-width: 560px; margin: 0 auto; }
.pag-pix { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 2rem; text-align: center; }
.pag-pix-header { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; text-align: left; }
.pag-pix-header i { font-size: 2rem; color: var(--accent); }
.pag-pix-title { font-size: 1.2rem; font-weight: 800; }
.pag-pix-sub { font-size: .8rem; color: var(--text-muted); }
.pag-pix-qr { width: 220px; height: 220px; margin: 0 auto 1.25rem; display: block; border-radius: 12px; background: white; padding: 8px; }
.pag-pix-code { background: var(--bg-primary); border: 1px dashed var(--border-color); border-radius: 10px; padding: 1rem; font-family: 'Fira Code', monospace; font-size: .75rem; word-break: break-all; margin-bottom: 1rem; color: var(--text-secondary); max-height: 96px; overflow-y: auto; text-align: left; }
.pag-pix-copy { width: 100%; padding: .85rem; background: var(--accent); color: var(--accent-text); border: 0; border-radius: 10px; font-size: .95rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: all .2s; font-family: inherit; }
.pag-pix-copy:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(200,255,0,.2); }

.pag-boleto { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 2.5rem 2rem; text-align: center; }
.pag-boleto-icon { width: 64px; height: 64px; border-radius: 16px; background: rgba(59,130,246,.1); color: #3b82f6; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; margin: 0 auto 1rem; }
.pag-boleto-title { font-size: 1.25rem; font-weight: 800; margin-bottom: .35rem; }
.pag-boleto-sub { font-size: .9rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.5; }
.pag-boleto-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; background: var(--accent); color: var(--accent-text); border-radius: 10px; font-weight: 700; text-decoration: none; }
.pag-boleto-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(200,255,0,.2); }

.pag-card-pending { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 2.5rem 2rem; text-align: center; }
.pag-card-pending-icon { color: var(--green, #22c55e); font-size: 2.5rem; margin-bottom: 1rem; }
.pag-card-pending-title { font-size: 1.25rem; font-weight: 800; margin-bottom: .35rem; }
.pag-card-pending-sub { color: var(--text-muted); font-size: .9rem; }

.pag-polling { text-align: center; padding: 1rem; color: var(--text-muted); font-size: .85rem; margin: 1rem 0; display: flex; align-items: center; justify-content: center; gap: .5rem; }
.pag-polling.confirmed { color: var(--green, #22c55e); font-weight: 700; }
.pag-polling.confirmed i { font-size: 1rem; }

.pag-secondary-btn { width: 100%; padding: .85rem; background: transparent; color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 10px; cursor: pointer; font-size: .9rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: var(--transition); font-family: inherit; }
.pag-secondary-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Active subscription */
.pag-active-hero { position: relative; text-align: center; padding: 2.5rem 1.5rem; margin-bottom: 1.5rem; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, rgba(200,255,0,.06) 0%, transparent 70%); border: 1px solid rgba(200,255,0,.2); }
.pag-active-glow { position: absolute; top: 0; left: 50%; width: 500px; height: 300px; transform: translateX(-50%); background: radial-gradient(ellipse at top, rgba(200,255,0,.1) 0%, transparent 60%); pointer-events: none; }
.pag-active-badge { position: relative; display: inline-flex; align-items: center; gap: .4rem; padding: .4rem 1rem; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.3); color: var(--green, #22c55e); border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; margin-bottom: .85rem; }
.pag-active-plan { position: relative; font-family: 'Poppins', sans-serif; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; margin: 0 0 .5rem; }
.pag-active-price { position: relative; font-size: 1.25rem; color: var(--text-secondary); }
.pag-active-price span { color: var(--text-muted); font-size: .9rem; }

.pag-active-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.pag-active-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.25rem; }
.pag-active-card-label { display: flex; align-items: center; gap: .4rem; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .5rem; }
.pag-active-card-label i { color: var(--accent); font-size: .8rem; }
.pag-active-card-val { font-size: 1rem; font-weight: 700; color: var(--text-primary); }

.pag-active-feats-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 1.75rem; margin-bottom: 1.5rem; }
.pag-active-feats-title { font-size: .95rem; font-weight: 800; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.pag-active-feats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .65rem; }
.pag-active-feats li { display: flex; align-items: flex-start; gap: .5rem; font-size: .85rem; color: var(--text-secondary); line-height: 1.4; }
.pag-active-feats li i { color: var(--accent); font-size: .75rem; margin-top: .25rem; flex-shrink: 0; }

.pag-active-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.pag-danger-btn { padding: .75rem 1.25rem; background: transparent; color: #f87171; border: 1px solid rgba(239,68,68,.3); border-radius: 10px; font-size: .85rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; transition: var(--transition); font-family: inherit; }
.pag-danger-btn:hover { background: rgba(239,68,68,.08); border-color: #f87171; }

/* Responsive */
@media (max-width: 768px) {
    .pag-checkout-grid { grid-template-columns: 1fr; }
    .pag-summary { position: static; order: -1; }
    .pag-plan-reais { font-size: 2.25rem; }
    .pag-hero { padding: 2rem 1rem 1.5rem; }
    .pag-trust { gap: 1rem; }
}
