/* Magna Plugin Hub — Public Page Styles */
/* Gold Series consistent design for frontend site pages */

.mph-page-section {
    padding: 40px 0;
    color: #e2e8f0;
}

.mph-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.mph-page-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.mph-page-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    max-width: 640px;
}

.mph-section-dark {
    background: rgba(0, 0, 0, 0.2);
}

.mph-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.mph-section-title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.mph-section-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== HERO ===== */
.mph-hero-wrapper {
    width: 100%;
    padding: 24px 0;
}

.mph-hero-section {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    min-height: 360px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(205, 133, 63, 0.25);
    box-shadow:
        0 0 50px rgba(205, 133, 63, 0.15),
        0 0 100px rgba(205, 133, 63, 0.06),
        0 4px 16px rgba(0, 0, 0, 0.4);
}

.mph-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mph-hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 520px;
    padding: 60px 24px;
}

.mph-hero-title {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
}

.mph-hero-highlight {
    background: linear-gradient(135deg, #b8860b, #daa520, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mph-hero-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0 0 28px;
    max-width: 480px;
}

.mph-hero-actions {
    display: flex;
    gap: 12px;
}

.mph-btn-hero-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

.mph-btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* ===== BUTTONS ===== */
.mph-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.mph-btn-primary {
    background: linear-gradient(135deg, #8B4513, #A0522D, #CD853F);
    color: #fff;
}

.mph-btn-primary:hover {
    opacity: 0.9;
    color: #fff;
}

.mph-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mph-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.mph-btn-lg {
    padding: 14px 32px;
    font-size: 14px;
}

.mph-btn-sm {
    padding: 8px 18px;
    font-size: 12px;
}

/* ===== PLUGIN CARDS GRID ===== */
.mph-plugins-grid {
    display: grid;
    gap: 20px;
}

.mph-plugins-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.mph-plugins-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.mph-plugin-card {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.mph-plugin-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.mph-plugin-card-header {
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.mph-tier-badge {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mph-plugin-category {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.mph-plugin-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.mph-plugin-card-body {
    padding: 16px;
}

.mph-plugin-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.mph-plugin-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    line-height: 1.4;
}

.mph-plugin-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
    line-height: 1.5;
}

.mph-plugin-features {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mph-plugin-features li {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    padding: 2px 0;
}

.mph-plugin-card-footer {
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mph-plugin-meta {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.mph-plugin-rating {
    font-size: 11px;
    color: #daa520;
}

.mph-plugin-status {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

.mph-plugin-icon-large {
    font-size: 40px;
    text-align: center;
    margin-bottom: 8px;
}

/* ===== TIER VARIANTS ===== */
.mph-tier-gold .mph-plugin-card-header {
    border-bottom: 1px solid rgba(218, 165, 32, 0.3);
}

.mph-tier-progress .mph-plugin-card-header {
    border-bottom: 1px solid rgba(99, 102, 241, 0.3);
}

.mph-tier-mature .mph-plugin-card-header {
    border-bottom: 1px solid rgba(34, 197, 94, 0.3);
}

.mph-tier-nextgen .mph-plugin-card-header {
    border-bottom: 1px solid rgba(192, 132, 252, 0.3);
}

/* ===== STATS ===== */
.mph-section-stats {
    padding: 32px 0;
    background: rgba(0, 0, 0, 0.3);
}

.mph-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.mph-stat-card {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mph-stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #b8860b, #daa520, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mph-stat-label {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== CTA ===== */
.mph-section-cta {
    padding: 48px 0;
    text-align: center;
}

.mph-cta-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.mph-cta-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.mph-cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ===== MARKETPLACE FILTERS ===== */
.mph-marketplace-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.mph-filter-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-right: 8px;
}

.mph-filter-btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s;
}

.mph-filter-btn.active,
.mph-filter-btn:hover {
    background: linear-gradient(135deg, #8B4513, #A0522D, #CD853F);
    color: #fff;
    border-color: transparent;
}

/* ===== STEPS GRID ===== */
.mph-steps-grid {
    display: grid;
    gap: 16px;
}

.mph-steps-3 {
    grid-template-columns: repeat(3, 1fr);
}

.mph-step-card {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.mph-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B4513, #A0522D, #CD853F);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    margin: 0 auto 12px;
}

.mph-step-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.mph-step-card p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* ===== FEATURES GRID ===== */
.mph-features-grid {
    display: grid;
    gap: 16px;
}

.mph-features-2 {
    grid-template-columns: repeat(2, 1fr);
}

.mph-feature-card {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mph-feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.mph-feature-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.mph-feature-card p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* ===== FAQ ===== */
.mph-faq-list {
    max-width: 800px;
}

.mph-faq-item {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mph-faq-q {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.mph-faq-a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* ===== LEGAL ===== */
.mph-legal-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 24px 0 8px;
}

.mph-legal-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 12px;
}

/* ===== ABOUT ===== */
.mph-about-mission {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.mph-about-card {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mph-about-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.mph-about-card p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.mph-about-stats h2,
.mph-about-contact h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    text-align: center;
}

.mph-about-contact {
    text-align: center;
    margin-top: 40px;
}

.mph-about-contact p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

/* ===== CONTACT ===== */
.mph-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.mph-contact-card {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mph-contact-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.mph-contact-card p,
.mph-contact-card li {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.mph-contact-card ul {
    padding-left: 16px;
    margin: 8px 0;
}

/* ===== AUTH ===== */
.mph-auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 800px;
}

.mph-auth-card {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mph-auth-card h2 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.mph-auth-card p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 12px;
}

.mph-auth-links {
    margin-top: 12px;
    text-align: center;
}

/* WordPress login form styling */
.mph-auth-card .login-username label,
.mph-auth-card .login-password label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    display: block;
    margin-bottom: 4px;
}

.mph-auth-card .login-username input,
.mph-auth-card .login-password input {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 13px;
    box-sizing: border-box;
    margin-bottom: 12px;
}

.mph-auth-card .login-remember {
    margin-bottom: 12px;
}

.mph-auth-card .login-remember label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.mph-auth-card .login-submit input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #8B4513, #A0522D, #CD853F);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .mph-plugins-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    .mph-plugins-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .mph-plugin-img {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .mph-hero-section {
        min-height: 320px;
    }
    .mph-hero-title {
        font-size: 26px;
    }
    .mph-hero-subtitle {
        font-size: 14px;
    }
    .mph-hero-content {
        padding: 40px 20px;
        max-width: 400px;
    }
    .mph-page-container {
        padding: 0 16px;
    }
    .mph-plugins-grid-4,
    .mph-plugins-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .mph-plugin-img {
        height: 160px;
    }
    .mph-steps-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .mph-features-2 {
        grid-template-columns: 1fr;
    }
    .mph-contact-grid,
    .mph-auth-grid,
    .mph-about-mission {
        grid-template-columns: 1fr;
    }
    .mph-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .mph-hero-section {
        min-height: 280px;
    }
    .mph-hero-title {
        font-size: 22px;
    }
    .mph-hero-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
        max-width: 100%;
    }
    .mph-hero-content {
        padding: 32px 16px;
        max-width: 100%;
    }
    .mph-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .mph-plugins-grid-4,
    .mph-plugins-grid-3 {
        grid-template-columns: 1fr;
    }
    .mph-plugin-img {
        height: 200px;
    }
    .mph-steps-3 {
        grid-template-columns: 1fr;
    }
    .mph-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mph-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .mph-cta-actions .mph-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .mph-hero-section {
        min-height: 240px;
    }
    .mph-hero-title {
        font-size: 20px;
    }
    .mph-hero-subtitle {
        font-size: 12px;
        margin-bottom: 16px;
    }
    .mph-hero-content {
        padding: 24px 12px;
    }
    .mph-page-container {
        padding: 0 12px;
    }
    .mph-plugin-img {
        height: 180px;
    }
    .mph-page-title {
        font-size: 24px;
    }
    .mph-marketplace-filters {
        gap: 6px;
    }
    .mph-filter-btn {
        padding: 5px 10px;
        font-size: 10px;
    }
    .mph-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .mph-cta-actions .mph-btn {
        width: 100%;
        text-align: center;
    }
}
