@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   Promise Money V2 Plugin Styles — Scoped to .pm2026-hub
   No bare element selectors — will not affect the main theme.
   ============================================================ */

:root {
    /* Brand Colors */
    --primary-teal: #00D2D3;
    --primary-purple: #9B59B6;
    --accent-teal: #01BBC2;
    --accent-purple: #8E44AD;

    /* Semantic Colors */
    --bg-light: #FDFBFF;
    --bg-dark: #121212;
    --text-dark: #1A1A1A;
    --text-muted: #555555;
    --white: #FFFFFF;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: blur(12px);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-teal), var(--primary-purple));
    --gradient-soft: linear-gradient(135deg, rgba(0, 210, 211, 0.1), rgba(155, 89, 182, 0.1));

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-round: 50%;
}

/* ===================
   Base Scope
   =================== */

.pm2026-hub {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.pm2026-hub *,
.pm2026-hub *::before,
.pm2026-hub *::after {
    box-sizing: inherit;
}

.pm2026-hub h1,
.pm2026-hub h2,
.pm2026-hub h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.pm2026-hub p {
    margin-bottom: var(--space-md);
}

.pm2026-hub .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.pm2026-hub section {
    padding: var(--space-xl) 0;
}

/* ===================
   Typography Helpers
   =================== */

.pm2026-hub .text-center { text-align: center; }
.pm2026-hub .text-teal { color: var(--primary-teal); }
.pm2026-hub .text-purple { color: var(--primary-purple); }

.pm2026-hub .text-gradient {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ===================
   Glassmorphism
   =================== */

.pm2026-hub .glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glass);
}

/* ===================
   Pillar Hero
   =================== */

.pm2026-hub .hero {
    height: auto;
    padding: var(--space-lg) 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.pm2026-hub .hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 40%;
    height: 60%;
    background: var(--gradient-primary);
    filter: blur(150px);
    opacity: 0.1;
    z-index: 0;
}

.pm2026-hub .hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.pm2026-hub .hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    letter-spacing: -2px;
}

.pm2026-hub .hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 600px;
}

/* ===================
   Values Grid
   =================== */

.pm2026-hub .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

/* ===================
   Buttons
   =================== */

.pm2026-hub .btn {
    display: inline-block;
    padding: 1.1rem 2.6rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: -0.2px;
}

.pm2026-hub .btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 10px 20px -5px rgba(155, 89, 182, 0.4);
}

.pm2026-hub .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -5px rgba(155, 89, 182, 0.5);
    filter: brightness(1.1);
}

.pm2026-hub .btn-secondary {
    background: var(--white);
    color: var(--primary-purple);
    border: 1px solid rgba(15, 12, 12, 0.2);
    box-shadow: var(--shadow-sm);
}

.pm2026-hub .btn-secondary:hover {
    background: #f8f9fa;
    border-color: var(--primary-purple);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* ===================
   Value / Pillar Cards
   =================== */

.pm2026-hub .value-card {
    background: var(--white);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: left;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.pm2026-hub .value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 210, 211, 0.2);
}

.pm2026-hub .value-icon {
    font-size: 2.5rem;
    color: var(--primary-teal);
    margin-bottom: var(--space-sm);
}

.pm2026-hub .pillar-card {
    background: var(--white);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.pm2026-hub .pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 210, 211, 0.2);
}

.pm2026-hub .pillar-card h3 {
    color: var(--primary-purple);
    font-size: 1.3rem;
    margin-bottom: var(--space-xs);
}

.pm2026-hub .pillar-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    flex-grow: 1;
}

.pm2026-hub .pillar-link {
    font-weight: 700;
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

/* ===================
   Search
   =================== */

.pm2026-hub .search-container {
    max-width: 600px;
    margin: var(--space-md) auto;
    position: relative;
    z-index: 10;
}

.pm2026-hub .search-input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    padding-left: 3.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    font-family: inherit;
}

.pm2026-hub .search-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 210, 211, 0.3), var(--shadow-lg);
}

.pm2026-hub .search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-purple);
    font-size: 1.2rem;
}

/* ===================
   Accordion
   =================== */

.pm2026-hub .accordion-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    counter-reset: question-counter;
}

.pm2026-hub details.accordion-item {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.3s ease;
}

.pm2026-hub details.accordion-item[open] {
    box-shadow: var(--shadow-md);
    border-color: rgba(155, 89, 182, 0.2);
}

.pm2026-hub summary.accordion-header {
    padding: 1.2rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    list-style: none;
    position: relative;
    padding-right: 3rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.pm2026-hub summary.accordion-header::before {
    counter-increment: question-counter;
    content: "Q" counter(question-counter) ". ";
    color: var(--primary-teal);
    font-weight: 800;
    margin-right: 0.5rem;
    min-width: 2.5rem;
}

.pm2026-hub summary.accordion-header::-webkit-details-marker {
    display: none;
}

.pm2026-hub summary.accordion-header::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-teal);
    transition: transform 0.3s ease;
    font-weight: 400;
}

.pm2026-hub details[open] summary.accordion-header::after {
    transform: translateY(-50%) rotate(45deg);
    color: var(--primary-purple);
}

.pm2026-hub .accordion-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    margin-top: -0.5rem;
    padding-top: 1rem;
}

/* ===================
   TL;DR Box
   =================== */

.pm2026-hub .tldr-box {
    background: rgba(0, 210, 211, 0.1);
    border-left: 4px solid var(--primary-teal);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.pm2026-hub .tldr-label {
    font-weight: 800;
    color: var(--primary-teal);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.3rem;
}

/* ===================
   Sidebar / Spoke Layout
   =================== */

.pm2026-hub .sidebar {
    position: sticky;
    top: 6rem;
}

.pm2026-hub .sidebar-nav {
    background: var(--white);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.pm2026-hub .sidebar-nav h4 {
    color: var(--primary-purple);
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pm2026-hub .sidebar-links {
    list-style: none;
}

.pm2026-hub .sidebar-links li {
    margin-bottom: 0.5rem;
}

.pm2026-hub .sidebar-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.pm2026-hub .sidebar-links a:hover,
.pm2026-hub .sidebar-links a.active {
    background: rgba(0, 210, 211, 0.1);
    color: var(--primary-teal);
    transform: translateX(5px);
}

.pm2026-hub .spoke-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: var(--space-lg);
    padding-top: var(--space-lg);
}

/* ===================
   Heritage / Team (About)
   =================== */

.pm2026-hub .heritage {
    background: var(--white);
    position: relative;
}

.pm2026-hub .heritage-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.pm2026-hub .heritage-text h2 {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.pm2026-hub .heritage-text h3 {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.pm2026-hub .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.pm2026-hub .author-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.pm2026-hub .author-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(155, 89, 182, 0.2);
}

.pm2026-hub .author-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.pm2026-hub .author-card:hover .author-img {
    transform: scale(1.05);
}

.pm2026-hub .author-info {
    padding: var(--space-md);
    background: var(--white);
    position: relative;
    z-index: 2;
}

.pm2026-hub .author-role {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--gradient-soft);
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-purple);
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.pm2026-hub .author-bio {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
}

/* ===================
   ProMoney Tube (Coming Soon)
   =================== */

.pm2026-hub .promoney-tube-coming-soon {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    background: var(--gradient-soft);
    border-radius: var(--radius-lg);
    margin: var(--space-md) 0;
}

.pm2026-hub .promoney-tube-coming-soon h2 {
    color: var(--primary-purple);
    margin-bottom: var(--space-sm);
}

.pm2026-hub .promoney-tube-coming-soon p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* ===================
   Responsive
   =================== */

@media (max-width: 1024px) {
    .pm2026-hub .heritage-split {
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .pm2026-hub .hero {
        padding: var(--space-lg) 0;
    }

    .pm2026-hub .hero p {
        font-size: 1rem;
    }

    .pm2026-hub .heritage-split {
        grid-template-columns: 1fr;
    }

    .pm2026-hub .team-grid {
        grid-template-columns: 1fr;
    }

    .pm2026-hub section {
        padding: var(--space-lg) 0;
    }

    .pm2026-hub .spoke-layout {
        grid-template-columns: 1fr;
    }

    .pm2026-hub .sidebar {
        position: static;
        margin-bottom: var(--space-md);
    }
}
