/* ═══════════════════════════════════════════════════════════
   RAVIN — «Glass Premium» overlay
   Re-skins the Panel (dashboard/admin) + Auth screens only.
   Loaded AFTER ravin.css. Landing page untouched.
   Same Emerald + Noir palette — only the surfaces change.
   ═══════════════════════════════════════════════════════════ */
:root {
    --glass-surface: rgba(255, 255, 255, 0.72);
    --glass-surface-strong: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.9);
    --glass-border-soft: rgba(255, 255, 255, 0.6);
    --glass-blur: blur(24px) saturate(1.8);
    --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 2px 4px rgba(9, 9, 11, 0.04), 0 18px 46px rgba(9, 9, 11, 0.12);
    --glass-shadow-hover: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 26px 64px rgba(16, 185, 129, 0.2);
    --noir-1: #0d0d11;
    --noir-2: #09090b;
}

/* ─────────────────────────────────────────────
   1 · PANEL BACKDROP — emerald aurora mesh
   ───────────────────────────────────────────── */
.dashboard-main {
    background:
        radial-gradient(ellipse 52% 45% at 6% -10%, rgba(16, 185, 129, 0.28), transparent 55%),
        radial-gradient(ellipse 46% 44% at 100% 4%, rgba(5, 150, 105, 0.2), transparent 50%),
        radial-gradient(ellipse 72% 60% at 50% 122%, rgba(16, 185, 129, 0.14), transparent 55%),
        linear-gradient(165deg, #d8e0e3 0%, #e4ebec 50%, #d6e2df 100%) !important;
    position: relative;
}
/* subtle grid texture for depth */
.dashboard-main::before {
    content: '';
    position: absolute; inset: 0;
    pointer-events: none; z-index: 0;
    background-image:
        linear-gradient(rgba(9, 9, 11, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(9, 9, 11, 0.03) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black, transparent 80%);
}
.dashboard-main > * { position: relative; z-index: 1; }

/* ─────────────────────────────────────────────
   2 · FROSTED SIDEBAR — deep noir glass
   ───────────────────────────────────────────── */
.dashboard-sidebar {
    background:
        radial-gradient(ellipse 90% 26% at 50% 0%, rgba(16, 185, 129, 0.16), transparent 62%),
        radial-gradient(ellipse 70% 40% at 30% 100%, rgba(5, 150, 105, 0.08), transparent 60%),
        linear-gradient(180deg, var(--noir-1), var(--noir-2)) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.04) inset, -24px 0 60px rgba(9, 9, 11, 0.25);
}
.dashboard-sidebar .brand a { letter-spacing: -0.03em; }
.dashboard-sidebar .brand .brand-mark {
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.35), 0 6px 20px rgba(16, 185, 129, 0.25);
}
.dashboard-nav a {
    border: 1px solid transparent;
    transition: all 0.22s var(--ease);
}
.dashboard-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.06);
}
.dashboard-sidebar .dashboard-nav a.active {
    background: linear-gradient(100deg, rgba(16, 185, 129, 0.18), rgba(16, 185, 129, 0.05));
    border-color: rgba(16, 185, 129, 0.28);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    color: #fff;
}
.dashboard-nav a.active .nav-dot {
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
}
.dashboard-sidebar .user-block {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.dashboard-sidebar .user-avatar {
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.panel-badge-client { backdrop-filter: blur(8px); }
/* sidebar buttons (theme toggle + logout) — ghost glass, not white */
.dashboard-sidebar .user-block .btn-outline {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(8px);
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.dashboard-sidebar .user-block .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
    color: #fff !important;
}

/* ─────────────────────────────────────────────
   3 · GLASS CARDS & PANELS
   ───────────────────────────────────────────── */
.dashboard-main .card,
.dashboard-main .admin-panel,
.dashboard-main .inbox-panel,
.dashboard-main .sales-stat-box {
    background: var(--glass-surface) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
}
.dashboard-main .card-hover { transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s; }
.dashboard-main .card-hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow-hover);
    border-color: rgba(16, 185, 129, 0.3) !important;
}

/* ─────────────────────────────────────────────
   4 · STAT CARDS — premium glass with accents
   ───────────────────────────────────────────── */
.dashboard-main .stat-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}
.dashboard-main .stat-card::after {
    content: '';
    position: absolute; top: 0; left: 1.25rem; right: 1.25rem; height: 2px;
    background: linear-gradient(90deg, transparent, var(--ravin-green), transparent);
    opacity: 0.55;
}
.dashboard-main .stat-card .stat-value {
    font-size: 2.15rem;
}
/* dark "hero" stat (teal) — noir glass + glow */
.dashboard-main .stat-card.teal {
    background:
        radial-gradient(ellipse 80% 80% at 100% 0%, rgba(16, 185, 129, 0.22), transparent 60%),
        linear-gradient(155deg, rgba(20, 20, 24, 0.92), rgba(9, 9, 11, 0.96)) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
    box-shadow: 0 14px 44px rgba(9, 9, 11, 0.28), 0 0 0 1px rgba(16, 185, 129, 0.12);
}
.dashboard-main .stat-card.teal::after { opacity: 0.9; }
.dashboard-main .stat-card.gold .stat-value { color: var(--ravin-green); }

/* ─────────────────────────────────────────────
   5 · TABLES, TOOLBAR, PILLS
   ───────────────────────────────────────────── */
.dashboard-main .admin-table th {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(6px);
}
.dashboard-main .admin-table tr:hover td { background: rgba(16, 185, 129, 0.05); }
.dashboard-main .admin-live,
.dashboard-main .admin-online-toggle,
.dashboard-main .inbox-page-filter {
    background: var(--glass-surface-strong) !important;
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    border: 1px solid var(--glass-border-soft) !important;
}

/* ─────────────────────────────────────────────
   6 · INBOX / CHAT — frosted columns
   ───────────────────────────────────────────── */
.dashboard-main .inbox-sidebar,
.dashboard-main .inbox-profile {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.dashboard-main .inbox-sidebar-header,
.dashboard-main .chat-pro-header {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}
.dashboard-main .inbox-search {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--glass-border-soft);
}
.dashboard-main .chat-pro-messages {
    background:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(16, 185, 129, 0.05), transparent 60%),
        rgba(245, 245, 244, 0.6);
    backdrop-filter: blur(8px);
}
.dashboard-main .chat-pro-input { background: rgba(255, 255, 255, 0.55); backdrop-filter: blur(14px); }
.dashboard-main .inbox-item:hover { background: rgba(16, 185, 129, 0.07); }
.dashboard-main .inbox-item.active { background: rgba(16, 185, 129, 0.1); }
.dashboard-main .msg-bubble.visitor {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
}

/* ─────────────────────────────────────────────
   7 · BUTTONS — refined glass outline in panel
   ───────────────────────────────────────────── */
.dashboard-main .btn-outline {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border-soft);
}
.dashboard-main .btn-outline:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(16, 185, 129, 0.4);
    color: var(--ravin-green-dark);
}
.dashboard-main .btn-glow { box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.3), 0 10px 30px rgba(16, 185, 129, 0.28); }

/* ─────────────────────────────────────────────
   8 · AUTH — floating glass card over aurora
   ───────────────────────────────────────────── */
.auth-split {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 45% 50% at 18% 20%, rgba(16, 185, 129, 0.2), transparent 55%),
        radial-gradient(ellipse 50% 50% at 88% 82%, rgba(5, 150, 105, 0.16), transparent 55%),
        linear-gradient(158deg, #0c0c10 0%, #09090b 55%, #0a100e 100%) !important;
}
.auth-split::before,
.auth-split::after {
    content: '';
    position: absolute; border-radius: 50%;
    filter: blur(90px); pointer-events: none; z-index: 0;
    animation: authOrb 14s ease-in-out infinite;
}
.auth-split::before { width: 460px; height: 460px; background: rgba(16, 185, 129, 0.16); top: -12%; right: -6%; }
.auth-split::after { width: 360px; height: 360px; background: rgba(5, 150, 105, 0.13); bottom: -8%; left: -4%; animation-delay: -6s; }
@keyframes authOrb { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(24px, -18px) scale(1.08); } }

.auth-brand { background: transparent !important; z-index: 1; }
.auth-brand::before { opacity: 0.6; }
.auth-form-side { background: transparent !important; z-index: 1; }

.auth-card {
    background: rgba(255, 255, 255, 0.07) !important;
    backdrop-filter: blur(30px) saturate(1.5);
    -webkit-backdrop-filter: blur(30px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
    color: #fff;
}
.auth-card h2 { color: #fff; }
.auth-card .sub { color: rgba(255, 255, 255, 0.5); }
.auth-card .form-group label { color: rgba(255, 255, 255, 0.72); }
.auth-card .form-control {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
}
.auth-card .form-control::placeholder { color: rgba(255, 255, 255, 0.3); }
.auth-card .form-control:focus {
    border-color: var(--ravin-green);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.auth-card label[for="remember"] { color: rgba(255, 255, 255, 0.6); }
.auth-card input[type="checkbox"] { accent-color: var(--ravin-green); }
.auth-card a { color: var(--ravin-green-light); }
.auth-card a:hover { color: #fff; }
.auth-card .alert-error,
.auth-card .alert-danger {
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fecaca;
}
.auth-card .btn-glow {
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.4), 0 12px 34px rgba(16, 185, 129, 0.3);
}

@media (max-width: 768px) {
    .auth-card {
        background: rgba(255, 255, 255, 0.06) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        backdrop-filter: blur(24px);
        padding: 1.75rem !important;
    }
}

/* Reduced transparency / motion fallbacks */
@media (prefers-reduced-motion: reduce) {
    .auth-split::before, .auth-split::after { animation: none; }
}

/* ═══════════════════════════════════════════════════════════
   9 · DARK PANEL MODE (Linear / Vercel style) — overrides §1-7
   Flips text + neutral surfaces via cascading custom props,
   so inline `color:var(--text-muted)` etc. invert automatically.
   Activated only when <html> has the .theme-dark class (toggle).
   ═══════════════════════════════════════════════════════════ */
.theme-dark {
.dashboard-main {
    --text: #e7e7ea;
    --text-soft: #b7b7c0;
    --text-muted: #8d8d98;
    --pearl: #161619;
    --cream: #121215;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    color: #e7e7ea;
    background:
        radial-gradient(ellipse 55% 45% at 6% -10%, rgba(16, 185, 129, 0.16), transparent 55%),
        radial-gradient(ellipse 50% 45% at 100% 2%, rgba(5, 150, 105, 0.12), transparent 50%),
        radial-gradient(ellipse 72% 60% at 50% 120%, rgba(16, 185, 129, 0.08), transparent 55%),
        linear-gradient(165deg, #0b0b0d 0%, #0d100f 55%, #0a0c0b 100%) !important;
}
.dashboard-main::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
}

/* headings that were dark */
.dashboard-main .page-header h1,
.dashboard-main h1,
.dashboard-main h2,
.dashboard-main h3 { color: #f4f4f5; }
.dashboard-main .page-header p { color: #9a9aa4; }
.dashboard-main a:not(.btn) { color: var(--ravin-green-light); }

/* glass cards → dark glass */
.dashboard-main .card,
.dashboard-main .admin-panel,
.dashboard-main .inbox-panel,
.dashboard-main .sales-stat-box,
.dashboard-main .stat-card.coral,
.dashboard-main .stat-card.gold {
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 46px rgba(0, 0, 0, 0.4) !important;
}
.dashboard-main .card-hover:hover {
    border-color: rgba(16, 185, 129, 0.35) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 26px 60px rgba(16, 185, 129, 0.18) !important;
}

/* stat values + hero card */
.dashboard-main .stat-value { color: #f4f4f5 !important; }
.dashboard-main .stat-card.gold .stat-value { color: var(--ravin-green-light) !important; }
.dashboard-main .stat-card.teal {
    background:
        radial-gradient(ellipse 80% 80% at 100% 0%, rgba(16, 185, 129, 0.28), transparent 60%),
        linear-gradient(155deg, rgba(16, 185, 129, 0.12), rgba(9, 9, 11, 0.55)) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

/* tables */
.dashboard-main .admin-table th { background: rgba(255, 255, 255, 0.03); color: #8d8d98; }
.dashboard-main .admin-table tr:hover td { background: rgba(255, 255, 255, 0.03); }

/* inputs */
.dashboard-main .form-control,
.dashboard-main .inbox-search {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #e7e7ea !important;
}
.dashboard-main .form-control::placeholder { color: #71717a; }
.dashboard-main .form-control:focus {
    border-color: var(--ravin-green) !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18) !important;
    background: rgba(255, 255, 255, 0.07) !important;
}

/* buttons — invert primary to white on dark */
.dashboard-main .btn-primary {
    background: linear-gradient(135deg, #fafafa, #e9e9ec);
    color: #09090b;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.dashboard-main .btn-primary:hover { background: #ffffff; color: #09090b; transform: translateY(-1px); }
.dashboard-main .btn-outline {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #e7e7ea !important;
    backdrop-filter: blur(8px);
}
.dashboard-main .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.5) !important;
    color: #ffffff !important;
}
.dashboard-main .admin-live,
.dashboard-main .admin-online-toggle,
.dashboard-main .inbox-page-filter {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #c7c7d0;
}

/* inbox + chat dark */
.dashboard-main .inbox-sidebar,
.dashboard-main .inbox-profile { background: rgba(255, 255, 255, 0.02); }
.dashboard-main .inbox-sidebar-header,
.dashboard-main .chat-pro-header { background: rgba(255, 255, 255, 0.03); }
.dashboard-main .chat-pro-messages {
    background:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(16, 185, 129, 0.06), transparent 60%),
        rgba(0, 0, 0, 0.25) !important;
}
.dashboard-main .chat-pro-input { background: rgba(255, 255, 255, 0.03); }
.dashboard-main .msg-bubble.visitor {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e7e7ea;
}
.dashboard-main .msg-bubble.agent { border: 1px solid rgba(255, 255, 255, 0.08); }
.dashboard-main .inbox-item { border-bottom-color: rgba(255, 255, 255, 0.06); }
.dashboard-main .inbox-item:hover,
.dashboard-main .inbox-item.active { background: rgba(16, 185, 129, 0.1); }

/* plans + features + sales surfaces */
.dashboard-main .price-amount { color: #f4f4f5; }
.dashboard-main .feature-list-item { background: rgba(255, 255, 255, 0.04); }
.dashboard-main .sales-bar-track { background: rgba(255, 255, 255, 0.08); }
.dashboard-main .admin-status.offline { background: rgba(255, 255, 255, 0.06); color: #9a9aa4; }
.dashboard-main .admin-role { background: rgba(255, 255, 255, 0.06); color: #b7b7c0; }

/* alerts */
.dashboard-main .alert-success { background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.3); color: #6ee7b7; }
.dashboard-main .alert-danger,
.dashboard-main .alert-error { background: rgba(239, 68, 68, 0.14); border-color: rgba(239, 68, 68, 0.35); color: #fca5a5; }
} /* end .theme-dark */

/* ═══════════════════════════════════════════════════════════
   10 · AUTH — professional refinement (phone OTP + staff)
   ═══════════════════════════════════════════════════════════ */
.auth-brand-inner { max-width: 410px; }
.auth-logo { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 2.75rem; }
.auth-logo .brand-mark { margin: 0; }
.auth-logo .t { color: #fff; font-weight: 800; font-size: 1.18rem; letter-spacing: -0.03em; }
.auth-brand h1 { font-size: 2.1rem; }
.auth-features { list-style: none; margin: 2.25rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1.05rem; }
.auth-features li { display: flex; align-items: flex-start; gap: 0.8rem; color: rgba(255, 255, 255, 0.8); font-size: 0.92rem; line-height: 1.55; }
.auth-feature-ic {
    width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
    background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.3);
    display: flex; align-items: center; justify-content: center; color: var(--ravin-green-light);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}
.auth-feature-ic svg { width: 16px; height: 16px; stroke-width: 2.2; }
.auth-trust {
    margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.09);
    display: flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.5);
}
.auth-trust svg { color: var(--ravin-green-light); flex-shrink: 0; }

/* form-side branding (visible on mobile when brand column is hidden) */
.auth-card-logo { display: none; align-items: center; gap: 0.6rem; margin-bottom: 1.75rem; }

/* phone field with leading icon */
.input-icon { position: relative; }
.input-icon > svg {
    position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4); pointer-events: none;
}
.input-icon input { padding-left: 2.9rem !important; }

/* OTP — five separate boxes */
.otp-boxes { display: flex; gap: 0.55rem; direction: ltr; justify-content: space-between; margin: 0.35rem 0; }
.auth-card .otp-boxes input {
    width: 100%; height: 58px; text-align: center; padding: 0;
    font-size: 1.5rem; font-weight: 800; border-radius: 13px; margin: 0;
    font-family: ui-monospace, monospace;
}
.auth-card .otp-boxes input:focus { transform: translateY(-1px); }

/* back link + resend */
.auth-back {
    display: inline-flex; align-items: center; gap: 0.35rem;
    color: rgba(255, 255, 255, 0.55); font-size: 0.82rem; margin-bottom: 1.1rem;
}
.auth-back:hover { color: #fff; }
.auth-resend-row { display: flex; justify-content: space-between; align-items: center; margin-top: 1.25rem; font-size: 0.82rem; }
.auth-resend[disabled] { color: rgba(255, 255, 255, 0.35); cursor: default; }
.auth-divider {
    display: flex; align-items: center; gap: 0.8rem; margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.35); font-size: 0.72rem;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.1); }

@media (max-width: 768px) {
    .auth-card-logo { display: flex; }
}

/* ═══════════════════════════════════════════════════════════
   11 · PLAN PICKER MODAL (dashboard — when no paid plan)
   Self-contained light card; theme-agnostic overlay.
   ═══════════════════════════════════════════════════════════ */
.plan-modal {
    position: fixed; inset: 0; z-index: 300;
    background: rgba(9, 9, 11, 0.62); backdrop-filter: blur(5px);
    display: flex; align-items: center; justify-content: center; padding: 1.25rem;
    animation: planFade 0.25s var(--ease);
}
.plan-modal[hidden] { display: none; }
@keyframes planFade { from { opacity: 0; } to { opacity: 1; } }
.plan-modal-card {
    background: #fff; color: #18181b; border-radius: 24px;
    max-width: 1000px; width: 100%; padding: 1.65rem 1.75rem; position: relative;
    box-shadow: 0 40px 110px rgba(0, 0, 0, 0.5); max-height: 94vh; overflow: auto;
    animation: planRise 0.35s var(--ease);
}
@keyframes planRise { from { transform: translateY(16px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.plan-modal-close {
    position: absolute; top: 1rem; left: 1rem;
    border: none; background: rgba(9, 9, 11, 0.06); width: 34px; height: 34px;
    border-radius: 10px; font-size: 1.2rem; line-height: 1; cursor: pointer; color: #52525b;
}
.plan-modal-close:hover { background: rgba(9, 9, 11, 0.1); color: #18181b; }
.plan-modal-head { text-align: center; margin-bottom: 1.25rem; padding: 0 1rem; }
.plan-modal-head h2 { font-size: 1.3rem; font-weight: 800; color: #09090b; letter-spacing: -0.03em; }
.plan-modal-head p { color: #71717a; font-size: 0.84rem; margin-top: 0.4rem; line-height: 1.6; }
.plan-gift {
    display: inline-block; margin-top: 0.7rem;
    background: rgba(16, 185, 129, 0.1); color: var(--ravin-green-dark);
    border: 1px solid rgba(16, 185, 129, 0.22); border-radius: 100px;
    padding: 0.35rem 0.95rem; font-size: 0.78rem; font-weight: 700;
}
.pay-gift {
    margin: 1.1rem 0 0; background: rgba(234, 179, 8, 0.14);
    border: 1px solid rgba(234, 179, 8, 0.35); color: #fcd34d;
    border-radius: 12px; padding: 0.7rem 1rem; font-size: 0.84rem; font-weight: 600;
}
.plan-modal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.plan-pick {
    border: 1px solid rgba(9, 9, 11, 0.1); border-radius: 16px; padding: 1.2rem 0.9rem;
    text-align: center; display: flex; flex-direction: column; position: relative; background: #fff;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.plan-pick:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(9, 9, 11, 0.08); }
.plan-pick.featured { border-color: var(--ravin-green); box-shadow: 0 0 0 1px var(--ravin-green), 0 16px 40px rgba(16, 185, 129, 0.2); }
.plan-pick-badge {
    position: absolute; top: -10px; right: 50%; transform: translateX(50%);
    background: var(--ravin-green); color: #fff; font-size: 0.6rem; font-weight: 700;
    padding: 0.18rem 0.65rem; border-radius: 100px; white-space: nowrap;
}
.plan-pick-name { font-weight: 800; font-size: 0.92rem; color: #09090b; }
.plan-pick-price { font-size: 1.25rem; font-weight: 800; color: #09090b; margin: 0.4rem 0 0.2rem; letter-spacing: -0.03em; }
.plan-pick-price span { font-size: 0.66rem; font-weight: 500; color: #71717a; }
.plan-pick ul { list-style: none; padding: 0; margin: 0.6rem 0 1.1rem; font-size: 0.76rem; color: #52525b; line-height: 1.95; flex: 1; }
.plan-pick .btn { padding: 0.6rem; font-size: 0.8rem; }
.plan-modal-later { display: block; margin: 1rem auto 0; background: none; border: none; color: #71717a; font-size: 0.82rem; cursor: pointer; }
.plan-modal-later:hover { color: #18181b; }
/* keep buttons correct even inside a dark-theme dashboard-main */
.plan-modal .btn-outline {
    background: #fff !important; border: 1px solid rgba(9, 9, 11, 0.15) !important; color: #18181b !important; backdrop-filter: none;
}
.plan-modal .btn-outline:hover { border-color: var(--ravin-green) !important; color: var(--ravin-green-dark) !important; }
/* Force modal text colors regardless of the panel's light/dark theme
   (the modal lives inside .dashboard-main, whose dark-theme heading/text
   rules would otherwise wash out the dark text on this white card). */
.plan-modal h2 { color: #09090b !important; }
.plan-modal-head p { color: #71717a !important; }
.plan-modal .plan-pick-name,
.plan-modal .plan-pick-price { color: #09090b !important; }
.plan-modal .plan-pick-price span { color: #71717a !important; }
.plan-modal .plan-pick ul { color: #52525b !important; }
@media (max-width: 860px) { .plan-modal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .plan-modal-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════
   12 · PAYMENT SUCCESS PAGE
   ═══════════════════════════════════════════════════════════ */
.pay-result {
    min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem;
    background:
        radial-gradient(ellipse 45% 50% at 20% 15%, rgba(234, 179, 8, 0.2), transparent 55%),
        radial-gradient(ellipse 50% 50% at 85% 85%, rgba(202, 138, 4, 0.16), transparent 55%),
        linear-gradient(158deg, #0c0c10 0%, #09090b 55%, #0a100e 100%);
}
.pay-result-card {
    width: 100%; max-width: 420px; text-align: center;
    background: rgba(255, 255, 255, 0.07); backdrop-filter: blur(30px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 24px; padding: 2.5rem 2rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14); color: #fff;
}
.pay-result-card h1 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; margin: 1.25rem 0 0.5rem; }
.pay-sub { color: rgba(255, 255, 255, 0.55); font-size: 0.9rem; line-height: 1.8; }
.pay-check { width: 84px; height: 84px; margin: 0 auto; }
.pay-check svg { width: 84px; height: 84px; }
.pay-check-circle { stroke: #eab308; stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; animation: payCircle 0.6s var(--ease) forwards; }
.pay-check-mark { stroke: #facc15; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: payMark 0.4s 0.5s var(--ease) forwards; }
@keyframes payCircle { to { stroke-dashoffset: 0; } }
@keyframes payMark { to { stroke-dashoffset: 0; } }
.pay-receipt { margin: 1.75rem 0 0; text-align: right; display: flex; flex-direction: column; gap: 0; }
.pay-row { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.85rem; }
.pay-row:last-child { border-bottom: none; }
.pay-row span { color: rgba(255, 255, 255, 0.5); }
.pay-row strong { color: #fff; font-weight: 700; }
.pay-link { display: block; margin-top: 1rem; color: rgba(255, 255, 255, 0.5); font-size: 0.82rem; }
.pay-link:hover { color: #facc15; }
.pay-result-card .btn-glow {
    background: linear-gradient(135deg, #facc15, #eab308) !important;
    color: #17181d !important;
    box-shadow: 0 12px 30px -8px rgba(234, 179, 8, 0.5) !important;
}
.pay-result-card .btn-glow:hover {
    background: linear-gradient(135deg, #fde047, #facc15) !important;
    color: #17181d !important;
    box-shadow: 0 14px 34px -8px rgba(234, 179, 8, 0.6) !important;
}

/* feature add-on price chip (catalog) */
.feature-addon-price { font-size: 0.74rem; font-weight: 800; color: var(--ravin-green-dark); white-space: nowrap; text-align: left; }
.feature-addon-price span { font-weight: 500; color: var(--text-muted); font-size: 0.6rem; }

/* ═══════════════════════════════════════════════════════════
   13 · CONFIRMATION POPUP (replaces native confirm)
   ═══════════════════════════════════════════════════════════ */
.rvn-confirm {
    position: fixed; inset: 0; z-index: 400;
    background: rgba(9, 9, 11, 0.6); backdrop-filter: blur(5px);
    display: flex; align-items: center; justify-content: center; padding: 1.25rem;
    animation: planFade 0.2s var(--ease);
}
.rvn-confirm[hidden] { display: none; }
.rvn-confirm-card {
    background: #fff; color: #18181b; border-radius: 20px; max-width: 390px; width: 100%;
    padding: 1.85rem 1.75rem; text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    animation: planRise 0.3s var(--ease);
}
.rvn-confirm-icon {
    width: 54px; height: 54px; border-radius: 15px; margin: 0 auto 1rem;
    background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.25);
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.rvn-confirm-text { color: #18181b !important; font-size: 0.92rem; line-height: 1.85; margin-bottom: 1.5rem; }
.rvn-confirm-actions { display: flex; gap: 0.6rem; }
.rvn-confirm-actions .btn { flex: 1; }
.rvn-confirm .btn-outline {
    background: #fff !important; border: 1px solid rgba(9, 9, 11, 0.15) !important; color: #18181b !important; backdrop-filter: none;
}
.rvn-confirm .btn-outline:hover { border-color: rgba(9, 9, 11, 0.3) !important; color: #09090b !important; }

/* ═══════════════════════════════════════════════════════════
   14 · CHECKOUT MODAL (plan + add-ons + discount + invoice)
   ═══════════════════════════════════════════════════════════ */
.checkout-modal { position: fixed; inset: 0; z-index: 420; background: rgba(9,9,11,.65); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; padding: 1.25rem; animation: planFade .2s var(--ease); }
.checkout-modal[hidden] { display: none; }
.checkout-card { background: #fff; color: #18181b; border-radius: 22px; max-width: 560px; width: 100%; padding: 1.75rem; max-height: 92vh; overflow: auto; box-shadow: 0 30px 90px rgba(0,0,0,.55); position: relative; animation: planRise .3s var(--ease); }
.checkout-close { position: absolute; top: 1rem; left: 1rem; border: none; background: rgba(9,9,11,.06); width: 32px; height: 32px; border-radius: 9px; font-size: 1.1rem; cursor: pointer; color: #52525b; }
.checkout-modal h2,
.checkout-title { font-size: 1.25rem; font-weight: 800; color: #09090b !important; margin-bottom: 1.1rem; text-align: center; }
.checkout-muted { color: #71717a !important; font-weight: 500; font-size: .78rem; }
.checkout-section-title { color: #18181b !important; }
.checkout-plan-row { display: flex; justify-content: space-between; align-items: center; background: rgba(16,185,129,.07); border: 1px solid rgba(16,185,129,.2); border-radius: 14px; padding: .85rem 1rem; }
.checkout-plan-row strong { color: #09090b; }
.checkout-plan-row > div { display: flex; flex-direction: column; gap: 2px; }
.checkout-section { margin-top: 1.1rem; }
.checkout-section-title { font-size: .82rem; font-weight: 700; color: #18181b; margin-bottom: .6rem; }
.checkout-addon-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .7rem .9rem; border: 1px dashed rgba(9,9,11,.18); border-radius: 12px; background: #fff; color: #18181b; font-family: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.checkout-addon-toggle:hover { border-color: var(--ravin-green); }
.ck-toggle-plus { color: var(--ravin-green-dark); font-weight: 800; }
.ck-toggle-caret { color: #71717a; }
.ck-addon-count { color: #71717a; font-weight: 500; font-size: .76rem; }
.checkout-addons { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin-top: .6rem; }
.checkout-addons[hidden] { display: none; }
.checkout-addon { display: flex; justify-content: space-between; align-items: center; gap: .4rem; padding: .5rem .6rem; border: 1px solid rgba(9,9,11,.1); border-radius: 11px; cursor: pointer; font-size: .78rem; }
@media (max-width: 520px) { .checkout-addons { grid-template-columns: 1fr; } }
.checkout-addon:hover { border-color: rgba(16,185,129,.4); }
.ck-addon-info { display: flex; align-items: center; gap: .55rem; color: #18181b; }
.ck-addon-info input { accent-color: var(--ravin-green); width: 16px; height: 16px; }
.ck-addon-price { font-weight: 700; color: var(--ravin-green-dark); font-size: .78rem; white-space: nowrap; }
.checkout-discount { display: flex; gap: .5rem; }
.checkout-discount input { flex: 1; padding: .6rem .8rem; border: 1px solid rgba(9,9,11,.12); border-radius: 11px; font-family: inherit; font-size: .85rem; direction: ltr; text-align: left; background: #fff; color: #18181b; }
.checkout-discount .btn-outline { background: #fff !important; border: 1px solid rgba(9,9,11,.15) !important; color: #18181b !important; backdrop-filter: none; }
.checkout-discount-msg { font-size: .76rem; margin-top: .4rem; min-height: 1rem; }
.checkout-discount-msg.ok { color: var(--ravin-green-dark); }
.checkout-discount-msg.err { color: #dc2626; }
.checkout-invoice { margin-top: 1.1rem; border-top: 1px solid rgba(9,9,11,.08); padding-top: .85rem; }
.ck-row { display: flex; justify-content: space-between; align-items: center; padding: .4rem 0; font-size: .85rem; color: #52525b; }
.ck-row > span:last-child { color: #18181b; font-weight: 600; }
.ck-discount-row > span:last-child { color: var(--ravin-green-dark); }
.ck-total { border-top: 1px dashed rgba(9,9,11,.12); margin-top: .35rem; padding-top: .7rem; font-size: 1rem; }
.ck-total > span { color: #09090b !important; font-weight: 800 !important; }

/* blog grid responsive (overrides inline 3-col) */
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr !important; } }

/* checkout — billing period selector */
.checkout-periods { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.ck-period { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .55rem .3rem; border: 1px solid rgba(9,9,11,.12); border-radius: 11px; background: #fff; color: #18181b; font-family: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; transition: all .15s ease; }
.ck-period:hover { border-color: rgba(16,185,129,.4); }
.ck-period.active { border-color: var(--ravin-green); background: rgba(16,185,129,.08); box-shadow: 0 0 0 1px var(--ravin-green); }
.ck-period-off { font-size: .58rem; font-weight: 700; color: #fff; background: var(--ravin-green); border-radius: 100px; padding: .05rem .4rem; }
.ck-orig { text-decoration: line-through; color: #a1a1aa; font-weight: 500; font-size: .78rem; }
@media (max-width: 520px) { .checkout-periods { grid-template-columns: repeat(2, 1fr); } }

/* brand logo fills its mark square (overrides the inline width/height) */
.brand-mark img { width: 78%; height: 78%; object-fit: contain; }

/* sidebar menu icons */
.dashboard-nav a svg.nav-ic { width: 18px; height: 18px; flex-shrink: 0; stroke-width: 1.9; opacity: .72; transition: opacity .2s var(--ease); }
.dashboard-nav a:hover svg.nav-ic,
.dashboard-nav a.active svg.nav-ic { opacity: 1; }

/* ── dark-theme inbox: clearer panels, borders, empty state ── */
.theme-dark .dashboard-main .inbox-panel {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.38) !important;
}
.theme-dark .dashboard-main .inbox-sidebar,
.theme-dark .dashboard-main .inbox-profile { background: rgba(255, 255, 255, 0.02); }
.theme-dark .dashboard-main .inbox-sidebar-header,
.theme-dark .dashboard-main .chat-pro-header {
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.theme-dark .dashboard-main .inbox-search {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    color: #e7e7ea;
}
.theme-dark .dashboard-main .inbox-search::placeholder { color: rgba(255, 255, 255, 0.4); }
.theme-dark .dashboard-main .inbox-item { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.theme-dark .dashboard-main .inbox-item-name { color: #ececf0; }
.theme-dark .dashboard-main .inbox-empty-icon {
    background: rgba(16, 185, 129, 0.12) !important;
    border: 1px solid rgba(16, 185, 129, 0.28);
    color: var(--ravin-green-light);
}
.theme-dark .dashboard-main .inbox-page-title { color: #f4f4f5; }

/* ═══════════════════════════════════════════════════════════
   15 · LANDING — Framer-style (light, big type, floating nav)
   ═══════════════════════════════════════════════════════════ */
body.has-landing-nav { padding-top: 0 !important; }

.lp-nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 200; display: flex; justify-content: center; padding: 0 1rem; }
.lp-nav-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
    width: 100%; max-width: 940px;
    background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(18px) saturate(1.6);
    border: 1px solid rgba(9, 9, 11, 0.07); border-radius: 100px;
    padding: 0.5rem 0.6rem 0.5rem 1.15rem; box-shadow: 0 10px 34px rgba(9, 9, 11, 0.08);
}
.lp-logo { display: flex; align-items: center; gap: 0.55rem; font-weight: 800; font-size: 1.05rem; color: var(--ink); letter-spacing: -0.02em; }
.lp-logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 1px rgba(16,185,129,.25); }
.lp-logo-mark img { width: 66%; height: 66%; object-fit: contain; }
.lp-nav-links { display: flex; gap: 1.6rem; font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.lp-nav-links a { color: var(--text-muted); }
.lp-nav-links a:hover { color: var(--ink); }
.lp-nav-actions { display: flex; align-items: center; gap: 0.4rem; }
.lp-btn-ghost { font-size: 0.85rem; color: var(--text-muted); padding: 0.5rem 0.85rem; border-radius: 100px; }
.lp-btn-ghost:hover { color: var(--ink); background: rgba(9,9,11,.04); }
.lp-btn-dark { background: var(--ink); color: #fff !important; padding: 0.6rem 1.25rem; border-radius: 100px; font-size: 0.85rem; font-weight: 700; box-shadow: 0 6px 18px rgba(9,9,11,.18); transition: transform .2s var(--ease), box-shadow .2s var(--ease); white-space: nowrap; }
.lp-btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(9,9,11,.26); color: #fff !important; }
.lp-btn-dark.lp-lg { padding: 1rem 2.1rem; font-size: 0.98rem; }

.lp-hero { position: relative; overflow: hidden; text-align: center; padding: 9.5rem 1.25rem 5rem; background: radial-gradient(ellipse 55% 45% at 50% -5%, rgba(16,185,129,.12), transparent 60%), linear-gradient(180deg, #fbfbfa 0%, #f3f5f4 100%); }
.lp-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(9,9,11,.06) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 28%, #000, transparent 72%); mask-image: radial-gradient(ellipse 75% 55% at 50% 28%, #000, transparent 72%); pointer-events: none; }
.lp-deco { position: absolute; inset: 0; pointer-events: none; }
.lp-plus { position: absolute; color: rgba(9,9,11,.13); font-size: 1.4rem; font-weight: 300; }
.lp-plus-1 { top: 128px; left: 8%; } .lp-plus-2 { top: 128px; right: 8%; }
.lp-plus-3 { top: 58%; left: 5%; } .lp-plus-4 { top: 58%; right: 5%; }
.lp-hero-inner { position: relative; z-index: 1; max-width: 840px; margin: 0 auto; }
.lp-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: #fff; border: 1px solid rgba(9,9,11,.08); border-radius: 100px; padding: 0.45rem 1rem; font-size: 0.8rem; font-weight: 600; color: var(--text); box-shadow: 0 4px 14px rgba(9,9,11,.05); margin-bottom: 1.9rem; }
.lp-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ravin-green); box-shadow: 0 0 0 3px rgba(16,185,129,.2); }
.lp-hero-title { font-size: clamp(2.6rem, 6.5vw, 4.8rem); font-weight: 800; line-height: 1.07; letter-spacing: -0.045em; color: var(--ink); margin-bottom: 1.5rem; }
.lp-hero-sub { font-size: 1.1rem; color: var(--text-muted); line-height: 1.9; max-width: 560px; margin: 0 auto 2.25rem; }
.lp-hero-cta { display: flex; justify-content: center; }
.lp-hero-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 1rem; }
.lp-mockup { position: relative; max-width: 560px; margin: 4.5rem auto 0; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.lp-hero-title.reveal { transition-delay: .05s; }
.lp-hero-sub.reveal { transition-delay: .12s; }
.lp-hero-cta.reveal { transition-delay: .18s; }
.lp-hero-note.reveal { transition-delay: .22s; }
.lp-mockup.reveal { transition-delay: .28s; }

@media (max-width: 720px) {
    .lp-nav-links { display: none; }
    .lp-hero { padding-top: 8rem; }
}

/* ═══════════════════════════════════════════════════════════
   16 · LANDING SECTIONS — full Framer-style system
   ═══════════════════════════════════════════════════════════ */
.lp-body { background: #fbfbfa; }
.lp-hero-cta { gap: 0.7rem; flex-wrap: wrap; }

.lp-btn-soft { background: #fff; color: var(--ink) !important; border: 1px solid rgba(9,9,11,.1); padding: 0.6rem 1.25rem; border-radius: 100px; font-size: 0.85rem; font-weight: 700; transition: all .2s var(--ease); display: inline-block; }
.lp-btn-soft:hover { border-color: var(--ink); transform: translateY(-1px); color: var(--ink) !important; }
.lp-btn-soft.lp-lg { padding: 1rem 1.9rem; font-size: 0.95rem; }
.lp-btn-white { background: #fff; color: var(--ink) !important; padding: 1rem 2.1rem; border-radius: 100px; font-weight: 800; font-size: 0.98rem; box-shadow: 0 12px 32px rgba(0,0,0,.28); transition: transform .2s var(--ease); display: inline-block; }
.lp-btn-white:hover { transform: translateY(-2px); color: var(--ink) !important; }

.lp-chat { max-width: 400px; margin: 4rem auto 0; background: #fff; border: 1px solid rgba(9,9,11,.08); border-radius: 22px; box-shadow: 0 34px 80px rgba(9,9,11,.14); overflow: hidden; text-align: right; }
.lp-chat-head { display: flex; align-items: center; gap: 0.7rem; padding: 0.9rem 1.1rem; background: var(--ink); color: #fff; }
.lp-chat-avatar { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; }
.lp-chat-avatar img { width: 62%; height: 62%; object-fit: contain; }
.lp-chat-id b { display: block; font-size: 0.85rem; font-weight: 700; }
.lp-chat-id span { display: flex; align-items: center; gap: 0.35rem; font-size: 0.7rem; color: rgba(255,255,255,.6); margin-top: 2px; }
.lp-live { width: 7px; height: 7px; border-radius: 50%; background: var(--ravin-green); box-shadow: 0 0 0 3px rgba(16,185,129,.25); display: inline-block; }
.lp-chat-body { padding: 1.1rem; display: flex; flex-direction: column; gap: 0.6rem; background: #f6f7f6; }
.lp-b { max-width: 82%; padding: 0.6rem 0.9rem; border-radius: 14px; font-size: 0.82rem; line-height: 1.7; }
.lp-in { align-self: flex-start; background: var(--ink); color: #fff; border-bottom-left-radius: 4px; }
.lp-out { align-self: flex-end; background: #fff; border: 1px solid rgba(9,9,11,.08); color: var(--text); border-bottom-right-radius: 4px; }
.lp-chat-input { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1.1rem; border-top: 1px solid rgba(9,9,11,.06); color: var(--text-muted); font-size: 0.82rem; }
.lp-send { width: 30px; height: 30px; border-radius: 9px; background: var(--ravin-green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; }

.lp-strip { background: #fff; border-top: 1px solid rgba(9,9,11,.06); border-bottom: 1px solid rgba(9,9,11,.06); }
.lp-strip-inner { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; padding: 2.5rem 1.25rem; text-align: center; }
.lp-strip-inner b { display: block; font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.lp-strip-inner span { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.25rem; display: block; }

.lp-section { max-width: 1120px; margin: 0 auto; padding: 6rem 1.25rem; }
.lp-section.lp-alt { max-width: none; background: #f4f5f4; }
.lp-section.lp-alt > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.lp-head { text-align: center; max-width: 620px; margin: 0 auto 3rem; }
.lp-head-row { display: flex; justify-content: space-between; align-items: flex-end; text-align: right; gap: 1rem; flex-wrap: wrap; }
.lp-eyebrow { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: .12em; color: var(--ravin-green-dark); background: rgba(16,185,129,.09); border: 1px solid rgba(16,185,129,.16); padding: 0.3rem 0.8rem; border-radius: 100px; margin-bottom: 1rem; }
.lp-h2 { font-size: clamp(1.9rem,4vw,2.9rem); font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1.15; margin-bottom: 0.75rem; }
.lp-lead { font-size: 1.02rem; color: var(--text-muted); line-height: 1.9; }

.lp-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.lp-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }

.lp-feat { background: #fff; border: 1px solid rgba(9,9,11,.08); border-radius: 20px; padding: 1.75rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.lp-feat:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(9,9,11,.08); border-color: rgba(16,185,129,.25); }
.lp-feat-ic { width: 48px; height: 48px; border-radius: 14px; background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.18); color: var(--ravin-green-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.lp-feat-ic svg { width: 22px; height: 22px; }
.lp-feat h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; letter-spacing: -.02em; }
.lp-feat p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.85; }

.lp-step { background: #fff; border: 1px solid rgba(9,9,11,.08); border-radius: 20px; padding: 1.75rem; }
.lp-step-n { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 1.1rem; }
.lp-step h3 { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 0.45rem; }
.lp-step p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.8; }

.lp-price { background: #fff; border: 1px solid rgba(9,9,11,.1); border-radius: 22px; padding: 1.9rem 1.6rem; display: flex; flex-direction: column; position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
.lp-price:hover { transform: translateY(-4px); box-shadow: 0 20px 46px rgba(9,9,11,.08); }
.lp-price-featured { border-color: var(--ravin-green); box-shadow: 0 0 0 1px var(--ravin-green), 0 24px 50px rgba(16,185,129,.16); }
.lp-price-tag { position: absolute; top: -11px; right: 50%; transform: translateX(50%); background: var(--ravin-green); color: #fff; font-size: 0.62rem; font-weight: 700; padding: 0.2rem 0.75rem; border-radius: 100px; white-space: nowrap; }
.lp-price-name { font-weight: 800; color: var(--ink); font-size: 1rem; }
.lp-price-amount { font-size: 1.45rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin: 0.5rem 0 0.1rem; }
.lp-price-amount span { font-size: 0.68rem; font-weight: 500; color: var(--text-muted); }
.lp-price-list { list-style: none; padding: 0; margin: 1.1rem 0 1.5rem; font-size: 0.85rem; color: var(--text-soft); flex: 1; display: flex; flex-direction: column; gap: 0.7rem; }
.lp-price-list li { padding-right: 1.4rem; position: relative; }
.lp-price-list li::before { content: "\2713"; position: absolute; right: 0; color: var(--ravin-green); font-weight: 800; }

.lp-cta-wrap { padding: 2rem 1.25rem 5rem; }
.lp-cta { max-width: 1000px; margin: 0 auto; text-align: center; border-radius: 32px; padding: 4.5rem 2rem; color: #fff; background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(16,185,129,.28), transparent 60%), linear-gradient(160deg,#141417,#09090b); }
.lp-cta h2 { font-size: clamp(1.7rem,3.5vw,2.6rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 0.85rem; color: #fff; }
.lp-cta p { color: rgba(255,255,255,.6); font-size: 1rem; line-height: 1.9; max-width: 480px; margin: 0 auto 2rem; }

.lp-post { background: #fff; border: 1px solid rgba(9,9,11,.08); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; color: inherit; transition: transform .3s var(--ease), box-shadow .3s; }
.lp-post:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(9,9,11,.08); }
.lp-post-cover { height: 170px; }
.lp-post-body { padding: 1.35rem; flex: 1; display: flex; flex-direction: column; }
.lp-post-body h3 { font-size: 1rem; font-weight: 700; color: var(--ink); line-height: 1.6; margin-bottom: 0.4rem; }
.lp-post-body p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.8; flex: 1; }
.lp-post-more { font-size: 0.78rem; color: var(--ravin-green-dark); font-weight: 700; margin-top: 0.9rem; }

.lp-footer { background: #09090b; color: rgba(255,255,255,.5); padding: 3.5rem 1.25rem 2rem; }
.lp-footer-inner { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.lp-footer .lp-logo { color: #fff; }
.lp-footer-links { display: flex; gap: 1.75rem; font-size: 0.85rem; flex-wrap: wrap; }
.lp-footer-links a { color: rgba(255,255,255,.55); }
.lp-footer-links a:hover { color: var(--ravin-green-light); }
.lp-footer-bottom { max-width: 1120px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); font-size: 0.78rem; text-align: center; }

@media (max-width: 900px) { .lp-grid-3, .lp-grid-4, .lp-price-grid, .lp-strip-inner { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .lp-grid-3, .lp-grid-4, .lp-price-grid, .lp-strip-inner { grid-template-columns: 1fr; } .lp-section { padding: 4rem 1.1rem; } }
