/* PRIMEDHA Nexus page: only what the shared style.css does not already provide. Every class here starts with nx- so nothing on the other pages can be affected. */

/* --- Hero (compact: the product page does not need a full-screen banner) --- */
.nx-hero {
    background: radial-gradient(circle at 20% 25%, #2d1440 0%, #0b1120 55%);
    color: var(--white);
    padding: 150px 0 80px;
    position: relative;
}
.nx-hero .container { position: relative; z-index: 1; max-width: 900px; }
.nx-eyebrow { color: #d8b4fe; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.9rem; }
.nx-hero h1 { font-size: 3rem; line-height: 1.15; margin: 12px 0 18px; }
.nx-hero h1 .highlight { color: #d8b4fe; }
.nx-lead { font-size: 1.2rem; color: #e2e8f0; max-width: 720px; margin-bottom: 30px; }
.nx-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.nx-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 38px; padding: 0; color: #cbd5e1; font-size: 0.95rem; }
.nx-facts li { display: flex; align-items: center; gap: 8px; }
.nx-facts i { color: #d8b4fe; }

/* --- Status --- */
.nx-status-section { background: var(--light); padding: 70px 0; }
.nx-status-wrap { max-width: 900px; margin: 0 auto; }
.nx-banner {
    display: flex; gap: 18px; align-items: flex-start;
    padding: 24px 28px; border-radius: 10px; border: 1px solid transparent; background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.nx-banner::before { content: ""; flex: 0 0 14px; height: 14px; border-radius: 50%; margin-top: 8px; background: var(--gray); }
.nx-banner h3 { font-size: 1.5rem; color: var(--secondary); }
.nx-banner p { margin-top: 4px; color: var(--secondary); }
.nx-banner-operational { border-color: #86efac; background: #f0fdf4; }
.nx-banner-operational::before { background: #16a34a; }
.nx-banner-maintenance { border-color: #fcd34d; background: #fffbeb; }
.nx-banner-maintenance::before { background: #d97706; }
.nx-banner-degraded { border-color: #fdba74; background: #fff7ed; }
.nx-banner-degraded::before { background: #ea580c; }
.nx-banner-outage { border-color: #fca5a5; background: #fef2f2; }
.nx-banner-outage::before { background: #dc2626; }
.nx-banner-unknown { border-color: #cbd5e1; background: #f1f5f9; }
.nx-banner-unknown::before { background: #64748b; }
.nx-updated { margin-top: 10px; color: var(--gray); font-size: 0.9rem; text-align: right; min-height: 1.3em; }
.nx-status-intro { color: var(--secondary); margin-bottom: 26px; }
.nx-notices h3 { margin: 34px 0 14px; font-size: 1.15rem; color: var(--primary); }
.nx-notice { background: var(--white); border-radius: 8px; padding: 20px 24px; margin-bottom: 14px; box-shadow: 0 3px 14px rgba(0,0,0,0.05); border-left: 5px solid #cbd5e1; }
.nx-notice-in-progress, .nx-notice-ongoing { border-left-color: #d97706; }
.nx-notice-scheduled { border-left-color: var(--primary); }
.nx-notice-completed, .nx-notice-resolved { border-left-color: #16a34a; }
.nx-notice-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.nx-notice-title { font-size: 1.05rem; color: var(--secondary); }
.nx-notice-when { margin-top: 6px; color: var(--gray); font-size: 0.92rem; }
.nx-notice-details, .nx-notice-impact { margin-top: 10px; color: var(--secondary); }
.nx-badge { font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.5px; background: #e2e8f0; color: #334155; }
.nx-badge-scheduled { background: var(--light-purple); color: var(--primary-dark); }
.nx-badge-in-progress, .nx-badge-ongoing { background: #fef3c7; color: #92400e; }
.nx-badge-completed, .nx-badge-resolved { background: #dcfce7; color: #166534; }
.nx-empty { color: var(--gray); font-style: italic; }
.nx-promise { margin-top: 30px; padding: 18px 22px; border-radius: 8px; background: var(--light-purple); color: var(--secondary); }
.nx-promise p + p { margin-top: 8px; }

/* --- What it does: six cards, three to a row --- */
.nx-cards { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.section-header h2 { overflow-wrap: anywhere; }

/* --- How it works --- */
.nx-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: nx-step; padding: 0; list-style: none; }   /* style.css clears bullets of ul only */
.nx-steps li { position: relative; background: var(--white); border-radius: 8px; padding: 58px 24px 26px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); counter-increment: nx-step; }
.nx-steps li::before {
    content: counter(nx-step); position: absolute; top: 18px; left: 24px; width: 28px; height: 28px; border-radius: 50%;
    background: var(--primary); color: var(--white); font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.nx-steps h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 8px; }

/* --- Plans, support and policies --- */
.nx-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.nx-panel { background: var(--white); border-radius: 8px; padding: 34px 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.nx-panel h3 { color: var(--primary); margin-bottom: 12px; }
.nx-panel p, .nx-panel li { margin-bottom: 10px; color: var(--secondary); }
.nx-plans { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 16px; padding: 0; }
.nx-plans li { background: var(--light-purple); color: var(--primary-dark); font-weight: 600; padding: 6px 16px; border-radius: 999px; margin: 0; }
.nx-links { padding: 0; }
.nx-links li { margin-bottom: 8px; }
.nx-links a, .nx-panel a.nx-inline { color: var(--primary); font-weight: 600; }
.nx-links a:hover, .nx-panel a.nx-inline:hover { text-decoration: underline; }
.nx-muted { background: var(--light); }

@media screen and (max-width: 768px) {
    .nx-hero { padding: 120px 0 56px; }
    .nx-hero h1 { font-size: 2.1rem; }
    .nx-lead { font-size: 1.05rem; }
    .nx-banner { padding: 18px 18px; }
    .nx-status-section { padding: 50px 0; }
    .nx-updated { text-align: left; }
}
