/**
 * TicketHQ WordPress Plugin landing page styles
 * Extends the main site design system (style.css)
 */

.nav-active {
    color: var(--foreground) !important;
    font-weight: 600;
}

/* ── Hero trust badges (wrap on mobile) ── */
.plugin-trust-badges {
    gap: 0.75rem 1rem !important;
}

.plugin-trust-badges span {
    font-size: 0.8125rem;
}

/* ── Choose Your Path cards ── */
.path-cards {
    display: grid;
    gap: 2rem;
}

@media (min-width: 900px) {
    .path-cards {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
}

.path-card {
    background: var(--card);
    border: 1px solid hsl(214 32% 91% / 0.6);
    border-radius: calc(var(--radius) + 4px);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.path-card-pro {
    border: 2px solid var(--primary);
    background: hsl(232 94% 63% / 0.03);
}

.path-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.path-badge-free {
    background: hsl(152 76% 36% / 0.12);
    color: hsl(152 60% 30%);
    border: 1px solid hsl(152 76% 36% / 0.25);
}

.path-badge-pro {
    background: hsl(232 94% 63% / 0.12);
    color: var(--primary);
    border: 1px solid hsl(232 94% 63% / 0.3);
}

.path-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.path-description {
    color: var(--muted-foreground);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.path-features {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
    flex: 1;
}

.path-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
}

.path-features-compact {
    margin-bottom: 1.5rem;
    flex: none;
}

.path-pricing {
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.path-supporting {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1.25rem;
}

.path-card .btn {
    margin-top: auto;
}

/* ── Feature highlights grid ── */
.plugin-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .plugin-highlights-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .plugin-highlights-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.plugin-highlight-card {
    background: var(--card);
    border: 1px solid hsl(214 32% 91% / 0.6);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
}

.plugin-highlight-card:hover {
    box-shadow: var(--shadow-md);
}

.plugin-highlight-card h4 {
    font-size: 0.875rem;
    font-weight: 700;
    margin-top: 0.75rem;
    line-height: 1.3;
}

.plugin-highlight-card-featured {
    border: 2px solid var(--highlight-red);
    background: hsl(0 84% 60% / 0.04);
    grid-column: span 2;
}

@media (min-width: 640px) {
    .plugin-highlight-card-featured {
        grid-column: span 1;
    }
}

.plugin-highlight-card-featured .icon {
    color: var(--highlight-red);
}

.plugin-highlight-card-featured h4 {
    color: var(--highlight-red);
}

/* ── Audience cards ── */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .audience-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.audience-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--card);
    border: 1px solid hsl(214 32% 91% / 0.6);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.audience-card:hover {
    box-shadow: var(--shadow-md);
    border-color: hsl(232 94% 63% / 0.3);
}

.audience-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: hsl(232 94% 63% / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Why TicketHQ grid ── */
.why-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.why-card {
    background: hsl(0 0% 100% / 0.04);
    border: 1px solid hsl(214 32% 91% / 0.15);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.why-card h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.why-card p {
    font-size: 0.8125rem;
    color: hsl(215.4 16.3% 46.9% / 0.85);
    line-height: 1.6;
}

/* ── Plugin pricing grid ── */
.plugin-pricing-grid {
    display: grid;
    gap: 2rem;
    max-width: 52rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .plugin-pricing-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.pricing-card-pro {
    border: 2px solid var(--primary);
}

.pricing-header-pro {
    background: linear-gradient(135deg, hsl(232 94% 63%), hsl(232 94% 55%));
}
