/* Pricing page styles (Minimal Zinc/Emerald theme) */

:root {
    --bg-deep: #09090b;
    --bg-zinc: #18181b;
    --border-zinc: #27272a;
    --text-primary: #f4f4f5;
    --text-muted: #a1a1aa;
    --emerald-primary: #34d399;
    --emerald-glow: rgba(52, 211, 153, 0.4);
}

.pricing-main {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Override theme default main padding to avoid extra black bars */
.pricing-main.site-main {
    padding: 0 !important;
}

/* Ensure body matches page background when header/footer are hidden */
.page-template-page-pricing body {
    background: var(--bg-deep);
}

/* Header Navigation (Simulating Chat/Docs style) */
.pricing-nav-bar {
    height: 56px;
    border-bottom: 1px solid var(--border-zinc);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-zinc);
    z-index: 50;
}

.pricing-nav-brand {
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: #71717a;
}

.pricing-nav-brand span {
    color: var(--emerald-primary);
}

.pricing-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-back-btn {
    text-decoration: none;
    font-size: 10px;
    font-weight: bold;
    color: var(--text-primary);
    border: 1px solid var(--border-zinc);
    padding: 6px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.2s;
    background: transparent;
}

.pricing-back-btn:hover {
    background: var(--border-zinc);
    border-color: var(--emerald-primary);
}

/* Main Content */
.pricing-content {
    flex: 1;
    overflow-y: auto;
    padding: 80px 24px;
}

.pricing-hero {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-hero-top {
    margin-bottom: 16px;
}

.pricing-badge {
    font-size: 9px;
    font-family: ui-monospace, SFMono-Regular, monospace;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 0.4em;
}

.pricing-billing-toggle {
    margin-top: 28px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-zinc);
    background: rgba(24, 24, 27, 0.7);
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
}

.pricing-toggle-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: #a1a1aa;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.pricing-toggle-btn:hover {
    background: rgba(39, 39, 42, 0.6);
    color: #e4e4e7;
}

.pricing-toggle-btn.is-active {
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
    box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.25);
}

.pricing-title {
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: #fff;
}

.pricing-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: 1240px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-zinc);
    border: 1px solid var(--border-zinc);
    border-radius: 8px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, border-color 0.2s;
}

.pricing-card:hover {
    border-color: #3f3f46;
}

.pricing-card-highlight {
    border-color: var(--emerald-primary);
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.05);
}

.pricing-card-top {
    margin-bottom: 24px;
}

.pricing-most-popular {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #09090b;
    background: #34d399;
    border-radius: 999px;
    padding: 4px 10px;
    margin-bottom: 12px;
    width: fit-content;
}

.pricing-plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.pricing-price .pricing-price-suffix {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-billed-line {
    margin-top: 8px;
    font-size: 12px;
    color: #71717a;
}

.pricing-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    flex-grow: 1;
}

.pricing-features li {
    font-size: 0.875rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.pricing-features li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--emerald-primary);
    border-radius: 50%;
    margin-right: 12px;
    box-shadow: 0 0 5px var(--emerald-primary);
}

.pricing-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.pricing-btn-primary {
    background: var(--emerald-primary);
    color: #09090b;
}

.pricing-btn-primary:hover {
    background: #6ee7b7;
}

.pricing-btn-outline {
    background: transparent;
    border: 1px solid var(--border-zinc);
    color: var(--text-primary);
}

.pricing-btn-outline:hover {
    background: var(--border-zinc);
}

.pricing-note {
    margin-top: 48px;
    text-align: center;
}

.pricing-footnote {
    font-size: 11px;
    font-family: ui-monospace, SFMono-Regular, monospace;
    color: #52525b;
    letter-spacing: 0.1em;
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-title {
        font-size: 2rem;
    }
    .pricing-content {
        padding: 56px 16px;
    }
    .pricing-nav-bar {
        padding: 0 16px;
    }
}

/* Hide WP default header/footer */
.page-template-page-pricing .site-header,
.page-template-page-pricing .site-footer,
.page-template-page-pricing .primary-nav {
    display: none !important;
}
