/**
 * Restricted Content Page Template Styles
 * Matches home page (rebuild2.1wp.site) - hero layout, warm palette, join-style buttons
 */

.gr-restricted-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
}

/* Top bar - matches home page nav: logo left, login right */
.gr-restricted-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.dark-mode .gr-restricted-topbar {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.08);
}

.gr-restricted-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #231900;
    font-size: 1.25rem;
    font-weight: 700;
    transition: opacity 0.2s;
}

.gr-restricted-logo:hover {
    opacity: 0.85;
}

.gr-restricted-logo-img {
    max-height: 48px;
    width: auto;
    display: block;
    vertical-align: middle;
}

.gr-restricted-logo img,
.gr-restricted-logo .gr-restricted-logo-img {
    max-height: 42px;
    width: auto;
    height: auto;
    display: block;
}

body.dark-mode .gr-restricted-logo {
    color: #f5df61;
}

.gr-restricted-login-btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    background: #F5DF61;
    color: #231900;
    transition: opacity 0.2s, transform 0.15s;
}

.gr-restricted-login-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

body.dark-mode .gr-restricted-login-btn {
    background: #F5DF61;
    color: #231900;
}

.gr-restricted-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
}

/* Hero section - matches home "Stop stressing. Start building." style */
.gr-restricted-content .gr-restricted-hero,
.gr-restricted-content .gr-restricted-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.gr-restricted-content .gr-restricted-hero h1,
.gr-restricted-content .gr-restricted-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.gr-restricted-content .gr-restricted-strap {
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    opacity: 0.85;
    margin: 0 0 0.5rem;
}

.gr-restricted-content .gr-restricted-hero .gr-restricted-lede,
.gr-restricted-content .gr-restricted-header .gr-restricted-lede {
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.gr-restricted-content .gr-restricted-intro {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.gr-restricted-content .gr-restricted-intro p {
    margin: 0 0 0.75rem;
}

.gr-restricted-content .gr-restricted-intro p:last-child {
    margin-bottom: 0;
}

.gr-restricted-content .gr-restricted-intro a {
    font-weight: 500;
}

/* What Members Get - emoji list */
.gr-restricted-content .gr-restricted-benefits {
    margin-bottom: 1.75rem;
}

.gr-restricted-content .gr-restricted-benefits h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
}

.gr-restricted-content .gr-restricted-benefits ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gr-restricted-content .gr-restricted-benefits li {
    padding-left: 0;
    margin-bottom: 0.4rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Pricing - gravityranger.com style */
.gr-restricted-content .gr-restricted-pricing h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.gr-restricted-content .gr-restricted-pricing-sub {
    font-size: 0.9375rem;
    margin: 0 0 1.25rem;
}

.gr-restricted-content .gr-restricted-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

@media (max-width: 768px) {
    .gr-restricted-content .gr-restricted-tiers {
        grid-template-columns: 1fr;
    }
}

.gr-restricted-content .gr-restricted-tier {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

body.dark-mode .gr-restricted-content .gr-restricted-tier {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.gr-restricted-content .gr-restricted-tier h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.gr-restricted-content .gr-restricted-tier .gr-restricted-tier-price {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.15rem;
}

.gr-restricted-content .gr-restricted-tier .gr-restricted-tier-period {
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.85;
    margin: 0 0 0.5rem;
}

.gr-restricted-content .gr-restricted-tier .gr-restricted-tier-tagline {
    font-size: 0.9375rem;
    font-style: italic;
    margin: 0 0 0.75rem;
    opacity: 0.9;
}

.gr-restricted-content .gr-restricted-tier .gr-restricted-tier-features {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    flex: 1;
}

.gr-restricted-content .gr-restricted-tier .gr-restricted-tier-features li {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.35rem;
    padding-left: 0;
}

.gr-restricted-content .gr-restricted-tier .gr-tier-features li::before,
.gr-restricted-content .gr-restricted-tier .gr-restricted-tier-features li::before {
    content: '✓';
    margin-right: 0.5rem;
    font-weight: 700;
}

.gr-restricted-content .gr-restricted-tier-featured {
    border-color: var(--gr-accent, #f5df61);
    border-width: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

body.dark-mode .gr-restricted-content .gr-restricted-tier-featured {
    border-color: var(--gr-accent, #f5df61);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* CTA - single "Not Ready Yet" block */
.gr-restricted-content .gr-restricted-actions {
    margin-bottom: 1rem;
}

.gr-restricted-content .gr-restricted-action-block {
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.02);
}

body.dark-mode .gr-restricted-content .gr-restricted-action-block {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.gr-restricted-content .gr-restricted-action-block h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.gr-restricted-content .gr-restricted-action-block p {
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0 0 1rem;
}

.gr-restricted-content .gr-restricted-action-block p:last-of-type {
    margin-bottom: 1rem;
}

.gr-restricted-content .gr-restricted-btn,
.gr-restricted-content .gr-btn {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: opacity 0.2s, transform 0.15s;
}

.gr-restricted-content .gr-restricted-btn:hover,
.gr-restricted-content .gr-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.gr-restricted-content .gr-restricted-btn-primary,
.gr-restricted-content .gr-btn-primary {
    background: #F5DF61;
    color: #231900;
}

.gr-restricted-content .gr-restricted-btn-primary:hover,
.gr-restricted-content .gr-btn-primary:hover {
    opacity: 0.92;
}

body.dark-mode .gr-restricted-content .gr-restricted-btn-primary,
body.dark-mode .gr-restricted-content .gr-btn-primary {
    background: #F5DF61;
    color: #231900;
}

.gr-restricted-content .gr-restricted-btn-secondary,
.gr-restricted-content .gr-restricted-btn-outline,
.gr-restricted-content .gr-btn-secondary {
    background: transparent;
    border: 2px solid currentColor;
}
