/* ============================================================
   FILE: static/css/landing/components.css
   Shared landing components — loaded on every new SEO page.
   Uses vars from main.css only. Never import --pf-* here.
   ============================================================ */

/* ── Section layout ── */
.lp-section          { padding: 96px 0; }
.lp-section--light   { background: #f5f8ff; }
.lp-section--white   { background: #fff; }
.lp-section--dark    { background: #0b0e1a; }
.lp-section--blue    { background: linear-gradient(135deg, #0b0e1a 0%, var(--primary-color) 100%); }

.lp-section__header  { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.lp-section__header h2 { font-size: 2rem; margin-bottom: 14px; }
.lp-section--dark .lp-section__header h2,
.lp-section--blue .lp-section__header h2 { color: #fff; }
.lp-section__sub     { color: #555; font-size: 1rem; line-height: 1.7; margin: 0; }
.lp-section--dark .lp-section__sub,
.lp-section--blue .lp-section__sub { color: rgba(255,255,255,.6); }

/* ── Eyebrow label ── */
.lp-eyebrow {
    display: inline-block; font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--primary-color); margin-bottom: 10px;
}
.lp-section--dark .lp-eyebrow,
.lp-section--blue .lp-eyebrow { color: var(--light-blue); }

/* ── Buttons ── */
.lp-btn {
    display: inline-block; padding: 13px 26px; border-radius: 10px;
    font-weight: 600; font-size: 0.95rem; text-decoration: none;
    cursor: pointer; transition: all .18s; white-space: nowrap; border: none;
    font-family: var(--font-family);
}
.lp-btn--primary {
    background: var(--primary-color); color: #fff;
    box-shadow: 0 4px 18px rgba(19,75,161,.28);
}
.lp-btn--primary:hover { background: var(--secondary-color); color: #fff; transform: translateY(-1px); }
.lp-btn--ghost  {
    border: 2px solid var(--primary-color); color: var(--primary-color); background: transparent;
}
.lp-btn--ghost:hover  { background: var(--primary-color); color: #fff; }
.lp-btn--ghost-white  {
    border: 2px solid rgba(255,255,255,.5); color: #fff; background: transparent;
}
.lp-btn--ghost-white:hover { background: rgba(255,255,255,.1); color: #fff; }
.lp-btn--lg   { padding: 16px 34px; font-size: 1.05rem; }
.lp-btn--sm   { padding: 9px 18px; font-size: 0.85rem;     min-height: 40px;}

/* ── CTA button pair ── */
.lp-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Proof / stats bar ── */
.lp-proof { background: #f0f5ff; border-bottom: 1px solid #dde8f8; padding: 40px 0; }
.lp-proof__grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px; text-align: center;
}
.lp-proof__num {
    display: block; font-family: "Urbanist", sans-serif;
    font-size: 2rem; font-weight: 700; color: var(--primary-color);
}
.lp-proof__label { font-size: 0.85rem; color: #666; }

/* ── Scrolling note ribbon ── */
.lp-ribbon { overflow: hidden; background: var(--primary-color); padding: 10px 0; min-height: 50px; }
.lp-ribbon__track {
    display: inline-block; white-space: nowrap;
    animation: lp-ribbon-scroll 20s linear infinite;
}
.lp-ribbon__note {
    display: inline-block; padding: 0 22px;
    font-family: "Urbanist", sans-serif; font-weight: 700;
    font-size: 1.1rem; color: rgba(255,255,255,.65);
}
.lp-ribbon__note:hover { color: #fff; }
@keyframes lp-ribbon-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── Animated sound bars ── */
.lp-soundbars {
    display: flex; gap: 5px; align-items: flex-end;
    justify-content: center; height: 40px;
}
.lp-soundbars span {
    width: 4px; border-radius: 2px;
    background: linear-gradient(to top, var(--secondary-color), var(--light-blue));
    animation: lp-bar-bounce 1.2s ease-in-out infinite;
}
.lp-soundbars--white span { background: rgba(255,255,255,.4); }
.lp-soundbars span:nth-child(1){height:14px;animation-delay:0s}
.lp-soundbars span:nth-child(2){height:28px;animation-delay:.1s}
.lp-soundbars span:nth-child(3){height:38px;animation-delay:.2s}
.lp-soundbars span:nth-child(4){height:22px;animation-delay:.3s}
.lp-soundbars span:nth-child(5){height:32px;animation-delay:.15s}
.lp-soundbars span:nth-child(6){height:18px;animation-delay:.25s}
.lp-soundbars span:nth-child(7){height:36px;animation-delay:.05s}
.lp-soundbars span:nth-child(8){height:12px;animation-delay:.35s}
@keyframes lp-bar-bounce {
    0%,100% { transform: scaleY(1); }
    50%      { transform: scaleY(.3); }
}

/* ── Generic card ── */
.lp-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1.5px solid #e8eef9;
    transition: box-shadow .2s, transform .2s;
    text-decoration: none;
    height: 100%;
}
.lp-card:hover { box-shadow: 0 8px 30px rgba(19,75,161,.09); transform: translateY(-2px); }
.lp-card--dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); }
.lp-card--dark:hover { background: rgba(255,255,255,.07); transform: translateY(-2px); }
.lp-card h3 { color: var(--text-color); margin: 0 0 10px; font-size: 1.1rem; }
.lp-card--dark h3,
.lp-card--dark p { color: rgba(255,255,255,.85); }
.lp-card--dark p { color: rgba(255,255,255,.5); }

/* ── 2 / 3 col grids ── */
.lp-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.lp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ── How-it-works steps ── */
.lp-steps {
    display: flex; align-items: stretch; gap: 0;
    max-width: 960px; margin: 0 auto;
}
.lp-step {
    flex: 1; padding: 32px 28px; border-radius: 16px;
    display: flex; flex-direction: column; gap: 12px;
}
.lp-step__num {
    font-family: "Urbanist", sans-serif; font-size: 2.8rem; font-weight: 700;
    color: var(--primary-color); line-height: 1;
}
.lp-section--dark .lp-step__num { color: var(--light-blue); }
.lp-step h3 { margin: 0; font-size: 1.05rem; color: var(--text-color); }
.lp-step p  { margin: 0; font-size: 0.87rem; color: #666; line-height: 1.7; }
.lp-section--dark .lp-step h3 { color: #fff; }
.lp-section--dark .lp-step p  { color: rgba(255,255,255,.5); }
.lp-step-connector {
    padding: 0 4px; font-size: 1.4rem; color: rgba(0,0,0,.12);
    padding-top: 48px; flex-shrink: 0;
}
.lp-section--dark .lp-step-connector { color: rgba(255,255,255,.12); }

/* ── Pill tag cloud ── */
.lp-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.lp-pill {
    padding: 10px 20px; border-radius: 30px;
    border: 1.5px solid #c5d8ff; background: #f0f5ff;
    font-size: 0.9rem; font-weight: 500; color: var(--text-color);
    transition: all .15s; cursor: default;
}
.lp-pill:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

/* ── CTA strip ── */
.lp-cta-strip { background: linear-gradient(135deg, #0b0e1a 0%, var(--primary-color) 100%); padding: 80px 0; }
.lp-cta-strip__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px; flex-wrap: wrap;
}
.lp-cta-strip__inner h2 { color: #fff; margin: 0 0 8px; font-size: 1.5rem; }
.lp-cta-strip__inner p  { color: rgba(255,255,255,.6); margin: 0; font-size: 0.95rem; }

/* ── FAQ accordion ── */
.lp-faq-item { border-bottom: 1px solid #e8eef9; }
.lp-faq-q {
    width: 100%; background: none; border: none; text-align: left; cursor: pointer;
    padding: 16px 0; color: var(--text-color); font-size: 0.93rem; font-weight: 600;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    font-family: var(--font-family);
}
.lp-faq-q .chevron { font-size: 0.75rem; color: #999; transition: transform .2s; flex-shrink: 0; }
.lp-faq-a { display: none; padding: 0 0 16px; font-size: 0.87rem; color: #555; line-height: 1.7; }
.lp-faq-item.open .chevron { transform: rotate(180deg); }
.lp-faq-item.open .lp-faq-a { display: block; }

/* ── Page-level hero (inner pages) ── */
.lp-page-hero {
    background: linear-gradient(135deg, #0b0e1a 0%, #1a2a5e 100%);
    padding: 100px 0 80px; text-align: center; position: relative; overflow: hidden;
}
.lp-page-hero::after {
    content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 60px;
    background: #f5f8ff; clip-path: ellipse(55% 100% at 50% 100%);
}
.lp-page-hero--white::after { background: #fff; }
.lp-page-hero__badge {
    display: inline-block; padding: 5px 16px; border-radius: 20px;
    background: rgba(255,255,255,.1); color: rgba(255,255,255,.75);
    font-size: 0.78rem; font-weight: 600; letter-spacing: .06em;
    margin-bottom: 20px; border: 1px solid rgba(255,255,255,.15);
}
.lp-page-hero h1 {
    font-family: "Urbanist", sans-serif; font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.4rem); color: #fff; line-height: 1.2;
    margin-bottom: 16px;
}
.lp-page-hero__accent {
    background: linear-gradient(90deg, var(--light-blue), #fff);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.lp-page-hero p {
    color: rgba(255,255,255,.65); font-size: 1.05rem;
    max-width: 520px; margin: 0 auto 32px; line-height: 1.7;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .lp-grid-3 { grid-template-columns: 1fr 1fr; }
    .lp-proof__grid { grid-template-columns: repeat(2, 1fr); }
    .lp-steps { flex-direction: column; }
    .lp-step-connector { display: none; }
}
@media (max-width: 767px) {
    .lp-section { padding: 60px 0; }
    .lp-section__header { margin-bottom: 40px; }
    .lp-section__header h2 { font-size: 1.6rem; }
    .lp-grid-2, .lp-grid-3 { grid-template-columns: 1fr; }
    .lp-proof__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .lp-cta-strip__inner { flex-direction: column; text-align: center; }
    .lp-page-hero { padding: 80px 0 70px; }
    .lp-page-hero h1 { font-size: 1.9rem; }
}