/* ============ SUBPAGE COMMON ============ */

/* ============ SUBPAGE HERO ============ */
.subpage-hero {
    padding: 80px 0 100px;
    background: #000;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.subpage-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top right, rgba(57,255,20,.08), transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(57,255,20,.04), transparent 50%);
    pointer-events: none;
}
.subpage-hero-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.subpage-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: -.02em;
}
.subpage-sub {
    font-size: 17px;
    color: #b5b5b5;
    line-height: 1.7;
    max-width: 600px;
}
.subpage-hero-card {
    background: var(--bg-card);
    border: 1px solid var(--accent);
    padding: 40px 36px;
    text-align: center;
    box-shadow: 0 0 60px rgba(57,255,20,.12);
}
.price-display {
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    color: var(--accent);
    font-family: 'Space Mono', monospace;
}
.price-amount {
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
}
.price-unit {
    font-size: 24px;
    font-weight: 700;
}
.price-meta {
    color: var(--text-mute);
    font-size: 14px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.check-icon {
    color: var(--accent);
    font-weight: 700;
}
.subpage-hero-card .btn-primary {
    width: 100%;
    padding: 16px 24px;
}

/* ============ BENEFIT BLOCKS ============ */
.section-benefit {
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
}
.benefit-block {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}
.benefit-block:first-child { padding-top: 0; }
.benefit-block:last-of-type { border-bottom: 0; }
.benefit-side {
    position: sticky;
    top: 100px;
    align-self: start;
}
.benefit-icon {
    width: 56px;
    height: 56px;
    background: rgba(57,255,20,.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.benefit-icon svg { width: 28px; height: 28px; }
.benefit-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px dashed var(--border-2);
    padding-bottom: 16px;
    display: inline-block;
}
.benefit-list {
    list-style: none;
    counter-reset: bn-counter;
}
.benefit-list li {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px dashed var(--border);
    align-items: flex-start;
}
.benefit-list li:last-child { border-bottom: 0; }
.bn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: #000;
    border-radius: 50%;
    font-family: 'Space Mono', monospace;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}
.bn-text h3 {
    font-size: 17px;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 8px;
    font-weight: 700;
}
.bn-sub {
    list-style: none;
    padding-left: 0;
    margin-top: 8px;
}
.bn-sub li {
    color: #a5a5a5;
    font-size: 14px;
    padding: 4px 0;
    line-height: 1.6;
    border: 0;
    display: list-item;
    list-style-type: disc;
    margin-left: 20px;
    gap: 0;
}
.bn-sub li::before { content: none; }
.benefit-note {
    color: var(--text-mute);
    font-size: 13px;
    margin-top: 32px;
    padding-left: 24px;
    border-left: 2px solid var(--border-2);
}
.benefit-note i { color: var(--accent); font-style: normal; margin-right: 4px; }

/* ============ ARTICLE (BLOG) STYLES ============ */
.article-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}
.article-header {
    padding: 80px 0 48px;
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--accent);
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    letter-spacing: .1em;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.article-meta .dot { color: var(--text-dim); }
.article-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -.01em;
}
.article-deck {
    font-size: 17px;
    color: #b5b5b5;
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto;
}
.article-cover {
    margin: 48px 0;
    border: 1px solid var(--border);
    aspect-ratio: 16/9;
    background:
        linear-gradient(135deg, rgba(57,255,20,.05), transparent),
        #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}
.article-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: 32px 32px;
}
.article-cover span { position: relative; z-index: 1; }

/* Article body */
.article-body {
    padding: 48px 0 80px;
    font-size: 16px;
    line-height: 1.85;
    color: #d5d5d5;
}
.article-body p {
    margin-bottom: 20px;
    color: #d5d5d5;
}
.article-body h2 {
    font-size: 28px;
    color: #fff;
    margin: 56px 0 20px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-weight: 700;
    line-height: 1.3;
}
.article-body h2:first-of-type { margin-top: 32px; padding-top: 0; border-top: 0; }
.article-body h3 {
    font-size: 20px;
    color: var(--accent);
    margin: 36px 0 14px;
    font-weight: 700;
    line-height: 1.4;
}
.article-body ul, .article-body ol {
    margin: 16px 0 24px 24px;
    padding-left: 16px;
}
.article-body li {
    margin-bottom: 10px;
    color: #d5d5d5;
    line-height: 1.75;
}
.article-body strong {
    color: var(--accent);
    font-weight: 700;
}
.article-body blockquote {
    border-left: 3px solid var(--accent);
    padding: 16px 24px;
    margin: 28px 0;
    background: rgba(57,255,20,.04);
    color: #fff;
    font-size: 17px;
    line-height: 1.7;
}
.article-body blockquote p { margin-bottom: 0; color: #fff; }

/* Article conclusion box */
.article-conclusion {
    background: var(--bg-card);
    border: 1px solid var(--accent);
    padding: 32px;
    margin: 40px 0;
    box-shadow: 0 0 40px rgba(57,255,20,.08);
}
.article-conclusion h3 {
    color: var(--accent);
    margin-top: 0;
}

/* Article FAQ */
.article-faq {
    margin: 56px 0 32px;
    padding: 40px;
    background: #050505;
    border: 1px solid var(--border);
}
.article-faq h2 { margin-top: 0; padding-top: 0; border-top: 0; }

/* Article CTA */
.article-cta {
    background:
        radial-gradient(ellipse at center, rgba(57,255,20,.08), transparent 60%),
        #000;
    border: 1px solid var(--border);
    padding: 48px 40px;
    text-align: center;
    margin: 40px 0;
}
.article-cta h3 { color: #fff; font-size: 24px; margin-bottom: 12px; }
.article-cta p { color: #b5b5b5; margin-bottom: 24px; }

/* ============ BLOG LISTING ============ */
.blog-listing {
    padding: 80px 0 100px;
}
.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.blog-cat {
    padding: 8px 18px;
    border: 1px solid var(--border);
    color: #c5c5c5;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: all .2s ease;
    cursor: pointer;
    font-family: 'Space Mono', monospace;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.blog-cat:hover, .blog-cat.active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(57, 255, 20, 0.05);
}
.blog-cat .cat-count {
    font-size: 11px;
    color: #888;
    font-weight: 400;
    letter-spacing: 0;
}
.blog-cat.active .cat-count,
.blog-cat:hover .cat-count {
    color: var(--accent);
}
.blog-listing-empty {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 14px;
}
.blog-listing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .subpage-hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .benefit-block { grid-template-columns: 1fr; gap: 32px; }
    .benefit-side { position: static; display: flex; align-items: center; gap: 20px; }
    .benefit-side .benefit-title { border: 0; padding: 0; font-size: 24px; }
    .blog-listing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .subpage-hero { padding: 60px 0 64px; }
    .subpage-hero-card { padding: 32px 24px; }
    .price-amount { font-size: 56px; }
    .section-benefit { padding: 60px 0; }
    .benefit-block { padding: 32px 0; }
    .article-header { padding: 60px 0 32px; }
    .article-body { font-size: 15px; }
    .article-body h2 { font-size: 24px; margin: 40px 0 16px; }
    .article-body h3 { font-size: 18px; }
    .article-faq { padding: 24px; }
    .article-cta { padding: 32px 24px; }
}
