:root {
    --slate: #1e293b;
    --muted: #64748b;
    --border: #e2e8f0;
    --bg: #f8fafc;
    --white: #ffffff;
    --accent: #2563eb;
    --accent-light: #dbeafe;
    --accent-dark: #1d4ed8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--slate);
    line-height: 1.6;
}

.vp-page {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    min-height: 100vh;
}

/* NAV */
.vp-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
}

.vp-nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 4px; }
.vp-nav-toggle span { display: block; width: 20px; height: 2px; background: var(--slate); transition: .3s; }
.vp-nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.vp-nav-toggle.active span:nth-child(2) { opacity: 0; }
.vp-nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

.vp-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.vp-nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.vp-nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    transition: color .2s;
}

.vp-nav-links a:hover { color: var(--accent); }

/* HERO */
.vp-hero {
    padding: 80px 40px 60px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.vp-hero h1 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--slate);
}

.vp-hero h1 em { color: var(--accent); font-style: normal; }

.vp-hero p {
    color: var(--muted);
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.vp-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.vp-stat {
    text-align: center;
}

.vp-stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    display: block;
}

.vp-stat-label {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* LAYOUT with sidebar */
.vp-layout {
    display: flex;
    gap: 0;
}
.vp-layout #content {
    flex: 1;
    min-width: 0;
}
.vp-sidebar {
    display: none;
    width: 260px;
    flex-shrink: 0;
    border-left: 1px solid var(--border);
    padding: 40px 24px;
}
.vp-sidebar-section {
    margin-bottom: 32px;
}
.vp-sidebar-h3 {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: 12px;
}
.vp-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.vp-tag-list a {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: 4px 10px;
    border-radius: 100px;
    background: var(--accent-light);
    color: var(--accent-dark);
    text-decoration: none;
    transition: background .15s;
}
.vp-tag-list a:hover {
    background: var(--accent);
    color: white;
}
.vp-tag-list .tag-count {
    font-weight: 400;
    opacity: .6;
    margin-left: 2px;
}

/* BANNER */
.vp-banner-wrap {
    text-align: center;
    padding: 24px 40px;
    border-bottom: 1px solid var(--border);
}

.vp-banner-wrap a {
    display: inline-block;
    max-width: 100%;
}

.vp-banner-wrap img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

/* SECTION */
.vp-section {
    padding: 60px 40px;
}

.vp-section-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.vp-section-h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.6px;
    margin-bottom: 32px;
}

/* POST GRID */
.vp-post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.vp-post-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: border-color .2s, transform .2s;
    cursor: pointer;
}

.vp-post-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.vp-post-meta {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 8px;
}

.vp-post-title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.3px;
    margin-bottom: 8px;
    color: var(--slate);
}

.vp-post-excerpt {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    font-weight: 300;
}

.vp-post-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 100px;
    margin-top: 10px;
    margin-right: 4px;
    background: var(--accent-light);
    color: var(--accent-dark);
}

/* BLOG POST VIEW */
.vp-post-hero {
    padding: 40px 40px 24px;
    border-bottom: 1px solid var(--border);
    display: none;
}

.vp-post-hero h1 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.8px;
    line-height: 1.1;
    margin: 12px 0 12px;
}

.vp-post-body {
    padding: 40px;
    display: none;
    max-width: 720px;
}

.vp-post-body p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--slate);
    margin-bottom: 20px;
    font-weight: 300;
}

.vp-post-body h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 32px 0 12px;
}

.vp-post-body h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 24px 0 8px;
}

.vp-post-body ul, .vp-post-body ol {
    font-size: 15px;
    line-height: 1.8;
    color: var(--slate);
    font-weight: 300;
    padding-left: 24px;
    margin-bottom: 20px;
}

.vp-post-body li { margin-bottom: 6px; }

.vp-post-body strong { font-weight: 500; }

.vp-post-body a { color: var(--accent); }
.vp-post-body img { max-width: 100%; height: auto; border-radius: 8px; }

.post-back {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    cursor: pointer;
}

.post-back:hover { color: var(--slate); }

/* LOADING */
.vp-loading {
    text-align: center;
    padding: 48px;
    color: var(--muted);
}

.vp-empty {
    text-align: center;
    padding: 48px;
    color: var(--muted);
}

/* FOOTER */
.vp-footer {
    border-top: 1px solid var(--border);
    padding: 32px 40px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

.vp-footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.vp-footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 12px;
}

.vp-footer-links a:hover { color: var(--accent); }

/* RESPONSIVE */
@media (max-width: 900px) {
    .vp-layout { flex-direction: column; }
    .vp-sidebar {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--border);
        padding: 24px 20px;
    }
}

@media (max-width: 768px) {
    .vp-nav { padding: 12px 20px; }

    .vp-nav-links {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 20px;
        border-bottom: 1px solid var(--border);
        gap: 12px;
    }

    .vp-nav-links.vp-nav-open { display: flex; }

    .vp-nav-toggle { display: flex; }

    .vp-hero { padding: 48px 20px 40px; }
    .vp-hero h1 { font-size: 26px; }
    .vp-hero-stats { gap: 24px; }

    .vp-section { padding: 40px 20px; }
    .vp-section-h2 { font-size: 22px; }

    .vp-post-grid { grid-template-columns: 1fr; gap: 16px; }

    .vp-post-hero { padding: 32px 20px 20px; }
    .vp-post-hero h1 { font-size: 22px; }

    .vp-post-body { padding: 24px 20px; max-width: 100%; }

    .vp-banner-wrap { padding: 16px 20px; }

    .vp-card-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
    .vp-card-row { gap: 10px; }

    .vp-post-thumb { height: 140px; }

    .vp-footer { padding: 24px 20px; }
}

@media (max-width: 480px) {
    .vp-nav { padding: 10px 16px; }
    .vp-nav-links { top: 50px; padding: 12px 16px; }

    .vp-logo img { height: 30px !important; }

    .vp-hero { padding: 32px 16px 28px; }
    .vp-hero h1 { font-size: 20px; }
    .vp-hero p { font-size: 14px; }
    .vp-hero-stats { gap: 16px; flex-direction: column; align-items: center; }

    .vp-section { padding: 28px 16px; }
    .vp-section-tag { font-size: 10px; }
    .vp-section-h2 { font-size: 18px; margin-bottom: 20px; }

    .vp-post-card { padding: 16px; }
    .vp-post-title { font-size: 15px; }
    .vp-post-excerpt { font-size: 12px; }
    .vp-post-thumb { height: 120px; }

    .vp-post-hero { padding: 24px 16px 16px; }
    .vp-post-hero h1 { font-size: 18px; }

    .vp-post-body { padding: 16px; }
    .vp-post-body p { font-size: 14px; }

    .vp-banner-wrap { padding: 12px 16px; }

    .op-logo { width: 64px; height: 34px; }
    .star { font-size: 18px; }
    .star-info { font-size: 10px; }

    .vp-card-footer { flex-direction: column; align-items: flex-start; gap: 6px; }
    .vp-card-row { gap: 8px; }

    .vp-pricing { font-size: 12px; }

    .vp-footer { padding: 20px 16px; font-size: 12px; }
}

.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.star {
    font-size: 22px;
    cursor: pointer;
    color: var(--border);
    transition: color .15s, transform .15s;
    line-height: 1;
    user-select: none;
}
.star:hover {
    color: var(--accent);
    transform: scale(1.2);
}
.star.active {
    color: var(--accent);
}
.star-info {
    font-size: 11px;
    color: var(--muted);
    margin-left: 6px;
    white-space: nowrap;
}

.op-logo {
    width: 88px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.vp-post-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.vp-post-featured {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 24px;
}

.vp-card-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.vp-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.vp-pricing {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    line-height: 1.6;
}

.vp-pricing table {
    width: 100%;
    border-collapse: collapse;
}

.vp-pricing th {
    text-align: left;
    padding: 4px 8px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}

.vp-pricing td {
    padding: 4px 8px;
    border-bottom: 1px solid rgba(128,128,128,0.15);
}

.vp-pricing td:not(:first-child),
.vp-pricing th:not(:first-child) {
    text-align: right;
}

.vp-pricing td:last-child {
    color: var(--muted);
}

.vp-pricing-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.vp-ad-incontent {
    margin-bottom: 24px;
    min-height: 100px;
}

.vp-ad-sidebar {
    min-height: 250px;
}

.adsbygoogle { overflow: hidden; }
