/* Screenova — white background, blue ONLY as a light accent. Professional, not too much blue. */
:root {
    --blue: #2563eb;
    --blue-light: #dbeafe;
    --blue-soft: #eff6ff;
    --ink: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --green: #16a34a;
    --amber: #d97706;
    --red: #dc2626;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: #fff; line-height: 1.55; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: #fff; position: sticky; top: 0; z-index: 20; }
.site-header .container { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { font-size: 24px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a { color: #334155; font-weight: 500; font-size: 15px; }
.main-nav a:hover { color: var(--blue); text-decoration: none; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.user-chip { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #334155; }
.user-chip img { width: 30px; height: 30px; border-radius: 50%; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 10px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; background: var(--blue); color: #fff; }
.btn:hover { text-decoration: none; background: #1d4ed8; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-outline:hover { background: #f8fafc; }
.btn-sm { padding: 7px 14px; font-size: 14px; border-radius: 8px; }
.btn-danger { background: #fff; color: var(--red); border-color: #fecaca; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Hero */
.hero { text-align: center; padding: 72px 20px 40px; animation: fadeUp .7s ease both; }
.hero h1 { font-size: 52px; line-height: 1.08; margin: 0 0 18px; letter-spacing: -1.5px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; color: var(--muted); font-size: 14px; }
.hero-badges { display: flex; gap: 10px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.badge { background: var(--blue-soft); color: #1e40af; border: 1px solid var(--blue-light); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }

/* Studio preview card (hero visual) */
.studio-mock { max-width: 860px; margin: 36px auto 0; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 18px 40px rgba(15,23,42,.08); overflow: hidden; text-align: left; animation: fadeUp .8s .15s ease both; }
.studio-mock header { background: #0f172a; color: #fff; padding: 12px 18px; font-weight: 700; display: flex; justify-content: space-between; }
.studio-mock header span.tag { background: var(--blue); border-radius: 6px; padding: 2px 9px; font-size: 12px; }
.studio-mock .mock-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.studio-mock .mock-cell { padding: 20px; border-top: 1px solid var(--border); }
.studio-mock .mock-cell + .mock-cell { border-left: 1px solid var(--border); }
.studio-mock h3 { margin: 0 0 6px; font-size: 16px; }
.studio-mock p { margin: 0; color: var(--muted); font-size: 14px; }

/* Sections */
.section { padding: 56px 0; }
.section h2 { text-align: center; font-size: 32px; margin: 0 0 10px; letter-spacing: -.5px; }
.section .sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 36px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { border: 1px solid var(--border); border-radius: 14px; padding: 24px; background: #fff; animation: fadeUp .6s ease both; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .icon { font-size: 26px; margin-bottom: 10px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.price-card { border: 1px solid var(--border); border-radius: 16px; padding: 22px 18px; background: #fff; display: flex; flex-direction: column; position: relative; transition: transform .25s ease, box-shadow .25s ease; animation: fadeUp .6s ease both; }
.price-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(15,23,42,.10); }
.price-card.popular { border: 2px solid var(--blue); box-shadow: 0 10px 28px rgba(37,99,235,.14); }
.popular-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; white-space: nowrap; }
.price-card h3 { margin: 4px 0 0; font-size: 18px; text-align: center; }
.price-card .price { text-align: center; font-size: 26px; font-weight: 800; margin: 10px 0 2px; white-space: nowrap; }
.price-card .price small { font-size: 13px; color: var(--muted); font-weight: 500; }
.price-card .tagline { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 18px; font-size: 14px; }
.price-card li { padding: 5px 0; color: #334155; }
.price-card li::before { content: "✓ "; color: var(--green); font-weight: 700; }
.price-card .btn { margin-top: auto; justify-content: center; }

/* Drive banner */
.drive-banner { background: var(--blue-soft); border: 1px solid var(--blue-light); border-radius: 16px; padding: 30px; text-align: center; animation: fadeUp .6s ease both; }
.drive-banner h2 { margin: 0 0 8px; }
.drive-banner p { color: #334155; max-width: 640px; margin: 0 auto 18px; }

/* Forms */
.form-card { max-width: 720px; margin: 0 auto; }
label { display: block; font-weight: 600; font-size: 14px; margin: 16px 0 6px; }
input[type=text], input[type=url], input[type=number], select, textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: 9px; font-size: 15px; font-family: inherit; }
input[type=file] { width: 100%; padding: 10px; border: 1px dashed var(--border); border-radius: 9px; }
.help { color: var(--muted); font-size: 13px; margin-top: 5px; }

/* Tables / lists */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); }
.table th { color: var(--muted); font-weight: 600; }
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #f1f5f9; color: #334155; }
.status-ready, .status-active { background: #dcfce7; color: #166534; }
.status-pending, .status-queued, .status-uploading, .status-processing { background: #fef3c7; color: #92400e; }
.status-failed, .status-pending_provider { background: #fee2e2; color: #991b1b; }

/* Flash */
.flash { padding: 12px 16px; border-radius: 10px; margin: 18px 0; font-size: 15px; }
.flash-success { background: #dcfce7; color: #166534; }
.flash-error { background: #fee2e2; color: #991b1b; }
.flash-warning, .flash-info { background: #fef3c7; color: #92400e; }

/* Studio */
.studio-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
.preview-box { background: #0f172a; border-radius: 14px; min-height: 300px; display: flex; align-items: center; justify-content: center; color: #94a3b8; overflow: hidden; }
.preview-box video { width: 100%; display: block; }
.timer { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rec-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--red); display: inline-block; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .25; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 26px 0; color: var(--muted); font-size: 14px; }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

.page-head { padding: 40px 0 8px; }
.page-head h1 { font-size: 34px; margin: 0 0 8px; }
.page-head p { color: var(--muted); margin: 0; }
.mt { margin-top: 22px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-3, .studio-grid, .grid-2 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 36px; }
    .main-nav { display: none; }
    .studio-mock .mock-body { grid-template-columns: 1fr; }
}
