/* ─── VideoForge SaaS — Global Stylesheet ──────────────────────────────────── */

/* ─── CSS Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ─── Design Tokens ─────────────────────────────────────────────────────────── */
:root {
    --bg:               #090909;
    --bg-card:          #111111;
    --bg-card-2:        #161616;
    --bg-input:         #0d0d0d;
    --bg-hover:         #1a1a1a;

    --border:           rgba(255,255,255,0.06);
    --border-md:        rgba(255,255,255,0.09);
    --border-focus:     rgba(255,45,45,0.55);

    --red:              #ff2d2d;
    --red-dark:         #cc1c1c;
    --red-dim:          rgba(255,45,45,0.12);
    --red-glow:         rgba(255,45,45,0.22);

    --text:             #e1e1e1;
    --text-secondary:   #888888;
    --text-muted:       #484848;

    --success:          #22c55e;
    --success-bg:       rgba(34,197,94,0.08);
    --success-border:   rgba(34,197,94,0.2);

    --error:            #ef4444;
    --error-bg:         rgba(239,68,68,0.08);
    --error-border:     rgba(239,68,68,0.25);

    --warning:          #f59e0b;

    --yellow:           #f8cc2b;
    --yellow-dark:      #c9a100;

    --radius-sm:        6px;
    --radius-md:        12px;
    --radius-lg:        16px;
    --radius-xl:        24px;

    --shadow-card:      0 2px 16px rgba(0,0,0,0.55);
    --shadow-red:       0 0 24px rgba(255,45,45,0.18);

    --nav-height:       60px;
    --sidebar-width:    220px;
}

/* ─── Base Typography ────────────────────────────────────────────────────────── */
body {
    font-family: 'SF Pro Display', 'Segoe UI Variable', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: #f0f0f0;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
h4 { font-size: 1rem; }

p { color: var(--text-secondary); line-height: 1.7; }

a {
    color: var(--red);
    text-decoration: none;
    transition: color 0.15s;
}
a:hover { color: #ff5555; }

/* ─── Layout Utilities ───────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-4 { gap: 4px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }

.grid { display: grid; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.text-center { text-align: center; }
.text-right  { text-align: right; }
.w-full { width: 100%; }

.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ─── Card ───────────────────────────────────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-card);
}

.card--sm { padding: 20px; }
.card--lg { padding: 40px; }

.card--hover {
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.card--hover:hover {
    border-color: rgba(255,45,45,0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card), 0 8px 32px rgba(255,45,45,0.08);
}

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: 0.01em;
    line-height: 1;
}
.btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-primary {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}
.btn-primary:hover {
    background: #e62222;
    border-color: #e62222;
    box-shadow: 0 0 20px rgba(255,45,45,0.3);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border-md);
}
.btn-outline:hover {
    border-color: rgba(255,255,255,0.2);
    background: var(--bg-hover);
    color: #f0f0f0;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: transparent;
}
.btn-ghost:hover {
    background: var(--bg-hover);
    color: var(--text);
}

.btn-kakao {
    background: var(--yellow);
    color: #1a1200;
    border-color: var(--yellow);
    font-weight: 700;
}
.btn-kakao:hover {
    background: #f0c000;
    color: #1a1200;
}

.btn-google {
    background: #ffffff;
    color: #1a1a1a;
    border-color: #ffffff;
    font-weight: 600;
}
.btn-google:hover {
    background: #e8e8e8;
    color: #1a1a1a;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 15px 32px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

.btn--icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: var(--radius-sm);
}

/* ─── Badge ──────────────────────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.badge-free     { background: rgba(255,255,255,0.06); color: var(--text-secondary); border: 1px solid var(--border); }
.badge-pro      { background: rgba(255,45,45,0.14); color: var(--red); border: 1px solid rgba(255,45,45,0.3); }
.badge-business { background: rgba(248,204,43,0.14); color: var(--yellow); border: 1px solid rgba(248,204,43,0.3); }
.badge-success  { background: var(--success-bg); color: var(--success); border: 1px solid var(--success-border); }
.badge-error    { background: var(--error-bg); color: var(--error); border: 1px solid var(--error-border); }
.badge-pending  { background: rgba(245,158,11,0.1); color: var(--warning); border: 1px solid rgba(245,158,11,0.25); }

/* ─── Form Elements ──────────────────────────────────────────────────────────── */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-md);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

input::placeholder,
textarea::placeholder { color: var(--text-muted); }

input:focus,
select:focus,
textarea:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(255,45,45,0.08);
}

select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

textarea { resize: vertical; min-height: 100px; line-height: 1.6; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.toggle {
    position: relative;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--bg-hover);
    border: 1px solid var(--border-md);
    border-radius: 100px;
    cursor: pointer;
    transition: 0.2s;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--text-secondary);
    border-radius: 50%;
    transition: 0.2s;
}
.toggle input:checked + .toggle-slider { background: var(--red); border-color: var(--red); }
.toggle input:checked + .toggle-slider::before { transform: translate(18px, -50%); background: #fff; }

/* ─── Progress Bar ───────────────────────────────────────────────────────────── */
.progress-track {
    height: 6px;
    background: var(--bg-hover);
    border-radius: 100px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: var(--red);
    border-radius: 100px;
    transition: width 0.4s ease;
}
.progress-fill--success { background: var(--success); }

/* ─── Divider ────────────────────────────────────────────────────────────────── */
.divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}
.divider-text {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 20px 0;
}
.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ─── Navbar ─────────────────────────────────────────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-height);
    background: rgba(9,9,9,0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.navbar__logo {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #f0f0f0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.navbar__logo .logo-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--red);
    flex-shrink: 0;
}

.navbar__nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.navbar__link {
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}
.navbar__link:hover { color: var(--text); background: var(--bg-hover); }
.navbar__link.active { color: #f0f0f0; background: var(--bg-card-2); }

.navbar__right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.navbar__user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.navbar__avatar {
    width: 30px;
    height: 30px;
    background: var(--red-dim);
    border: 1px solid rgba(255,45,45,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--red);
}

/* ─── Landing Navbar (public) ────────────────────────────────────────────────── */
.navbar--public .navbar__nav { flex: none; }
.navbar--public .navbar__links { display: flex; align-items: center; gap: 4px; }

/* ─── Page Shell ─────────────────────────────────────────────────────────────── */
.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-main {
    flex: 1;
    padding: 40px 0 80px;
}

/* ─── Auth Page ──────────────────────────────────────────────────────────────── */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: var(--bg);
    /* subtle radial glow behind form */
    background-image: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255,45,45,0.055) 0%, transparent 70%);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 44px 40px 40px;
    box-shadow: 0 4px 48px rgba(0,0,0,0.7);
}

.auth-logo {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #f0f0f0;
    margin-bottom: 32px;
    text-align: center;
}
.auth-logo span { color: var(--red); }

.auth-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: #f0f0f0;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}
.auth-subtitle {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.auth-form { display: flex; flex-direction: column; gap: 16px; }

.auth-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.auth-footer a { font-weight: 600; }

/* ─── Error / Alert ──────────────────────────────────────────────────────────── */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    display: none;
}
.alert.show { display: block; }
.alert-error { background: var(--error-bg); border: 1px solid var(--error-border); color: var(--error); }
.alert-success { background: var(--success-bg); border: 1px solid var(--success-border); color: var(--success); }

/* ─── Dashboard Layout ───────────────────────────────────────────────────────── */
.dash-body { padding-top: var(--nav-height); }

.dash-page {
    padding: 36px 0 72px;
}

.page-header {
    margin-bottom: 32px;
}
.page-header h1 { font-size: 1.75rem; margin-bottom: 4px; }
.page-header p { font-size: 0.9rem; }

/* ─── Stats / KPI Cards ──────────────────────────────────────────────────────── */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.stat-card__label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}
.stat-card__value {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #f0f0f0;
    line-height: 1;
    margin-bottom: 14px;
}
.stat-card__value span { font-size: 1rem; font-weight: 500; color: var(--text-secondary); }

/* ─── Video List / History ───────────────────────────────────────────────────── */
.video-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.15s;
}
.video-item:hover { border-color: var(--border-md); }

.video-item__thumb {
    width: 72px;
    height: 40px;
    background: var(--bg-hover);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    overflow: hidden;
    position: relative;
}
.video-item__thumb img { width: 100%; height: 100%; object-fit: cover; }

.video-item__info { flex: 1; min-width: 0; }
.video-item__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f0f0f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}
.video-item__meta {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.video-item__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* ─── Create Form ────────────────────────────────────────────────────────────── */
.create-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}

.create-form { display: flex; flex-direction: column; gap: 16px; }

.section-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

/* ─── Progress / Status Block ────────────────────────────────────────────────── */
.status-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: none;
}
.status-block.show { display: block; }

.status-block__spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border-md);
    border-top-color: var(--red);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

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

.status-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}
.status-step:last-child { border-bottom: none; }
.status-step.done { color: var(--success); }
.status-step.active { color: var(--text); }
.status-step__icon { width: 16px; text-align: center; flex-shrink: 0; }

/* ─── Settings ───────────────────────────────────────────────────────────────── */
.settings-section { margin-bottom: 40px; }
.settings-section__title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.plan-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--bg-card-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.plan-card--active { border-color: rgba(255,45,45,0.3); background: rgba(255,45,45,0.04); }

.channel-connect {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

/* ─── Landing Hero ───────────────────────────────────────────────────────────── */
.hero {
    padding: 120px 0 100px;
    text-align: center;
    background-image:
        radial-gradient(ellipse 70% 40% at 50% 0%, rgba(255,45,45,0.07) 0%, transparent 65%);
    position: relative;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    background: rgba(255,45,45,0.1);
    border: 1px solid rgba(255,45,45,0.2);
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.hero__title {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
    color: #f4f4f4;
    margin-bottom: 22px;
}
.hero__title .accent { color: var(--red); }

.hero__sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.65;
}

.hero__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ─── Features Section ───────────────────────────────────────────────────────── */
.features {
    padding: 96px 0;
    border-top: 1px solid var(--border);
}

.section-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
}
.section-title { margin-bottom: 8px; }
.section-sub { color: var(--text-secondary); font-size: 1rem; max-width: 460px; }

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
    border-color: rgba(255,45,45,0.25);
    transform: translateY(-3px);
}

.feature-card__icon {
    width: 48px;
    height: 48px;
    background: var(--red-dim);
    border: 1px solid rgba(255,45,45,0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.feature-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #f0f0f0;
}
.feature-card__desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }

/* ─── Pricing Section ────────────────────────────────────────────────────────── */
.pricing {
    padding: 96px 0;
    border-top: 1px solid var(--border);
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card--featured {
    border-color: rgba(255,45,45,0.4);
    background: linear-gradient(160deg, rgba(255,45,45,0.06) 0%, var(--bg-card) 50%);
    box-shadow: 0 0 40px rgba(255,45,45,0.1);
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-card__name {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.pricing-card__price {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #f4f4f4;
    line-height: 1;
    margin-bottom: 4px;
}
.pricing-card__price sup { font-size: 1.1rem; font-weight: 600; vertical-align: super; }
.pricing-card__price .period { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); }

.pricing-card__desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 12px 0 24px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
    flex: 1;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.87rem;
    color: var(--text-secondary);
}
.pricing-features li::before {
    content: '✓';
    width: 18px;
    height: 18px;
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: var(--success);
    flex-shrink: 0;
    line-height: 18px;
    text-align: center;
}

/* ─── Landing CTA Section ────────────────────────────────────────────────────── */
.cta-section {
    padding: 96px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    background-image: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(255,45,45,0.06) 0%, transparent 70%);
}

/* ─── Landing Footer ─────────────────────────────────────────────────────────── */
.landing-footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.landing-footer p { font-size: 0.82rem; color: var(--text-muted); }

/* ─── Pagination ─────────────────────────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    margin-top: 32px;
}
.page-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.15s;
}
.page-btn:hover { border-color: var(--border-md); color: var(--text); }
.page-btn.active { background: var(--red); border-color: var(--red); color: #fff; }
.page-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ─── Empty State ────────────────────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 64px 24px;
    color: var(--text-muted);
}
.empty-state__icon { font-size: 2.5rem; margin-bottom: 16px; opacity: 0.4; }
.empty-state__title { font-size: 1rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.empty-state__sub { font-size: 0.85rem; }

/* ─── Loading Skeleton ───────────────────────────────────────────────────────── */
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-hover) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: var(--radius-sm);
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ─── Fade-in Animation ──────────────────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.45s ease both; }
.fade-up--delay-1 { animation-delay: 0.08s; }
.fade-up--delay-2 { animation-delay: 0.16s; }
.fade-up--delay-3 { animation-delay: 0.24s; }

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
    .create-grid { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .grid-2,
    .grid-3,
    .grid-4 { grid-template-columns: 1fr; }

    .auth-card { padding: 32px 24px; }

    .hero { padding: 72px 0 64px; }

    .navbar__nav { display: none; }

    .video-item__thumb { display: none; }

    .pricing-card { padding: 28px 24px; }

    .landing-footer { flex-direction: column; text-align: center; }
}
