/**
 * Tiranga Enterprise — same glass/hub polish as Chronbyte Enterprise
 * Colors from [data-site-theme="tiranga"] in site-themes.css
 */

.ng-showcase {
    min-height: 100vh;
    background: var(--ng-page-bg, linear-gradient(180deg, #FFF0E0, #FFFEF9));
    background-attachment: fixed;
    font-family: var(--main-font);
    color: var(--primary-dark);
}

.ng-showcase__hero-bg {
    position: fixed;
    inset: 0;
    background:
        linear-gradient(165deg, rgba(255, 103, 31, 0.07) 0%, rgba(4, 106, 56, 0.05) 45%, rgba(6, 3, 141, 0.04) 100%),
        var(--ng-page-bg);
    pointer-events: none;
    z-index: 0;
}

.ng-showcase__inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 20px 48px;
}

.ng-showcase__top {
    text-align: center;
    margin-bottom: 32px;
}

.ng-showcase__logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-color));
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(191, 54, 12, 0.35), var(--ng-glow, 0 0 28px rgba(255, 103, 31, 0.32));
    margin-bottom: 16px;
}

.ng-showcase__logo-wrap i {
    font-size: 2rem;
    color: #FFE0B2;
}

.ng-showcase__logo-wrap strong {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.04em;
}

.ng-showcase__pill {
    display: inline-block;
    padding: 10px 22px;
    background: var(--primary-dark);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    box-shadow: var(--ng-glow);
}

.ng-showcase__hub {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
    margin-top: 28px;
}

@media (max-width: 992px) {
    .ng-showcase__hub { grid-template-columns: repeat(2, 1fr); }
    .ng-showcase__hub-core { grid-column: 1 / -1; order: -1; }
}

@media (max-width: 576px) {
    .ng-showcase__hub { grid-template-columns: 1fr; }
}

.ng-showcase__hub-core {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px 20px;
    background: linear-gradient(145deg, var(--primary-dark), var(--primary-color));
    border-radius: 50%;
    aspect-ratio: 1;
    max-width: 220px;
    max-height: 220px;
    margin: auto;
    color: #fff;
    box-shadow: 0 0 0 6px rgba(4, 106, 56, 0.28), var(--ng-glow);
    border: 2px solid rgba(255, 255, 255, 0.22);
}

.ng-showcase__hub-core i {
    font-size: 2.5rem;
    color: #FFE0B2;
    margin-bottom: 10px;
}

.ng-showcase__hub-core strong { font-size: 1.05rem; line-height: 1.35; }
.ng-showcase__hub-core small { font-size: .78rem; opacity: .85; margin-top: 6px; }

.ng-module-card {
    background: var(--ng-glass-bg, rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--ng-glass-border, rgba(255, 103, 31, 0.28));
    border-radius: 18px;
    padding: 20px 18px;
    box-shadow: 0 10px 36px rgba(191, 54, 12, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.ng-module-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.2s;
}

.ng-module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(191, 54, 12, 0.12), var(--ng-glow);
}

.ng-module-card:hover::before { opacity: 1; }

.ng-module-card__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.ng-hex-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff;
    font-size: 1.25rem;
    clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
    box-shadow: 0 4px 14px rgba(230, 81, 0, 0.35);
}

.ng-hex-icon--orange {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    box-shadow: 0 4px 14px rgba(4, 106, 56, 0.35);
}

.ng-module-card__title {
    margin: 0;
    font-size: .92rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.3;
}

.ng-module-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ng-module-card__list li {
    position: relative;
    padding: 5px 0 5px 18px;
    font-size: .88rem;
    line-height: 1.45;
}

.ng-module-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary-color);
    box-shadow: 0 0 6px rgba(4, 106, 56, 0.45);
}

.ng-showcase__footer {
    margin-top: 40px;
    padding: 20px 24px;
    background: linear-gradient(90deg, var(--primary-dark), var(--accent-color));
    border-radius: 14px;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ng-showcase__footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.ng-showcase__footer-brand i { font-size: 1.5rem; color: #FFE0B2; }
.ng-showcase__footer-contact { font-size: .88rem; opacity: .92; line-height: 1.6; }
.ng-showcase__footer-tagline { font-style: italic; font-size: .9rem; opacity: .9; }

.ng-showcase__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.ng-showcase__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    font-family: inherit;
}

.ng-showcase__btn--primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff !important;
}

.ng-showcase__btn--outline {
    background: var(--ng-glass-bg);
    color: var(--primary-dark) !important;
    border: 2px solid var(--primary-light);
}

@media (min-width: 993px) {
    .ng-showcase__hub {
        grid-template-areas:
            "a b c"
            "d core e"
            "f g h";
        gap: 20px;
    }
    .ng-showcase__hub-core { grid-area: core; }
    .ng-module-card:nth-child(2) { grid-area: a; }
    .ng-module-card:nth-child(3) { grid-area: b; }
    .ng-module-card:nth-child(4) { grid-area: c; }
    .ng-module-card:nth-child(5) { grid-area: d; }
    .ng-module-card:nth-child(6) { grid-area: e; }
    .ng-module-card:nth-child(7) { grid-area: f; }
    .ng-module-card:nth-child(8) { grid-area: g; }
    .ng-module-card:nth-child(9) { grid-area: h; }
}

[data-site-theme="tiranga"] .hub-page-card__arrow { color: var(--secondary-color); }
[data-site-theme="tiranga"] .bp-breadcrumb a { color: var(--primary-color); }
[data-site-theme="tiranga"] .bp-invoice-hero {
    border-color: var(--primary-light);
    background: linear-gradient(180deg, rgba(255, 243, 230, 0.95) 0%, var(--ng-glass-bg) 100%);
}
