/* ==========================================================================
   ZAON SHARED COMPONENTS (Phase 3 of the design unification)
   One definition for patterns that were duplicated across page inline
   styles. Built on the canonical tokens (/css/zaon-tokens.css).
   Load order: tokens -> styles/clarity -> THIS FILE -> zaon-nav -> page CSS.
   ========================================================================== */

/* ------------------------------ the card recipe ------------------------------
   One surface treatment for every card on the site (replaces the Phase-1
   !important forcing in styles.css). */
.problem-card, .feature-card, .team-card, .cloud-card, .source-card, .contact-card,
.workflow-step-card, .pipeline-row, .testimonial-card, .testimonial-slide,
.news-card, .legal-card, .benefit-card, .risk-card, .pain-card, .step-card,
.service-card, .why-card, .industry-card, .engagement-card, .comparison-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.problem-card:hover, .feature-card:hover, .team-card:hover, .cloud-card:hover,
.source-card:hover, .contact-card:hover, .workflow-step-card:hover,
.benefit-card:hover, .risk-card:hover, .pain-card:hover, .step-card:hover,
.service-card:hover, .why-card:hover, .industry-card:hover, .engagement-card:hover {
    border-color: var(--accent-line);
    box-shadow: var(--shadow-lift);
}

/* ------------------------------ buttons ------------------------------ */
.btn { border-radius: 10px; }
.btn-primary { color: #fff; }
.btn-primary .btn-icon { stroke: #fff; }
.btn:active { transform: translateY(0); filter: brightness(.96); }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }
.btn-secondary {
    background: var(--card);
    color: var(--ink);
    border: 1px solid var(--line-2);
}
.btn-secondary:hover {
    background: var(--card);
    border-color: var(--accent-line);
    color: var(--link);
}

/* ------------------------------ section eyebrow ------------------------------ */
.section-label {
    font-family: var(--mono);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .14em;
    color: var(--ink-faint);
}

/* ==========================================================================
   SOLUTION-PAGE PATTERNS (enterprise / individual / sales-enablement)
   ========================================================================== */
.trust-section {
    padding: 3rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}
.trust-section .trust-label { font-size: .875rem; color: var(--ink-faint); margin-bottom: 1.5rem; }
.trust-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 3rem; opacity: .65; }
.trust-logos span { font-size: 1.25rem; font-weight: 700; color: var(--ink-soft); transition: color .3s ease; }
.trust-logos span:hover { color: var(--ink); }
.trust-note { margin-top: 1.5rem; font-size: .8125rem; color: var(--ink-faint); }

.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.benefit-card { padding: 2rem; transition: all .3s ease; }
.benefit-card:hover { transform: translateY(-4px); }
.benefit-icon {
    width: 56px; height: 56px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem; transition: transform .3s ease;
}
.benefit-card:hover .benefit-icon { transform: scale(1.1); }
.benefit-icon svg { width: 28px; height: 28px; }
.benefit-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .75rem; color: var(--ink); }
.benefit-card p { color: var(--ink-soft); line-height: 1.7; }

/* accordion internals (the .problem-card sizing stays per-page) */
.problem-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.problem-title { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.problem-title svg { width: 28px; height: 28px; flex-shrink: 0; }
.problem-title h3 { font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.problem-content p { color: var(--ink-soft); line-height: 1.7; }
.problem-solution { margin-top: 1rem; color: var(--ink); font-weight: 500; }
.problem-solution strong { color: var(--link); }
.chevron { width: 28px; height: 28px; transition: transform .3s ease; flex-shrink: 0; }
.chevron.rotated { transform: rotate(180deg); }

/* ------------------------------ CTA box (one standard) ------------------------------ */
.cta-box {
    background: linear-gradient(135deg, var(--accent-wash), transparent);
    border: 1px solid var(--accent-line);
    border-radius: var(--radius-2xl);
    padding: 4rem;
    text-align: center;
}
.cta-box h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--ink); }
.cta-box > p { font-size: 1.25rem; color: var(--ink-soft); max-width: 700px; margin: 0 auto 2.5rem; }

/* ==========================================================================
   LANDING-PAGE PATTERNS (shared by all /landing/ campaign pages)
   ========================================================================== */
.landing-section { padding: var(--space-3xl) 0; }
.landing-section:nth-child(even) { background: var(--bg-deep); }
.landing-header { text-align: center; max-width: 800px; margin: 0 auto var(--space-2xl); }
.landing-header h2 { font-size: 2.25rem; font-weight: 700; margin-bottom: var(--space-md); color: var(--ink); }
.landing-header p { font-size: 1.125rem; color: var(--ink-soft); line-height: 1.8; }
.landing-body { max-width: 800px; margin: 0 auto; }
.landing-body p { font-size: 1rem; color: var(--ink-soft); line-height: 1.8; margin-bottom: var(--space-md); }
.landing-body p.emphasis { color: var(--ink); font-weight: 500; font-style: italic; }

.bullet-list { list-style: none; padding: 0 0 0 1.5rem; margin: var(--space-md) 0; }
.bullet-list li {
    position: relative; padding-left: 1.75rem; margin-bottom: .5rem;
    color: var(--ink-soft); font-size: 1rem; line-height: 1.6;
}
.bullet-list li::before {
    content: ''; position: absolute; left: 0; top: .6em;
    width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-lg); margin-top: var(--space-xl); }
.step-card { padding: 2rem; transition: all .3s ease; }
.step-card:hover { transform: translateY(-4px); }
.step-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.step-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--accent-wash); color: var(--link);
    font-weight: 700; font-size: 1.125rem; margin-bottom: 1rem; flex-shrink: 0;
}
.step-header .step-number { margin-bottom: 0; }
.step-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: .75rem; color: var(--ink); }
.step-card p { color: var(--ink-soft); line-height: 1.7; font-size: 0.875rem; }
.step-card .bullet-list { margin: var(--space-md) 0 0; }
.step-card .bullet-list li { font-size: 0.875rem; }

.proof-strip { padding: var(--space-xl) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.proof-strip .proof-items { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-lg) var(--space-2xl); margin-top: var(--space-md); }
.proof-strip .proof-item { font-size: 0.875rem; color: var(--ink-soft); display: flex; align-items: center; gap: .5rem; }
.proof-strip .proof-item svg { width: 20px; height: 20px; stroke: var(--accent); flex-shrink: 0; }

.faq-section { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: var(--space-lg) 0; cursor: pointer; }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-question h3 { font-size: 1rem; font-weight: 600; color: var(--ink); }
.faq-question svg { width: 24px; height: 24px; stroke: var(--ink-soft); flex-shrink: 0; transition: transform .3s ease; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { display: none; margin-top: var(--space-md); color: var(--ink-soft); line-height: 1.8; font-size: 0.875rem; }
.faq-item.open .faq-answer { display: block; }

/* ------------------------------ shared responsive ------------------------------ */
@media (max-width: 768px) {
    .landing-header h2 { font-size: 1.75rem; }
    .steps-grid, .benefits-grid { grid-template-columns: 1fr; }
    .cta-box { padding: 2.5rem 1.5rem; }
    .cta-box h2 { font-size: 1.75rem; }
    .proof-strip .proof-items { flex-direction: column; align-items: center; }
}
