/* ================================================================
   SelfHealing Landing Page — Global CSS (not scoped)
   ================================================================ */

/* --- Variables (duplicated here for non-scoped context) --- */
:root {
    --sh-primary-500: #2f5bff;
    --sh-primary-600: #2348e6;
    --sh-primary-700: #1e3ec7;
    --sh-text: #0f172a;
    --sh-text-2: #334155;
    --sh-muted: #64748b;
    --sh-border: #e5e7eb;
    --sh-surface-2: #f8faff;
    --sh-shadow: 0 10px 25px rgba(2,6,23,.08);
    --sh-radius-xl: 24px;
    --sh-radius-lg: 18px;
    --sh-radius-md: 14px;
    --sh-radius-pill: 999px;
    --sh-container: 1100px;
}

.sh-container {
    max-width: var(--sh-container);
    margin: 0 auto;
    padding: 0 2rem;
}

.sh-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.sh-section-header h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--sh-text);
    margin-bottom: .75rem;
}
.sh-section-header h2 strong { color: var(--sh-primary-500); }
.sh-section-header p {
    font-size: 1.1rem;
    color: var(--sh-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== HIGHLIGHTS (3 horizontal cards) ===== */
.sh-highlights {
    padding: 3rem 0;
    background: var(--sh-surface-2);
    border-top: 1px solid var(--sh-border);
    border-bottom: 1px solid var(--sh-border);
}

.sh-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.sh-highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--sh-radius-lg);
    box-shadow: var(--sh-shadow);
    border: 1px solid var(--sh-border);
    transition: transform .3s ease, box-shadow .3s ease;
}
.sh-highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(2,6,23,.12);
}

.sh-highlight-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    background: var(--sh-primary-500);
    border-radius: var(--sh-radius-md);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.2rem;
}

.sh-highlight-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--sh-text);
    margin: 0 0 .3rem 0;
}
.sh-highlight-card p {
    font-size: .92rem;
    color: var(--sh-muted);
    margin: 0;
    line-height: 1.5;
}

/* ===== WHY SELFHEALING (6 cards grid) ===== */
.sh-why {
    padding: 5rem 0;
    background: #fff;
}

.sh-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.sh-why-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--sh-radius-xl);
    box-shadow: var(--sh-shadow);
    border: 1px solid var(--sh-border);
    transition: transform .3s ease, box-shadow .3s ease;
}
.sh-why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(2,6,23,.12);
}

.sh-why-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--sh-primary-500), var(--sh-primary-700));
    border-radius: var(--sh-radius-md);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.3rem;
    margin-bottom: 1.25rem;
}
.sh-why-card h3 {
    font-size: 1.1rem; font-weight: 600;
    color: var(--sh-text); margin: 0 0 .5rem 0;
}
.sh-why-card p {
    font-size: .95rem; color: var(--sh-muted);
    margin: 0; line-height: 1.6;
}

/* ===== HOW IT WORKS (4 steps) ===== */
.sh-how {
    padding: 5rem 0;
    background: var(--sh-surface-2);
}

.sh-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.sh-step-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: var(--sh-radius-xl);
    box-shadow: var(--sh-shadow);
    border: 1px solid var(--sh-border);
    text-align: center;
    position: relative;
    transition: transform .3s ease;
}
.sh-step-card:hover { transform: translateY(-6px); }

.sh-step-number {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--sh-primary-500); color: #fff;
    font-weight: 700; font-size: .85rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(47,91,255,.3);
}

.sh-step-icon {
    font-size: 2rem; color: var(--sh-primary-500);
    margin-bottom: 1rem;
}
.sh-step-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--sh-text); margin: 0 0 .5rem 0; }
.sh-step-card p { font-size: .9rem; color: var(--sh-muted); margin: 0; line-height: 1.6; }

/* ===== PRICING ===== */
.sh-pricing {
    padding: 5rem 0;
    background: #fff;
}

.sh-pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.sh-price-card {
    background: #fff;
    border-radius: var(--sh-radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--sh-shadow);
    border: 2px solid var(--sh-border);
    flex: 1;
    max-width: 320px;
    min-width: 260px;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.sh-price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(2,6,23,.12);
}

.sh-price-featured {
    border-color: var(--sh-primary-500);
    transform: scale(1.05);
    z-index: 2;
}
.sh-price-featured:hover { transform: scale(1.05) translateY(-8px); }

.sh-price-badge {
    position: absolute; top: 0; left: 0; right: 0;
    background: var(--sh-primary-500); color: #fff;
    text-align: center; padding: .45rem; font-size: .82rem; font-weight: 600;
}

.sh-price-header { text-align: center; margin-bottom: 1.5rem; }
.sh-price-header h3 { font-size: 1.4rem; font-weight: 700; color: var(--sh-text); margin: 0 0 .5rem 0; }

.sh-price-amount {
    font-size: 3rem; font-weight: 800; color: var(--sh-primary-500);
}
.sh-currency { font-size: 1.5rem; vertical-align: top; }
.sh-period { font-size: 1rem; color: var(--sh-muted); font-weight: 400; }
.sh-price-custom { font-size: 1.6rem; color: var(--sh-text-2); font-weight: 600; }

.sh-price-features {
    list-style: none; padding: 0; margin: 0 0 2rem 0;
}
.sh-price-features li {
    padding: .7rem 0;
    display: flex; align-items: center;
    color: var(--sh-text-2);
    border-bottom: 1px solid var(--sh-border);
    font-size: .95rem;
}
.sh-price-features li:last-child { border-bottom: none; }
.sh-price-features li i {
    color: #16a34a; margin-right: .75rem; font-size: .95rem; width: 18px; flex-shrink: 0;
}

.sh-price-cta { width: 100%; justify-content: center; }

/* Top-ups */
.sh-topups { text-align: center; }
.sh-topups h4 { font-size: 1.1rem; font-weight: 600; color: var(--sh-text); margin-bottom: 1rem; }
.sh-topup-grid { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.sh-topup {
    background: var(--sh-surface-2); padding: .75rem 1.5rem;
    border-radius: var(--sh-radius-pill); border: 1px solid var(--sh-border);
    font-size: .92rem; color: var(--sh-text-2);
}

/* ===== FAQ ===== */
.sh-faq {
    padding: 5rem 0;
    background: var(--sh-surface-2);
}

.sh-faq-list {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.sh-faq-item {
    background: #fff;
    border-radius: var(--sh-radius-lg);
    border: 1px solid var(--sh-border);
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow .3s ease;
}
.sh-faq-item:hover { box-shadow: 0 6px 20px rgba(2,6,23,.08); }

.sh-faq-question {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.25rem 1.5rem;
    font-weight: 600; font-size: 1rem; color: var(--sh-text);
}
.sh-faq-question i { color: var(--sh-muted); font-size: .85rem; transition: transform .3s; }
.sh-faq-item.open .sh-faq-question i { transform: rotate(180deg); }

.sh-faq-answer {
    padding: 0 1.5rem 1.25rem;
    font-size: .95rem; color: var(--sh-text-2);
    line-height: 1.7;
    border-top: 1px solid var(--sh-border);
    padding-top: 1rem;
}

/* ===== EARLY ACCESS ===== */
.sh-early-access {
    padding: 5rem 0;
    background: linear-gradient(135deg, #eef2ff 0%, #f8faff 50%, #e0e7ff 100%);
}

.sh-ea-content {
    text-align: center;
    max-width: 550px;
    margin: 0 auto;
}
.sh-ea-content h2 {
    font-size: 2.2rem; font-weight: 700; color: var(--sh-text);
    margin-bottom: .75rem;
}
.sh-ea-content > p {
    font-size: 1.1rem; color: var(--sh-muted);
    margin-bottom: 2rem; line-height: 1.6;
}

.sh-ea-form {
    display: flex;
    background: #fff;
    border-radius: var(--sh-radius-pill);
    padding: 6px;
    box-shadow: var(--sh-shadow);
    border: 1px solid var(--sh-border);
}
.sh-ea-form input {
    flex: 1; border: none; background: transparent;
    padding: 1rem 1.5rem; font-size: 1rem; color: var(--sh-text);
    outline: none; border-radius: var(--sh-radius-pill);
}
.sh-ea-form input::placeholder { color: var(--sh-muted); }
.sh-ea-form .sh-btn { border-radius: var(--sh-radius-pill); }

.sh-ea-alert {
    margin-top: 1rem; padding: .75rem 1.25rem;
    border-radius: var(--sh-radius-md); font-size: .92rem;
}
.sh-ea-success { background: #dcfce7; color: #166534; }
.sh-ea-error { background: #fef2f2; color: #991b1b; }


/* ===== ELMAH+H — ERROR LIFECYCLE ENGINE ===== */
.sh-elmah {
    padding: 5rem 0;
    background: #0b1220;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.sh-elmah::before {
    content: '';
    position: absolute;
    top: -150px; left: 50%; transform: translateX(-50%);
    width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, rgba(47,91,255,.1) 0%, transparent 65%);
    pointer-events: none;
}

.sh-elmah-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.sh-elmah-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(239,68,68,.15);
    border: 1px solid rgba(239,68,68,.35);
    color: #fca5a5;
    padding: .4rem 1.2rem;
    border-radius: var(--sh-radius-pill);
    font-size: .85rem; font-weight: 600; letter-spacing: .04em;
    margin-bottom: 1.25rem;
}
.sh-elmah-header h2 {
    font-size: 2.4rem; font-weight: 700; color: #fff; margin-bottom: .75rem;
}
.sh-elmah-header p {
    font-size: 1.1rem; color: #94a3b8; max-width: 480px; margin: 0 auto; line-height: 1.6;
}
.sh-elmah-header p strong { color: #93c5fd; }

/* 3-col grid */
.sh-elmah-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

/* Cards */
.sh-elmah-card {
    border-radius: var(--sh-radius-xl);
    padding: 2rem;
    border: 1px solid;
}
.sh-elmah-before {
    background: rgba(255,255,255,.03);
    border-color: rgba(255,255,255,.08);
}
.sh-elmah-after {
    background: rgba(47,91,255,.1);
    border-color: rgba(47,91,255,.3);
    box-shadow: 0 0 50px rgba(47,91,255,.15);
}
.sh-elmah-card-label {
    display: flex; align-items: center; gap: .65rem;
    padding-bottom: 1rem; margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    font-size: .82rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .07em;
}
.sh-elmah-before .sh-elmah-card-label { color: #475569; }
.sh-elmah-after .sh-elmah-card-label { color: #93c5fd; }

.sh-elmah-list {
    list-style: none; padding: 0; margin: 0 0 1.5rem 0;
    display: flex; flex-direction: column; gap: .8rem;
}
.sh-elmah-list li {
    display: flex; align-items: center; gap: .7rem; font-size: .98rem;
}
.sh-elmah-before .sh-elmah-list li { color: #334155; text-decoration: line-through; }
.sh-elmah-after .sh-elmah-list li { color: #e2e8f0; }

.sh-elmah-verdict {
    padding: .8rem 1.2rem;
    border-radius: var(--sh-radius-md);
    font-size: .93rem;
}
.sh-verdict-muted { background: rgba(255,255,255,.04); color: #475569; font-style: italic; }
.sh-verdict-good {
    background: rgba(22,163,74,.15); color: #86efac;
    font-weight: 600; display: flex; align-items: center; gap: .5rem;
}

/* Center formula */
.sh-elmah-formula {
    display: flex; justify-content: center; align-items: center; padding: 0 1rem;
}
.sh-formula-stack {
    display: flex; flex-direction: column; align-items: center; gap: .4rem;
}
.sh-formula-word {
    font-size: .78rem; font-weight: 700; color: #475569;
    letter-spacing: .1em; text-transform: uppercase;
}
.sh-formula-op { font-size: 1.4rem; color: #475569; font-weight: 300; line-height: 1; }
.sh-formula-heart {
    font-size: 1.8rem; color: #ef4444;
    animation: sh-beat 1.5s ease-in-out infinite;
}
@keyframes sh-beat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}
.sh-formula-result {
    font-size: 1.2rem; font-weight: 800; color: #fff;
    background: rgba(47,91,255,.2);
    border: 1.5px solid rgba(47,91,255,.4);
    padding: .45rem 1rem;
    border-radius: var(--sh-radius-pill);
    letter-spacing: .04em;
    margin-top: .2rem;
}
.sh-formula-result span { color: var(--sh-primary-500); }

/* Tagline strip */
.sh-elmah-tagline {
    display: flex; align-items: center; justify-content: center;
    gap: 2.5rem; flex-wrap: wrap;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--sh-radius-xl);
    padding: 2rem 2.5rem;
}
.sh-elmah-tagline-old,
.sh-elmah-tagline-new {
    display: flex; flex-direction: column; gap: .3rem; text-align: center;
}
.sh-tag-label {
    font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.sh-elmah-tagline-old .sh-tag-label { color: #475569; }
.sh-elmah-tagline-old span:last-child { font-size: .97rem; color: #475569; }
.sh-elmah-tagline-old em { font-style: italic; }
.sh-elmah-tagline-arrow { font-size: 1.6rem; color: var(--sh-primary-500); }
.sh-elmah-tagline-new .sh-tag-label { color: #93c5fd; }
.sh-elmah-tagline-new span:last-child { font-size: .97rem; color: #e2e8f0; }
.sh-elmah-tagline-new strong { color: #93c5fd; font-weight: 700; }


/* ===== FOOTER ===== */
.sh-footer {
    background: #0b1220;
    color: #fff;
    padding: 3rem 0 1.5rem;
}

.sh-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.sh-footer-brand {
    display: flex; align-items: center;
}
.sh-footer-logo-img {
    height: 26px; width: auto; display: block;
    filter: brightness(0) invert(1);
}

.sh-footer-col h5 {
    font-size: .95rem; font-weight: 600; color: var(--sh-primary-500);
    margin-bottom: .75rem;
}
.sh-footer-col ul { list-style: none; padding: 0; margin: 0; }
.sh-footer-col ul li { margin-bottom: .4rem; }
.sh-footer-col ul li a {
    color: rgba(255,255,255,.7); text-decoration: none;
    font-size: .9rem; transition: color .2s;
}
.sh-footer-col ul li a:hover { color: var(--sh-primary-500); }

.sh-footer-bottom {
    text-align: center; padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.4); font-size: .85rem;
}
.sh-footer-bottom p { margin: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .sh-highlights-grid { grid-template-columns: 1fr; }
    .sh-why-grid { grid-template-columns: repeat(2, 1fr); }
    .sh-steps-grid { grid-template-columns: repeat(2, 1fr); }
    .sh-pricing-grid { flex-direction: column; align-items: center; }
    .sh-price-card { max-width: 400px; width: 100%; }
    .sh-price-featured { transform: none; }
    .sh-price-featured:hover { transform: translateY(-8px); }
    .sh-footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .sh-section-header h2 { font-size: 1.9rem; }
    /* ELMAH+H responsive */
    .sh-elmah-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .sh-elmah-formula { padding: .5rem 0; }
    .sh-formula-stack { flex-direction: row; gap: .6rem; align-items: center; flex-wrap: wrap; justify-content: center; }
    .sh-formula-word { display: none; }
    .sh-elmah-tagline { gap: 1.25rem; padding: 1.5rem; }
}

@media (max-width: 600px) {
    .sh-why-grid { grid-template-columns: 1fr; }
    .sh-steps-grid { grid-template-columns: 1fr; }
    .sh-footer-grid { grid-template-columns: 1fr; text-align: center; }
    .sh-footer-brand { justify-content: center; }
    .sh-ea-form { flex-direction: column; border-radius: var(--sh-radius-lg); }
    .sh-ea-form input { border-radius: var(--sh-radius-md); padding: .85rem 1rem; }
    .sh-ea-form .sh-btn { border-radius: var(--sh-radius-md); width: 100%; justify-content: center; }
    .sh-topup-grid { flex-direction: column; align-items: center; }
    /* ELMAH+H responsive */
    .sh-elmah-tagline { flex-direction: column; }
    .sh-elmah-tagline-arrow { transform: rotate(90deg); }
    .sh-elmah-header h2 { font-size: 1.9rem; }
}