/**
 * Landing Page — Theme-Matched Design System
 * Colors derived from site-wide --primary (#ff068f / #FD2C79) and --secondary (#FD655B)
 */
:root {
    --lp-primary: var(--ks-primary, #FD2C79);
    --lp-primary-dark: var(--ks-primary-dark, #e91e8c);
    --lp-accent: var(--ks-accent, #FD655B);
    --lp-surface: var(--ks-surface, #ffffff);
    --lp-surface-alt: var(--ks-surface-alt, #f8fafc);
    --lp-surface-elevated: #f1f5f9;
    --lp-text: var(--ks-text, #0f172a);
    --lp-text-muted: var(--ks-text-muted, rgba(15, 23, 42, 0.58));
    --lp-border: var(--ks-border, rgba(15, 23, 42, 0.08));
    --lp-radius: var(--ks-radius, 12px);
    --lp-radius-sm: var(--ks-radius-sm, 8px);
    --lp-transition: var(--ks-transition, cubic-bezier(0.32, 0.72, 0, 1));
}

.lp-page {
    color: var(--lp-text);
    background: var(--lp-surface);
    -webkit-font-smoothing: antialiased;
}

/* ── HERO ─────────────────────────────────────────── */
.lp-hero {
    position: relative;
    padding: 2.5rem 0 2rem;
    overflow: hidden;
    background: linear-gradient(165deg, var(--lp-surface-alt) 0%, var(--lp-surface) 100%);
}
.lp-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 60vw;
    height: 60vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, rgba(253, 44, 121, 0.05) 0%, transparent 70%);
    pointer-events: none;
}
.lp-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}
.lp-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lp-primary);
    background: var(--soft-primary, rgba(253, 44, 121, 0.1));
    border: 1px solid rgba(253, 44, 121, 0.15);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.lp-hero__badge i { font-size: 0.75rem; }
.lp-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--lp-text);
    margin-bottom: 0.75rem;
}
.lp-hero__title span {
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.lp-hero__lead {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--lp-text-muted);
    max-width: 560px;
    margin-bottom: 1.25rem;
}
.lp-hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.lp-hero__trust {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--lp-border);
}
.lp-hero__trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--lp-text-muted);
}
.lp-hero__trust-item i {
    color: var(--lp-primary);
    font-size: 0.9rem;
}
@media (max-width: 767.98px) {
    .lp-hero { padding: 2rem 0 1.5rem; }
    .lp-hero__trust { flex-direction: column; gap: 0.5rem; }
}

/* ── BUTTONS ──────────────────────────────────────── */
.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--lp-transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.lp-btn--primary {
    background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-accent) 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(253, 44, 121, 0.25);
}
.lp-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(253, 44, 121, 0.35);
    color: #fff;
}
.lp-btn--primary:active { transform: translateY(0); }
.lp-btn--primary .lp-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transition: all 0.4s var(--lp-transition);
}
.lp-btn--primary:hover .lp-btn__icon {
    background: rgba(255,255,255,0.3);
    transform: translateX(2px);
}
.lp-btn__icon--soft {
    background: rgba(253, 44, 121, 0.08);
}
.lp-btn--outline {
    background: transparent;
    color: var(--lp-primary);
    border: 1.5px solid rgba(253, 44, 121, 0.25);
}
.lp-btn--outline:hover {
    background: rgba(253, 44, 121, 0.04);
    border-color: var(--lp-primary);
    transform: translateY(-1px);
}

/* ── DEFINITION BLOCK ─────────────────────────────── */
.lp-def {
    position: relative;
    background: var(--lp-surface-alt);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem auto;
    max-width: 800px;
}
.lp-def::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    bottom: 1rem;
    width: 3px;
    background: linear-gradient(180deg, var(--lp-primary), var(--lp-accent));
    border-radius: 3px;
}
.lp-def__text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--lp-text);
    font-weight: 500;
}
@media (max-width: 767.98px) {
    .lp-def { padding: 1rem 1.25rem; margin: 1.25rem 1rem; }
}

/* ── CONTENT SECTION ──────────────────────────────── */
.lp-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem 0;
}
.lp-content p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--lp-text-muted);
    margin-bottom: 1rem;
}

/* ── MEMBER GRID ──────────────────────────────────── */
.lp-section-header {
    text-align: center;
    max-width: 520px;
    margin: 0 auto 1.5rem;
}
.lp-section-header__eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lp-primary);
    margin-bottom: 0.5rem;
}
.lp-section-header__title {
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--lp-text);
}

.lp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
@media (max-width: 991.98px) {
    .lp-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767.98px) {
    .lp-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}

.lp-card {
    position: relative;
    border-radius: var(--lp-radius-sm);
    overflow: hidden;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    transition: all 0.5s var(--lp-transition);
    text-decoration: none;
    color: inherit;
    display: block;
}
.lp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(253, 44, 121, 0.1), 0 2px 8px rgba(0,0,0,0.04);
    border-color: rgba(253, 44, 121, 0.12);
}
.lp-card__img-wrap {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--lp-surface-alt);
}
.lp-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--lp-transition), filter 0.5s var(--lp-transition);
    filter: blur(8px);
}
.lp-card:hover .lp-card__img { transform: scale(1.04); filter: blur(8px); }
.lp-card__img--placeholder {
    object-fit: contain;
    padding: 2rem;
    opacity: 0.6;
    filter: blur(0) !important;
}
.lp-card__badges {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    display: flex;
    gap: 0.3rem;
    z-index: 2;
}
.lp-card__badge {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.lp-card__badge--new {
    background: rgba(253, 44, 121, 0.9);
    color: #fff;
}
.lp-card__badge--verified {
    background: rgba(255, 255, 255, 0.9);
    color: var(--lp-primary);
}
.lp-card__hint {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 0.75rem 0.6rem;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.55));
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.35s var(--lp-transition);
}
.lp-card:hover .lp-card__hint {
    opacity: 1;
    transform: translateY(0);
}
.lp-card__body {
    padding: 0.65rem 0.75rem;
}
.lp-card__name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--lp-text);
    margin-bottom: 0.25rem;
}
.lp-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.lp-card__meta li {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.68rem;
    color: var(--lp-text-muted);
}
.lp-card__meta li i {
    font-size: 0.7rem;
    color: var(--lp-primary);
    opacity: 0.65;
}
.lp-grid-cta {
    text-align: center;
    margin-top: 1.5rem;
}

/* ── FAQ ───────────────────────────────────────────── */
.lp-faq {
    max-width: 720px;
    margin: 0 auto;
    padding: 1.5rem 0;
}
.lp-faq__item {
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    margin-bottom: 0.5rem;
    overflow: hidden;
    transition: all 0.35s var(--lp-transition);
}
.lp-faq__item:hover {
    border-color: rgba(253, 44, 121, 0.12);
}
.lp-faq__q {
    width: 100%;
    background: var(--lp-surface);
    border: none;
    padding: 0.85rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--lp-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    transition: color 0.25s ease;
}
.lp-faq__q:hover { color: var(--lp-primary); }
.lp-faq__icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--lp-surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s var(--lp-transition);
}
.lp-faq__icon i { font-size: 0.8rem; color: var(--lp-primary); transition: transform 0.4s var(--lp-transition); }
.lp-faq__item[aria-expanded="true"] .lp-faq__icon {
    background: var(--lp-primary);
}
.lp-faq__item[aria-expanded="true"] .lp-faq__icon i {
    color: #fff;
    transform: rotate(180deg);
}
.lp-faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--lp-transition), padding 0.4s var(--lp-transition);
    padding: 0 1.25rem;
}
.lp-faq__a.open {
    max-height: 300px;
    padding: 0 1.25rem 1rem;
}
.lp-faq__a p {
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--lp-text-muted);
}

/* ── RELATED LINKS ────────────────────────────────── */
.lp-links {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 0 2rem;
}
.lp-links__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
}
.lp-links__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--lp-border);
    border-radius: 999px;
    color: var(--lp-text-muted);
    text-decoration: none;
    transition: all 0.35s var(--lp-transition);
}
.lp-links__pill:hover {
    background: var(--lp-primary);
    color: #fff;
    border-color: var(--lp-primary);
    transform: translateY(-1px);
}
.lp-links__pill i { font-size: 0.65rem; }

/* ── FINAL CTA ────────────────────────────────────── */
.lp-cta {
    position: relative;
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin: 1.5rem auto;
    max-width: 800px;
    border-radius: var(--lp-radius);
    background: linear-gradient(135deg, var(--lp-surface-alt) 0%, var(--lp-surface) 100%);
    border: 1px solid var(--lp-border);
    overflow: hidden;
}
.lp-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(253, 44, 121, 0.03) 0%, transparent 60%);
    pointer-events: none;
}
.lp-cta__title {
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--lp-text);
    margin-bottom: 0.5rem;
    position: relative;
}
.lp-cta__text {
    font-size: 0.9rem;
    color: var(--lp-text-muted);
    max-width: 460px;
    margin: 0 auto 1.25rem;
    line-height: 1.65;
    position: relative;
}
.lp-cta .lp-btn { position: relative; }

/* ── GSAP REVEAL ──────────────────────────────────── */
/* Initial state is set by GSAP via gsap.from(). CSS keeps
   elements visible so pages are never blank when CDN fails. */

/* ── REDUCED MOTION ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .lp-reveal { opacity: 1; transform: none; }
    .lp-card, .lp-btn, .lp-faq__q, .lp-links__pill {
        transition: none !important;
    }
    .lp-card:hover { transform: none !important; }
    .lp-btn--primary:hover { transform: none !important; }
}
