/* Córtalo — tema claro con azules y acento coral */
@font-face { font-family: 'Montserrat'; font-weight: 700; src: url('../fonts/Montserrat-Bold.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Montserrat'; font-weight: 800; src: url('../fonts/Montserrat-ExtraBold.ttf') format('truetype'); font-display: swap; }

:root {
  --bg: #F5F9FF;
  --surface: #FFFFFF;
  --sky: #E8F3FF;
  --sky-2: #D6E9FF;
  --blue: #2F80ED;
  --blue-2: #5AA9FF;
  --blue-dark: #1B5FBF;
  --ink: #0F2A44;
  --muted: #5B7189;
  --line: #DCE8F5;
  --coral: #FF7A59;
  --coral-dark: #EE5F3D;
  --green: #12A66A;
  --green-bg: #E5F7EF;
  --red: #D9423A;
  --red-bg: #FDECEB;
  --amber: #B7791F;
  --amber-bg: #FFF5E0;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(31, 89, 160, .08);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --display: 'Montserrat', var(--font);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.01em; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1.02rem; }
img { max-width: 100%; }
code { background: var(--sky); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.hint { color: var(--muted); font-size: .86rem; margin: .4em 0; }
.center { text-align: center; }
.pos { color: var(--green); font-weight: 700; }
.neg { color: var(--red); font-weight: 700; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; border: 0; border-radius: 12px; padding: .7em 1.2em; font: 700 .95rem var(--font); cursor: pointer; transition: transform .08s, background .15s, box-shadow .15s; text-decoration: none !important; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-dark); }
.btn.accent { background: var(--coral); color: #fff; box-shadow: 0 6px 16px rgba(255, 122, 89, .3); }
.btn.accent:hover { background: var(--coral-dark); }
.btn.ghost { background: var(--surface); color: var(--blue); border: 1.5px solid var(--sky-2); }
.btn.ghost:hover { background: var(--sky); }
.btn.danger { background: var(--red-bg); color: var(--red); }
.btn.small { padding: .45em .85em; font-size: .85rem; border-radius: 10px; }
.btn.big { padding: .95em 1.6em; font-size: 1.05rem; border-radius: 14px; }
.btn.block { display: flex; width: 100%; margin-top: 1em; }
.btn:disabled, .btn.disabled { opacity: .5; cursor: not-allowed; pointer-events: none; box-shadow: none; }

/* Formularios */
label { display: block; font-weight: 600; font-size: .88rem; margin: .7em 0; color: var(--ink); }
input, select, textarea { display: block; width: 100%; margin-top: .35em; padding: .7em .85em; border: 1.5px solid var(--line); border-radius: 11px; font: 400 .95rem var(--font); color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(90, 169, 255, .18); }
input[type=checkbox], input[type=radio] { display: inline-block; width: auto; margin: 0 .4em 0 0; accent-color: var(--blue); }
input[type=file] { padding: .55em; background: var(--sky); border-style: dashed; }
label.check { display: flex; align-items: flex-start; font-weight: 400; gap: .3em; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1em; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1em; }
.w-60 { width: 64px; } .w-90 { width: 96px; } .w-240 { max-width: 260px; }
form.inline { display: inline-flex; align-items: center; gap: .5em; flex-wrap: wrap; }
form.inline input { width: auto; margin: 0; }
.inline-label { display: inline-flex; align-items: center; gap: .4em; margin: 0; }
.inline-label input { margin: 0; }

/* Alertas */
.alert { padding: .85em 1em; border-radius: 12px; margin: 0 0 1em; font-size: .93rem; border: 1px solid transparent; }
.alert.success { background: var(--green-bg); color: #0B6E47; border-color: #BFE9D5; }
.alert.error { background: var(--red-bg); color: #A12A23; border-color: #F6C9C5; }
.alert.warning { background: var(--amber-bg); color: #8A5A10; border-color: #F5DFB1; }
.alert.info { background: var(--sky); color: var(--blue-dark); border-color: var(--sky-2); }

/* Barra superior */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 22px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; gap: 12px; }
.topbar.transparent { background: rgba(245, 249, 255, .85); backdrop-filter: blur(10px); border: 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 38px; width: auto; }
.badge-admin { background: var(--ink); color: #fff; font-size: .7rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.topbar-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.wallet { display: flex; gap: 6px; background: var(--sky); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: .85rem; color: var(--blue-dark); }
.wallet-free { color: var(--coral-dark); }
.dot { background: var(--coral); color: #fff; border-radius: 999px; font-size: .72rem; padding: 1px 7px; font-weight: 800; }

.tabs { display: flex; gap: 4px; padding: 8px 22px 0; background: var(--surface); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 10px 14px; color: var(--muted); font-weight: 600; font-size: .92rem; border-bottom: 3px solid transparent; white-space: nowrap; display: flex; align-items: center; gap: 6px; text-decoration: none; }
.tabs a.active { color: var(--blue); border-color: var(--blue); }
.tabs a:hover { color: var(--blue); }

.container { max-width: 1120px; margin: 0 auto; padding: 26px 20px 40px; }
.footer { text-align: center; color: var(--muted); font-size: .82rem; padding: 26px; }

/* Tarjetas */
.card { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); margin-bottom: 18px; }
.empty { text-align: center; padding: 30px; color: var(--muted); }
.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.grid-2col .card { margin: 0; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; color: var(--ink); text-decoration: none !important; }
.stat-label { font-size: .8rem; color: var(--muted); font-weight: 600; }
.stat-value { font: 800 1.7rem var(--display); margin: 2px 0; color: var(--ink); }
.stat-sub { font-size: .78rem; color: var(--muted); }
.stat.link:hover { border-color: var(--blue-2); }
.stat.alert-stat { background: linear-gradient(135deg, #FFF3EF, #fff); border-color: #FFD3C6; }
.stat.alert-stat .stat-value { color: var(--coral-dark); }

.hero-mini { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.hero-mini h1 { margin-bottom: .15em; }

/* Tablas */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 10px; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
.table td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table td input { margin: 0; }
.table .num { text-align: right; }
.table tr:last-child td { border-bottom: 0; }
.ellipsis { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-blocked td { opacity: .55; }

.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: var(--sky); color: var(--blue-dark); }
.pill.ready, .pill.approved { background: var(--green-bg); color: #0B6E47; }
.pill.failed, .pill.rejected, .pill.refunded { background: var(--red-bg); color: #A12A23; }
.pill.pending, .pill.transcribed, .pill.transcribing { background: var(--amber-bg); color: #8A5A10; }

/* Login / registro */
.auth-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: radial-gradient(circle at 15% 10%, #DCEEFF 0, transparent 45%), radial-gradient(circle at 90% 90%, #FFE6DE 0, transparent 40%), var(--bg); }
.auth-card { width: 100%; max-width: 430px; background: var(--surface); border-radius: 22px; padding: 30px; box-shadow: 0 20px 60px rgba(31, 89, 160, .12); border: 1px solid var(--line); }
.auth-card.wide { max-width: 720px; }
.auth-logo { display: block; text-align: center; margin-bottom: 18px; }
.auth-logo img { height: 52px; }
.auth-links { text-align: center; font-size: .9rem; margin: .8em 0 0; }
.req-list, .steps-list, .checklist, .tips { padding-left: 1.2em; }
.req-list { list-style: none; padding: 0; }
.req-list li { padding: 4px 0; }
.req-list li.bad { color: var(--red); font-weight: 600; }
.test-result { margin-top: .7em; font-weight: 600; font-size: .9rem; }
.test-result.ok { color: var(--green); }
.test-result.bad { color: var(--red); }

/* Precios */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 16px 0; }
.price-card { position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px; padding: 22px 18px; text-align: center; box-shadow: var(--shadow); }
.price-card.featured { border-color: var(--coral); box-shadow: 0 10px 30px rgba(255, 122, 89, .18); transform: translateY(-4px); }
.ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--coral); color: #fff; font-size: .72rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.price { font: 800 2rem var(--display); color: var(--ink); }
.price-bs { color: var(--muted); font-size: .85rem; }
.credits { font-weight: 800; color: var(--blue); margin: 10px 0 2px; }
.per-min { font-size: .78rem; color: var(--muted); }

.amount-box { background: linear-gradient(135deg, var(--sky), #fff); border: 1.5px solid var(--sky-2); border-radius: 14px; padding: 16px; text-align: center; margin: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.amount-box strong { font: 800 2rem var(--display); color: var(--blue-dark); }
.amount-box small { color: var(--muted); margin-bottom: 8px; }
.pm-data { margin: 0; }
.pm-data div { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); gap: 10px; }
.pm-data dt { color: var(--muted); font-size: .85rem; width: 110px; }
.pm-data dd { margin: 0; font-weight: 700; flex: 1; }
.copy { border: 0; background: var(--sky); color: var(--blue); font-weight: 700; padding: 5px 10px; border-radius: 8px; cursor: pointer; font-size: .8rem; }
.copy.copied, [data-copy].copied { background: var(--green-bg); color: var(--green); }
.back { display: inline-block; margin-bottom: 12px; font-weight: 600; }

/* Admin */
.filter-tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.filter-tabs a { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: .88rem; text-decoration: none; }
.filter-tabs a.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.recharge-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.recharge-body { display: flex; gap: 18px; align-items: flex-start; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; margin: 0; flex: 1; font-size: .9rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.receipt-thumb { width: 130px; flex-shrink: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--sky); display: flex; align-items: center; justify-content: center; min-height: 90px; font-weight: 700; }
.receipt-thumb img { display: block; width: 100%; }
.recharge-actions { display: flex; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); flex-wrap: wrap; align-items: center; }
.card.recharge.pending { border-left: 4px solid var(--coral); }
.search { display: flex; gap: 8px; margin-bottom: 14px; }
.search input { margin: 0; }
details.actions summary { list-style: none; display: inline-flex; }
details.actions summary::-webkit-details-marker { display: none; }
.actions-panel { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-top: 8px; min-width: 240px; }
.actions-panel form + form { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 6px; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding: 5px 0; }
.card.setup { border-left: 4px solid var(--blue); }
.ai-slot .slot-head { display: flex; gap: 12px; align-items: flex-start; }
.slot-n { width: 34px; height: 34px; border-radius: 10px; background: var(--sky); color: var(--blue); font: 800 1rem var(--display); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.slot-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.saved-key { font-size: .85rem; color: var(--green); margin: 0; }
details.advanced { margin-top: 8px; }
details.advanced summary { cursor: pointer; color: var(--blue); font-weight: 600; font-size: .88rem; }

/* Editor */
.editor-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px; align-items: start; }
.editor-grid .card { margin: 0; }
.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px dashed var(--sky-2); border-radius: 16px; background: var(--sky); min-height: 230px; cursor: pointer; text-align: center; padding: 20px; margin: 0; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.drag { border-color: var(--blue-2); background: #DDEEFF; }
.dropzone input { display: none; }
.dropzone.compact { min-height: 0; padding: 10px; }
.dz-icon { font-size: 2.6rem; }
.dz-change { font-weight: 700; color: var(--blue); }
.preview { width: 100%; max-height: 360px; border-radius: 14px; background: #000; margin-top: 12px; display: block; }
.file-info { margin-top: 10px; font-size: .88rem; color: var(--muted); }
.cost-info { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--sky); font-size: .92rem; }
.cost-info.good { background: var(--green-bg); color: #0B6E47; }
.cost-info.bad { background: var(--red-bg); color: #A12A23; }
.opt-group { margin-bottom: 18px; }
.opt-label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.opt-label small { color: var(--muted); font-weight: 500; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { flex: 1; min-width: 70px; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 8px; font: 700 .88rem var(--font); color: var(--muted); cursor: pointer; }
.seg button.on { border-color: var(--blue); background: var(--sky); color: var(--blue-dark); }
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fmt { margin: 0; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 8px; text-align: center; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 600; position: relative; }
.fmt input { position: absolute; opacity: 0; }
.fmt small { color: var(--muted); font-size: .72rem; font-weight: 500; line-height: 1.25; }
.fmt:has(input:checked) { border-color: var(--blue); background: var(--sky); }
.fmt-box { display: block; border: 2.5px solid var(--blue-2); border-radius: 5px; margin-bottom: 4px; }
.fmt-box.r916 { width: 20px; height: 34px; } .fmt-box.r11 { width: 28px; height: 28px; } .fmt-box.r169 { width: 40px; height: 23px; }
.sub-styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sub-styles button { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 8px; font: 600 .78rem var(--font); color: var(--muted); cursor: pointer; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.sub-styles button.on { border-color: var(--blue); background: var(--sky); color: var(--blue-dark); }
.ss { display: block; width: 100%; background: linear-gradient(135deg, #3b4a5a, #1d2733); border-radius: 8px; padding: 10px 4px; font: 800 .82rem var(--display); color: #fff; text-shadow: 0 0 3px #000, 0 0 3px #000; }
.ss i { font-style: normal; }
.ss-clasico i { color: #FFE500; } .ss-coral i { color: #FF7A59; } .ss-azul i { color: #6CB8FF; } .ss-neon i { color: #39FF14; }
.ss-none { color: #9fb0c2; text-shadow: none; }
.toggles { display: flex; flex-direction: column; gap: 10px; }
.switch { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; cursor: pointer; }
.switch input { display: none; }
.switch span { width: 42px; height: 24px; background: var(--line); border-radius: 999px; position: relative; flex-shrink: 0; transition: background .15s; }
.switch span::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #fff; top: 3px; left: 3px; transition: left .15s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span::after { left: 21px; }

.progress-steps { list-style: none; padding: 0; margin: 10px 0 18px; }
.progress-steps li { padding: 10px 0 10px 36px; position: relative; color: var(--muted); font-weight: 600; }
.progress-steps li::before { content: ''; position: absolute; left: 0; top: 9px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); background: #fff; box-sizing: border-box; }
.progress-steps li.active { color: var(--ink); }
.progress-steps li.active::before { border-color: var(--blue); border-top-color: transparent; animation: spin 0.8s linear infinite; }
.progress-steps li.done { color: var(--green); }
.progress-steps li.done::before { content: '✓'; background: var(--green); border-color: var(--green); color: #fff; font-size: .8rem; display: flex; align-items: center; justify-content: center; }
.progress-steps li.failed::before { content: '!'; border-color: var(--red); background: var(--red); color: #fff; animation: none; display: flex; align-items: center; justify-content: center; font-size: .8rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.bar { height: 10px; background: var(--sky); border-radius: 999px; overflow: hidden; }
.bar div { height: 100%; width: 0; background: linear-gradient(90deg, var(--blue-2), var(--blue)); border-radius: 999px; transition: width .3s; }
.bar.small { height: 6px; margin: 6px 0; }
.err-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.results-head h2 { font-size: 1.5rem; margin: 0; }
.results-actions { display: flex; gap: 8px; }
.render-status { background: var(--surface); border: 1px solid var(--sky-2); border-radius: 12px; padding: 12px 16px; margin-bottom: 14px; font-weight: 600; position: sticky; top: 70px; z-index: 5; box-shadow: var(--shadow); }
.render-status small { color: var(--muted); font-weight: 500; }
.clip-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.clip-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.clip-top { display: flex; gap: 12px; align-items: center; }
.score { width: 58px; height: 58px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; background: var(--sky); color: var(--blue-dark); }
.score-n { font: 800 1.3rem var(--display); line-height: 1; }
.score small { font-size: .62rem; font-weight: 700; text-transform: uppercase; }
.score.hot { background: #FFE9E2; color: var(--coral-dark); }
.score.warm { background: var(--amber-bg); color: var(--amber); }
.clip-meta { flex: 1; min-width: 0; }
.clip-title { font: 800 1rem var(--display); border: 1.5px solid transparent; padding: 4px 6px; margin: 0 0 2px -6px; background: transparent; }
.clip-title:hover { border-color: var(--line); }
.clip-time { font-size: .8rem; color: var(--muted); margin: 0; }
.clip-reason { font-size: .86rem; color: var(--muted); margin: 0; }
.clip-controls { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; align-items: end; }
.clip-controls label { margin: 0; font-size: .76rem; }
.clip-controls input, .clip-controls select { padding: .45em .55em; font-size: .85rem; }
.clip-controls .clip-play { grid-column: 1 / -1; }
.clip-text summary { cursor: pointer; font-size: .82rem; color: var(--blue); font-weight: 600; }
.clip-text p { font-size: .84rem; color: var(--muted); background: var(--bg); padding: 10px; border-radius: 10px; max-height: 140px; overflow: auto; }
.clip-formats { display: flex; gap: 6px; flex-wrap: wrap; }
.clip-outputs { display: flex; gap: 10px; flex-wrap: wrap; }
.output { background: var(--bg); border-radius: 12px; padding: 8px; flex: 1 1 140px; }
.output video { width: 100%; border-radius: 8px; background: #000; display: block; }
.output.r916 video { max-height: 340px; }
.output-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: .78rem; color: var(--muted); gap: 6px; flex-wrap: wrap; }

.modal { position: fixed; inset: 0; background: rgba(15, 42, 68, .6); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal.open { display: flex; }
.modal-box { background: #000; border-radius: 16px; max-width: 900px; width: 100%; position: relative; padding: 8px; }
.modal-box video { width: 100%; max-height: 80vh; display: block; border-radius: 10px; margin: 0; }
.modal-close { position: absolute; top: -14px; right: -14px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; font-weight: 800; cursor: pointer; z-index: 2; }

/* Landing */
.landing .topbar { padding: 14px 28px; }
.hero { max-width: 1120px; margin: 0 auto; padding: 50px 24px 30px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; background: var(--sky); color: var(--blue-dark); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem; margin-bottom: 16px; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: .4em; }
.hl { background: linear-gradient(90deg, var(--blue), var(--blue-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 1.08rem; color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 6px; }
.hero-visual { position: relative; display: flex; justify-content: center; padding: 20px; }
.phone { width: 230px; height: 430px; border-radius: 36px; background: var(--ink); padding: 10px; box-shadow: 0 30px 60px rgba(15, 42, 68, .25); transform: rotate(3deg); }
.phone-screen { width: 100%; height: 100%; border-radius: 28px; background: linear-gradient(170deg, #9ED0FF 0%, #5AA9FF 45%, #2F80ED 100%); position: relative; overflow: hidden; }
.fake-face { position: absolute; width: 120px; height: 120px; border-radius: 50%; background: #FFD9C7; left: 50%; top: 32%; transform: translate(-50%, -50%); box-shadow: 0 140px 0 30px #1B5FBF; }
.fake-sub { position: absolute; bottom: 26%; left: 0; right: 0; text-align: center; font: 800 1.15rem var(--display); color: #fff; text-shadow: 0 0 4px #000, 0 0 4px #000; }
.fake-sub .on { color: #FFE500; font-size: 1.3rem; }
.float-card { position: absolute; background: #fff; border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: .88rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.float-card.c1 { top: 40px; left: 0; }
.float-card.c2 { bottom: 50px; right: 0; }
.features { max-width: 1120px; margin: 0 auto; padding: 40px 24px; }
.features > h2 { text-align: center; font-size: 1.8rem; margin-bottom: 24px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 30px; }
.step { background: var(--surface); border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.step .n { display: inline-flex; width: 32px; height: 32px; border-radius: 10px; background: var(--blue); color: #fff; font: 800 1rem var(--display); align-items: center; justify-content: center; margin-bottom: 10px; }
.step p, .feature p { color: var(--muted); font-size: .9rem; margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature { background: linear-gradient(135deg, #fff, var(--sky)); border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); }
.feature > span { font-size: 1.7rem; }
.cta-final { text-align: center; padding: 50px 24px; margin: 20px auto 0; max-width: 1120px; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; border-radius: 26px; }
.cta-final h2 { font-size: 2rem; }
.cta-final p { opacity: .9; }

@media (max-width: 860px) {
  .editor-grid, .grid-2col, .hero { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .phone { width: 190px; height: 350px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 14.5px; }
  .container { padding: 18px 14px 30px; }
  .topbar { padding: 10px 14px; }
  .brand img { height: 30px; }
  .tabs { padding: 6px 10px 0; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .steps, .feature-grid { grid-template-columns: 1fr; }
  .formats { grid-template-columns: repeat(3, 1fr); }
  .sub-styles { grid-template-columns: 1fr 1fr; }
  .clip-list { grid-template-columns: 1fr; }
  .recharge-body { flex-direction: column; }
  .kv { grid-template-columns: 110px 1fr; }
  .auth-card { padding: 22px; }
  .wallet { font-size: .78rem; padding: 5px 10px; }
}
