/* GRANT+ Home Page CSS - Integrated with Certifaed Design System */

/* Layout & Structure */
html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

.home-container {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

.section-wrap {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.home-section {
    padding: 4.5rem 0;
    position: relative;
    scroll-margin-top: 90px;
}

.home-section.alt-bg {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.home-section.dark-bg {
    background: #0f172a;
    color: #f8fafc;
}

.home-section.dark-bg h2, 
.home-section.dark-bg h3, 
.home-section.dark-bg h4 {
    color: #ffffff;
}

.home-section.dark-bg p {
    color: #94a3b8;
}

/* Section Header */
.sec-header {
    max-width: 720px;
    margin-bottom: 3rem;
}

.sec-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-primary);
    margin-bottom: 0.75rem;
}

.sec-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.sec-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Fallback Header Classes */
.section-head {
    max-width: 720px;
    margin-bottom: 2.5rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-primary);
    margin-bottom: 0.75rem;
}

/* Notices & Sample Cards Grid */
.sample-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 1024px) {
    .sample-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .sample-grid {
        grid-template-columns: 1fr;
    }
}

.sample-card {
    background: #ffffff;
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.sample-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
    border-color: rgba(16, 185, 129, 0.4);
}

.sample-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
    margin: 0;
    line-height: 1.35;
}

.sample-card p {
    font-size: 0.88rem;
    color: var(--text-secondary, #475569);
    margin: 0;
    line-height: 1.55;
    flex: 1;
}

.badge-soon {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
}

.btn-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #059669;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    margin-top: auto;
}

.btn-card:hover:not([aria-disabled="true"]) {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-card[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
    background: #f1f5f9;
    color: #64748b;
    border-color: #cbd5e1;
}

/* Status Banner */
.status-bar {
    background: #0f172a;
    color: #f8fafc;
    font-size: 0.825rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.status-bar .status-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    text-align: center;
}

.status-bar .live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.status-bar .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.status-bar .status-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.status-bar .status-btn:hover {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Home Header / Centered Floating Pill Navigation */
.home-nav-wrap {
    position: sticky;
    top: 0.75rem;
    z-index: 1000;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pill-nav-container {
    width: fit-content;
    max-width: 1350px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(15, 23, 42, 0.08);
    border-radius: 50px;
    padding: 0.4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-menu-left {
    display: flex;
    justify-content: flex-end;
}

.nav-right-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.25rem;
}

/* Circular Center Brand Logo Badge */
.brand-center {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: -1.25rem 1rem;
    background: #ffffff;
    border: none;
    box-shadow: 
        0 8px 24px -4px rgba(15, 23, 42, 0.15), 
        0 4px 12px rgba(15, 23, 42, 0.08),
        inset 0 2px 3px rgba(255, 255, 255, 1);
    position: relative;
    z-index: 1050;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    flex-shrink: 0;
}

.brand-center:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 14px 30px -4px rgba(15, 23, 42, 0.2), 
        0 6px 16px rgba(15, 23, 42, 0.12);
}

.brand-center img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.home-nav-wrap:not(.dock-right):not(.dock-bottom) .nav-menu a i.nav-chevron {
    display: inline-block !important;
    font-size: 1rem;
    vertical-align: -2px;
    margin-left: 2px;
    color: var(--text-tertiary);
}

/* Nav Menu Items */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.nav-menu a i {
    font-size: 0.95rem;
    color: var(--text-tertiary);
    transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--brand-primary);
    background: rgba(16, 185, 129, 0.08);
}

.nav-menu a:hover i,
.nav-menu a.active i {
    color: var(--brand-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Nav Items */
.nav-item-wrapper {
    position: relative;
}

/* Mega Menu */
.mega-menu-wrapper {
    position: absolute;
    top: 100%;
    padding-top: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    transform: translateY(10px);
    z-index: 20000;
    pointer-events: none;
}

/* Alignments */
.align-left { left: 0; }
.align-center { left: 50%; transform: translate(-50%, 10px); }
.align-right { right: 0; }

.nav-item-wrapper:hover .align-center {
    transform: translate(-50%, 0);
}

.nav-item-wrapper:hover .mega-menu-wrapper,
.nav-item-wrapper:focus-within .mega-menu-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-menu-inner {
    display: flex;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 1.75rem;
    gap: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.04);
    /* Mesh gradient background */
    background-image: 
    radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.04) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.04) 0px, transparent 50%);
}

.mega-column {
    min-width: 220px;
    display: flex;
    flex-direction: column;
}

.mega-col-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mega-col-title i {
    color: #10b981;
    font-size: 1rem;
}

.mega-col-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.mega-link {
    text-decoration: none;
    color: #4b5563;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.15s ease;
    display: inline-block;
}

.mega-link:hover, .mega-link:focus-visible {
    color: #10b981;
    transform: translateX(4px);
    outline: none;
}

/* Mobile Adjustments */
.mobile-fab-trigger {
    display: none;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 30000;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-fab-trigger:hover {
    transform: scale(1.05);
    box-shadow: 0 14px 30px rgba(16, 185, 129, 0.25);
}

.mobile-fab-trigger.active {
    background: #111827;
}

.fab-icon-img {
    height: 30px;
    width: auto;
    transition: opacity 0.2s ease;
}

.mobile-overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 25000;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    font-family: 'Inter', sans-serif;
}

.mobile-overlay-menu.open {
    transform: translateY(0);
}

.mobile-menu-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu-header img {
    height: 40px;
}

.mobile-tagline {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mobile-menu-content {
    padding: 1.5rem 2rem;
    padding-bottom: 6rem;
    flex: 1;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.mobile-nav-link-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-nav-link-inner i {
    color: #10b981;
    width: 24px;
    text-align: center;
}

.mobile-mega-menu {
    display: none;
    padding: 0 0 1.5rem 2.5rem;
}

.mobile-mega-menu.expanded {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-mega-col {
    margin-bottom: 1.5rem;
}

.mobile-mega-col:last-child {
    margin-bottom: 0;
}

.mobile-mega-col-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-mega-col-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-mega-link {
    text-decoration: none;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 500;
}

.mobile-menu-footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: #6b7280;
    background: #f9fafb;
}

@media (max-width: 1024px) {
    .home-nav-wrap { display: none !important; }
    .mobile-fab-trigger { display: flex; }
}

/* ==========================================
   SLIM RIGHT FLOATING VERTICAL DOCK WIDGET (ICON TOP, TEXT BOTTOM)
   ========================================== */
.home-nav-wrap.dock-right,
.home-nav-wrap.dock-bottom {
    position: fixed;
    top: 50%;
    right: 1rem;
    left: auto;
    bottom: auto;
    transform: translateY(-50%);
    width: auto;
    z-index: 9999;
    padding: 0;
    animation: blackHoleStretchWarp 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transform-origin: right center;
    will-change: transform, filter, opacity;
}

.home-nav-wrap.dock-right .pill-nav-container,
.home-nav-wrap.dock-bottom .pill-nav-container {
    flex-direction: column;
    width: 78px;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1.5px solid rgba(16, 185, 129, 0.35);
    border-radius: 28px;
    padding: 0.75rem 0.35rem;
    gap: 0.35rem;
    align-items: center;
    box-shadow: 
        -15px 25px 50px rgba(0, 0, 0, 0.45), 
        0 0 30px rgba(16, 185, 129, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.home-nav-wrap.dock-right .brand-center,
.home-nav-wrap.dock-bottom .brand-center {
    order: -1;
    margin: 0 auto 0.3rem auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border: 2px solid #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.home-nav-wrap.dock-right .brand-center img,
.home-nav-wrap.dock-bottom .brand-center img {
    height: 20px;
}

.home-nav-wrap.dock-right .brand-center span,
.home-nav-wrap.dock-bottom .brand-center span {
    color: #34d399;
    font-size: 0.5rem;
    letter-spacing: 1px;
}

.home-nav-wrap.dock-right .nav-menu,
.home-nav-wrap.dock-bottom .nav-menu {
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
    align-items: center;
}

.home-nav-wrap.dock-right .nav-right-group,
.home-nav-wrap.dock-bottom .nav-right-group {
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
    align-items: center;
}

.home-nav-wrap.dock-right .nav-menu a,
.home-nav-wrap.dock-bottom .nav-menu a {
    color: #94a3b8;
    padding: 0.35rem 0.15rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.2s ease;
    gap: 0.15rem;
}

.home-nav-wrap.dock-right .nav-menu a i,
.home-nav-wrap.dock-bottom .nav-menu a i {
    display: block !important;
    font-size: 1.15rem;
    color: #64748b;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}

.home-nav-wrap.dock-right .nav-menu a span,
.home-nav-wrap.dock-bottom .nav-menu a span {
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1;
    text-transform: capitalize;
    letter-spacing: 0.02em;
    max-width: 68px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-nav-wrap.dock-right .nav-menu a:hover,
.home-nav-wrap.dock-bottom .nav-menu a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.home-nav-wrap.dock-right .nav-menu a:hover i,
.home-nav-wrap.dock-bottom .nav-menu a:hover i {
    color: #34d399;
}

.home-nav-wrap.dock-right .nav-menu a.active,
.home-nav-wrap.dock-bottom .nav-menu a.active {
    color: #34d399;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.home-nav-wrap.dock-right .nav-menu a.active i,
.home-nav-wrap.dock-bottom .nav-menu a.active i {
    color: #34d399;
}

.home-nav-wrap.dock-right .nav-actions,
.home-nav-wrap.dock-bottom .nav-actions {
    width: 100%;
    margin-top: 0.2rem;
    display: flex;
    justify-content: center;
}

.home-nav-wrap.dock-right .btn-primary-sm,
.home-nav-wrap.dock-bottom .btn-primary-sm {
    padding: 0.5rem 0.2rem;
    font-size: 0.58rem;
    font-weight: 800;
    width: 100%;
    max-width: 70px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.2px;
    color: #ffffff;
    text-decoration: none;
}

/* Cosmic Black Hole Stretch & Warp Keyframe Sequence */
@keyframes blackHoleStretchWarp {
    0% {
        transform: translate(-30vw, -45vh) scaleX(1.4) scaleY(0.5) skewX(-25deg);
        filter: blur(8px) brightness(2) drop-shadow(0 0 40px #10b981);
        opacity: 0.7;
    }
    40% {
        transform: translate(0, -25vh) scaleX(0.15) scaleY(1.8) skewY(20deg) rotate(-15deg);
        filter: blur(12px) brightness(3) drop-shadow(0 0 60px #34d399);
        opacity: 0.9;
    }
    70% {
        transform: translateY(-50%) scale(0.2) rotate(360deg);
        filter: blur(4px) brightness(1.8);
        opacity: 0.95;
    }
    100% {
        transform: translateY(-50%) translateX(0) scale(1) rotate(0deg);
        filter: blur(0px) brightness(1);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateY(-50%) translateX(60px);
        opacity: 0;
    }
    to {
        transform: translateY(-50%) translateX(0);
        opacity: 1;
    }
}

@keyframes slideUpDock {
    from {
        transform: translateY(30px);
        opacity: 0.8;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.btn-ghost-sm {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s;
}

.btn-ghost-sm:hover {
    background: var(--bg-surface-hover);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.btn-primary-sm {
    background: var(--button-gradient);
    color: white;
    padding: 0.6rem 1.15rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* Hero Section — 1st Screen View Container */
#top-hero {
    min-height: calc(100vh - 105px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    position: relative;
}

.hero-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
    padding: 0 0 2.5rem;
    transform: translateY(-22px);
}

.hero-main-title {
    font-size: clamp(2.25rem, 3.6vw, 3.1rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.hero-organiser {
    font-size: 0.825rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-lede {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1.25rem;
}

.hero-fine-print {
    font-size: 0.825rem;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

/* Authentic Examination Hall Ticket Card Graphic — Skeuomorphic UI */
.specimen-card-stage {
    display: flex;
    justify-content: center;
    position: relative;
    padding-top: 0;
}

.hero-lanyard {
    top: 8px;
    z-index: 20;
}

.hero-grommet {
    top: 10px;
    z-index: 15;
}

.hall-ticket-card {
    width: 100%;
    max-width: 440px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 60%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1.5px solid #cbd5e1;
    box-shadow: 
        0 25px 50px -12px rgba(15, 23, 42, 0.22), 
        0 8px 24px -6px rgba(15, 23, 42, 0.12),
        inset 0 2px 3px rgba(255, 255, 255, 1), 
        inset 0 -3px 6px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    transform: rotate(0.8deg);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Inter', sans-serif;
}

.hall-ticket-card:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 
        0 35px 70px -15px rgba(16, 185, 129, 0.28), 
        0 12px 30px -8px rgba(15, 23, 42, 0.18),
        inset 0 2px 4px rgba(255, 255, 255, 1);
}

/* Skeuomorphic Ticket Side Punch Cutouts */
.ticket-notch {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #e2e8f0;
    border-radius: 50%;
    top: 68px;
    z-index: 10;
    box-shadow: 
        inset 2px 2px 4px rgba(0,0,0,0.22),
        inset -1px -1px 2px rgba(255,255,255,0.7);
}
.ticket-notch.notch-left {
    left: -11px;
}
.ticket-notch.notch-right {
    right: -11px;
}

/* Header — Embossed & Beveled */
.ht-header {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 1.25rem 1.25rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2.5px solid #10b981;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2), 
        0 2px 6px rgba(0,0,0,0.25);
}

.ht-header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ht-logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.15) 100%);
    border: 1px solid rgba(16, 185, 129, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    font-size: 1.2rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 2px 4px rgba(0,0,0,0.3);
}

.ht-org-name {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.ht-doc-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.ht-status-chip {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #34d399;
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.12) 100%);
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 0.25rem 0.55rem;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ht-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 6px #34d399;
}

/* Perforated Tear Line */
.ht-divider {
    border-bottom: 2px dashed #94a3b8;
    margin: 0;
    background: #ffffff;
    box-shadow: 0 1px 0 #ffffff, inset 0 1px 2px rgba(0,0,0,0.06);
}

/* Body */
.ht-body {
    padding: 1.1rem 1.25rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.ht-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-25deg);
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 0.25em;
    color: #059669;
    opacity: 0.04;
    pointer-events: none;
    white-space: nowrap;
    user-select: none;
}

.ht-main-grid {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

/* Left Photo & Signature Column */
.ht-photo-column {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    width: 92px;
    flex-shrink: 0;
}

.ht-photo-box {
    width: 92px;
    height: 105px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
    box-shadow: 
        inset 2px 2px 5px rgba(0, 0, 0, 0.15), 
        inset -2px -2px 5px rgba(255, 255, 255, 0.9), 
        0 1px 2px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.65rem;
    text-align: center;
    padding: 0.25rem;
    position: relative;
    overflow: hidden;
}

.ht-photo-box i {
    font-size: 2.2rem;
    color: #94a3b8;
    margin-bottom: 0.2rem;
    filter: drop-shadow(0 1px 1px #ffffff);
}

.ht-photo-box span {
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #475569;
}

.ht-photo-verified-stamp {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #ffffff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    box-shadow: 
        0 3px 6px rgba(0, 0, 0, 0.25), 
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.ht-signature-box {
    border: 1px dashed #94a3b8;
    border-radius: 6px;
    padding: 0.25rem 0.2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    box-shadow: inset 0 1.5px 3px rgba(0, 0, 0, 0.05), 0 1px 0 #ffffff;
    text-align: center;
}

.ht-signature-box span {
    display: block;
    font-size: 0.525rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.05em;
}

.ht-sig-line {
    font-family: 'Brush Script MT', 'Dancing Script', cursive, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 0.05rem;
    line-height: 1;
}

/* Right Details Grid — Skeuomorphic Debossed Panels */
.ht-details-grid {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 0.6rem;
}

.ht-field {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.25rem 0.45rem;
    box-shadow: inset 0 1.5px 3px rgba(0, 0, 0, 0.04), 0 1px 0 #ffffff;
}

.ht-field.full-width {
    grid-column: span 2;
}

.ht-label {
    display: block;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #64748b;
    text-transform: uppercase;
}

.ht-val {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 0.02rem;
}

.ht-val.highlight {
    color: #047857;
    font-size: 0.85rem;
}

.ht-val.mono {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    letter-spacing: 0.04em;
    color: #0f172a;
}

.ht-val.text-green {
    color: #059669;
}

/* Verification Security Bar — Skeuomorphic Badge */
.ht-security-strip {
    margin-top: 0.75rem;
    padding: 0.45rem 0.75rem;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 5px rgba(16, 185, 129, 0.12);
}

.ht-qr-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.ht-qr-wrap i {
    font-size: 1.75rem;
    color: #047857;
    filter: drop-shadow(0 1px 1px #ffffff);
}

.ht-sec-title {
    font-size: 0.65rem;
    font-weight: 800;
    color: #047857;
    letter-spacing: 0.04em;
}

.ht-sec-sub {
    font-size: 0.58rem;
    color: #059669;
    font-weight: 600;
}

.ht-seal {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #047857;
}

.ht-seal i {
    font-size: 1.2rem;
    filter: drop-shadow(0 1px 1px #ffffff);
}

.ht-seal span {
    font-size: 0.48rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

/* Barcode Footer — Physical Stub */
.ht-footer {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    border-top: 1px solid #cbd5e1;
    padding: 0.5rem 1.25rem;
    box-shadow: inset 0 1.5px 3px rgba(0, 0, 0, 0.06);
}

.ht-barcode-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.ht-barcode-lines {
    display: flex;
    gap: 2px;
    align-items: center;
    height: 18px;
}

.ht-barcode-lines span {
    background: #1e293b;
    height: 100%;
    width: 2px;
}

.ht-barcode-lines span:nth-child(2n) { width: 1px; }
.ht-barcode-lines span:nth-child(3n) { width: 3px; }
.ht-barcode-lines span:nth-child(5n) { width: 4px; }
.ht-barcode-lines span:nth-child(7n) { width: 1px; }

.ht-footer-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.58rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.04em;
    margin-top: 0.2rem;
}

/* Statistics Strip - Infinite Marquee Ticker (Slim & Hover Pause) */
.stats-strip-wrap {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    contain: paint;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    padding: 0.45rem 0;
    position: relative;
    z-index: 10;
    margin-top: auto;
    display: flex;
    align-items: center;
}

.stats-strip-wrap::before,
.stats-strip-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    width: 45px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.stats-strip-wrap::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}

.stats-strip-wrap::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}

.stats-marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 35s linear infinite;
    will-change: transform;
    transform: translateZ(0);
    contain: layout style;
}

.stats-strip-wrap:hover .stats-marquee-track,
.stats-marquee-track:hover {
    animation-play-state: paused !important;
}

.stats-marquee-group {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-right: 3rem;
    flex-shrink: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0.75rem;
    min-width: 140px;
    position: relative;
}

.stat-item::after {
    content: "";
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #cbd5e1;
}

.stat-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1.1;
    white-space: nowrap;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-top: 0.15rem;
    white-space: nowrap;
}

@keyframes marqueeScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Sticky Apply Bar */
.sticky-apply-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 990;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.85rem 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
}

.sticky-apply-bar.visible {
    transform: translateY(0);
}

.sticky-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.sticky-bar-info h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sticky-bar-info p {
    color: #94a3b8;
    font-size: 0.825rem;
    margin: 0;
}

/* Anchor Tabs Navigation */
.anchor-nav-bar {
    position: sticky;
    top: 61px;
    z-index: 980;
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    overflow-x: auto;
    scrollbar-width: none;
}

.anchor-nav-bar::-webkit-scrollbar {
    display: none;
}

.anchor-nav-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0;
    white-space: nowrap;
    list-style: none;
}

.anchor-nav-list a {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
    background: transparent;
}

.anchor-nav-list a:hover {
    background: var(--bg-surface-hover);
    color: var(--text-primary);
}

.anchor-nav-list a.active {
    background: #ecfdf5;
    color: var(--brand-primary);
    font-weight: 700;
}

/* ==========================================================================
   TEIJAS CERTIFAED E-HALL TICKET SPECIMEN SKEUOMORPHIC UI SYSTEM
   Exact Specimen Aesthetic:
   - Suspended Woven Lanyard Ribbon & Metallic Punch Hole Grommet
   - Dark Obsidian Navy Header (#0d1527 to #141e33) with Verified Status Badge
   - Green Dashed Ticket Perforation Seam (border-bottom: 2px dashed #10b981)
   - Crisp Off-White Ticket Body (#ffffff) with Soft Inset Grey Detail Boxes (#f1f5f9)
   - Soft Mint Verification Footer Banner (#ecfdf5, border: 1.5px solid #a7f3d0)
   ========================================================================== */

/* 1. Deliverables Card — E-Hall Ticket Specimen Layout */
.deliverable-card-wrapper {
    position: relative;
    padding-top: 0;
    margin-top: 1.5rem;
}

/* Woven Lanyard Ribbon Strap */
.lanyard-ribbon {
    display: none !important;
}

.lanyard-strap {
    width: max-content;
    min-width: 280px;
    max-width: 95vw;
    padding: 0 1.25rem;
    height: 32px;
    background: linear-gradient(90deg, #047857 0%, #059669 25%, #10b981 50%, #059669 75%, #047857 100%);
    border-radius: 6px 6px 0 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid #047857;
    box-sizing: border-box;
}

.lanyard-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #ffffff;
    white-space: nowrap;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.lanyard-metal-clip {
    width: 30px;
    height: 16px;
    background: linear-gradient(180deg, #94a3b8 0%, #cbd5e1 50%, #475569 100%);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.8);
    position: relative;
    border: 1px solid #64748b;
    margin-top: -1px;
}

.lanyard-metal-clip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 3px solid #64748b;
    background: transparent;
}

/* Metallic Punch Hole Grommet */
.grommet-punch-hole {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle, #0f172a 35%, #94a3b8 65%, #cbd5e1 100%);
    border: 3px solid #64748b;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8), 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

/* Corner Ribbon Sash */
.corner-ribbon-sash {
    position: absolute;
    top: 18px;
    left: -32px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    padding: 0.3rem 2.2rem;
    transform: rotate(-45deg);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    z-index: 4;
    text-transform: uppercase;
}

/* Hall Pass Dark Obsidian Header */
.hallpass-header {
    background: linear-gradient(135deg, #0d1527 0%, #141e33 100%);
    padding: 1.5rem 2rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    position: relative;
}

.hallpass-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hallpass-shield {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.15);
    border: 1.5px solid #10b981;
    color: #34d399;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.hallpass-sub {
    font-size: 0.68rem;
    font-weight: 800;
    color: #8b9bb4;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
}

.hallpass-title {
    font-size: 1.2rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0.15rem 0 0 0;
    letter-spacing: -0.01em;
}

.hallpass-status-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: #34d399;
    letter-spacing: 0.05em;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 8px #34d399;
    animation: dotPulse 1.8s infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

/* Dashed Ticket Perforation Seam */
.ticket-perforation-seam {
    height: 2px;
    border-bottom: 2.5px dashed #10b981;
    background: #0d1527;
    position: relative;
}

.notch-cutout {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    position: absolute;
    top: -9px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.left-notch { left: -9px; }
.right-notch { right: -9px; }

.deliverable-card-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
}

/* Specimen Barcode & Seal Footer Strip */
.hallpass-footer-strip {
    background: #f8fafc;
    border-top: 1.5px solid #e2e8f0;
    padding: 1rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hallpass-barcode {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Montserrat', monospace;
    font-size: 0.78rem;
    font-weight: 800;
    color: #475569;
    letter-spacing: 0.04em;
}

.hallpass-seal-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: #047857;
    text-transform: uppercase;
}

.deliverable-card {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: relative;
}

.deliverable-left {
    padding: 2.25rem 2rem;
    border-right: 1.5px solid #e2e8f0;
    background: #ffffff;
}

.deliverable-title {
    font-size: 1.3rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.deliverable-title i {
    color: #059669;
    font-size: 1.4rem;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    transition: all 0.25s ease;
    box-shadow: inset 0 1.5px 3px rgba(0, 0, 0, 0.05);
}

.check-list li:hover {
    background: #ecfdf5;
    border-color: #a7f3d0;
    transform: translateX(4px);
}

.check-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #059669;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.3);
}

.check-content {
    font-size: 0.875rem;
    color: #334155;
    line-height: 1.45;
}

.check-content strong {
    color: #0f172a;
    font-weight: 800;
}

.deliverable-right {
    background: linear-gradient(145deg, #ecfdf5 0%, #ffffff 100%);
    border-left: 1px solid #a7f3d0;
    color: #0f172a;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.quote-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    background: #059669;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    width: fit-content;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.quote-symbol {
    font-size: 2.25rem;
    color: #059669;
    opacity: 0.8;
    margin-bottom: 0.35rem;
    line-height: 1;
}

.deliverable-right .highlight-quote {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.5;
    color: #047857;
}

.deliverable-right .quote-sub {
    font-size: 0.875rem;
    color: #475569;
    margin-top: 1rem;
    line-height: 1.6;
}


/* 2. Cohort Grid — Passport Specimen Ticket Cards */
.cohort-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
    margin-top: 2rem;
}

.cohort-card {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 20px;
    padding: 1.6rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08), inset 0 1px 2px #ffffff;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.cohort-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.cohort-card:hover {
    transform: translateY(-6px);
    border-color: #10b981;
    box-shadow: 0 18px 40px rgba(16, 185, 129, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cohort-code {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #ffffff;
    font-weight: 900;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3), inset 0 2px 3px rgba(255, 255, 255, 0.6);
}

.cohort-badge {
    font-size: 0.68rem;
    font-weight: 800;
    color: #047857;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.65rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    width: fit-content;
    margin-bottom: 0.75rem;
    display: block;
}

.cohort-card h3 {
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.4rem;
}

.cohort-card p {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.55;
    background: #f1f5f9;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 1.5px 3px rgba(0, 0, 0, 0.05);
}


/* 3. Examination Table — Admit Card Table Specimen */
.exam-table-card {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 22px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.custom-table th {
    background: linear-gradient(135deg, #0d1527 0%, #141e33 100%);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    padding: 1.1rem 1.4rem;
    border-bottom: 2px dashed #10b981;
}

.custom-table td {
    padding: 1.1rem 1.4rem;
    font-size: 0.95rem;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    transition: background 0.2s ease;
}

.custom-table tr:nth-child(even) td {
    background: #f8fafc;
}

.custom-table tr:hover td {
    background: #ecfdf5;
    color: #047857;
}

.custom-table tr:last-child td {
    border-bottom: none;
    font-weight: 800;
    background: #ecfdf5;
    color: #047857;
    font-size: 1rem;
    border-top: 2px solid #10b981;
}

/* Marking Chips — Infinite Right-to-Left Ticker Marquee */
.marking-chips-wrap {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    contain: paint;
    position: relative;
    padding: 0.5rem 0;
    margin-top: 1.5rem;
    border-radius: 14px;
}

.marking-chips-wrap::before,
.marking-chips-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marking-chips-wrap::before {
    left: 0;
    background: linear-gradient(to right, rgba(248, 250, 252, 1), rgba(248, 250, 252, 0));
}

.marking-chips-wrap::after {
    right: 0;
    background: linear-gradient(to left, rgba(248, 250, 252, 1), rgba(248, 250, 252, 0));
}

.marking-chips-track {
    display: flex;
    width: max-content;
    animation: markingMarquee 24s linear infinite;
    will-change: transform;
    transform: translateZ(0);
    contain: layout style;
}

.marking-chips-wrap:hover .marking-chips-track,
.marking-chips-track:hover {
    animation-play-state: paused !important;
}

.marking-chips-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-right: 1rem;
    flex-shrink: 0;
}

.mark-chip {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    padding: 0.65rem 1.15rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05), inset 0 1px 2px #ffffff;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.mark-chip:hover {
    transform: translateY(-2px);
    border-color: #10b981;
}

.mark-chip b {
    color: #059669;
    font-weight: 800;
}

@keyframes markingMarquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}


/* 4. Syllabus & Domains — Soft Inset Detail Cards */
.domains-container {
    display: grid;
    gap: 1rem;
}

.domain-item {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 18px;
    padding: 1.15rem 1.6rem;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    display: grid;
    grid-template-columns: 260px 1fr 65px;
    gap: 1.5rem;
    align-items: center;
    transition: all 0.3s ease;
}

.domain-item:hover {
    border-color: #10b981;
    background: #f0fdf4;
    transform: translateX(6px);
}

.domain-info h4 {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.domain-info p {
    font-size: 0.825rem;
    color: #475569;
}

.domain-progress-track {
    height: 10px;
    background: #f1f5f9;
    border-radius: 999px;
    border: 1.5px solid #cbd5e1;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1.5px 3px rgba(0, 0, 0, 0.08);
}

.domain-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #059669 0%, #10b981 100%);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
    border-radius: 999px;
    width: 0%;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.domain-weight {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.05rem;
    color: #059669;
    text-align: right;
}


/* 5. Interactive Eligibility Checker — Soft Inset Desk */
.eligibility-widget {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    padding: 2.25rem;
    color: #0f172a;
}

.eligibility-widget h3 {
    color: #0f172a;
    font-weight: 800;
}

.eligibility-form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.form-label {
    color: #475569;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

.form-input, select.form-input {
    background: #f1f5f9 !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    border-radius: 14px !important;
    padding: 0.8rem 1rem !important;
    font-size: 0.925rem !important;
    font-weight: 700 !important;
    box-shadow: inset 0 1.5px 3px rgba(0, 0, 0, 0.05) !important;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, select.form-input:focus {
    border-color: #10b981 !important;
    background: #ffffff !important;
    outline: none;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.25) !important;
}

.eligibility-result-box {
    background: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #047857;
    font-weight: 800;
}

.eligibility-result-box.restricted {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}


/* 6. Rewards & Award Ladder — Gold & Mint Specimen Tiers */
.award-ladder {
    display: grid;
    gap: 0.85rem;
}

.ladder-row {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 18px;
    padding: 1.15rem 1.6rem;
    display: grid;
    grid-template-columns: 140px 1.2fr 160px 1fr;
    gap: 1.25rem;
    align-items: center;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    color: #0f172a;
    transition: all 0.3s ease;
}

.ladder-row:hover {
    transform: scale(1.01);
    border-color: #10b981;
}

.ladder-row.top-rank {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #f59e0b;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.25);
    color: #78350f;
}

.ladder-row.top-rank .ladder-rank {
    color: #b45309;
    font-weight: 900;
}

.ladder-row.top-rank .ladder-value {
    color: #d97706;
    font-weight: 900;
}

.ladder-row.top-rank .ladder-extra {
    color: #92400e;
    font-weight: 700;
}

.ladder-rank {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: #0f172a;
}

.ladder-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: #059669;
}

.compliance-box {
    background: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    border-left: 4px solid #10b981;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #047857;
    line-height: 1.6;
}


/* 7. Stepper Timeline — Chrono Specimen Stepper Cards */
.timeline-stepper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.35rem;
    margin-top: 2rem;
}

.timeline-step-card {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 20px;
    padding: 1.6rem;
    position: relative;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.timeline-step-card:hover {
    transform: translateY(-6px);
    border-color: #10b981;
    box-shadow: 0 16px 35px rgba(16, 185, 129, 0.15);
}

.step-num-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-weight: 900;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3), inset 0 2px 3px rgba(255, 255, 255, 0.6);
}

.timeline-step-card h4 {
    color: #0f172a;
    font-weight: 800;
}

.timeline-step-card p {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
    background: #f1f5f9;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-top: 0.5rem;
    box-shadow: inset 0 1.5px 3px rgba(0, 0, 0, 0.04);
}

.step-date-tag {
    font-size: 0.725rem;
    font-weight: 800;
    color: #059669;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.85rem;
    display: block;
}


/* 8. FAQ Accordions — Specimen Ticket Drawer Engine */
.faq-accordion {
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item[open] {
    border-color: #10b981;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.12);
}

.faq-item summary {
    padding: 1.2rem 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    user-select: none;
    transition: background 0.2s ease;
}

.faq-item summary:hover {
    background: #f8fafc;
}

.faq-item[open] summary {
    background: #f1f5f9;
    border-bottom: 1.5px dashed #10b981;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary i {
    font-size: 1.25rem;
    color: #059669;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-item[open] summary i {
    transform: rotate(180deg);
}

.faq-a,
.faq-answer {
    padding: 1.25rem 1.5rem 1.4rem 1.5rem;
    font-size: 0.935rem;
    color: #334155;
    line-height: 1.7;
    background: #ffffff;
    margin: 0;
}


/* 9. Notice Cards — Bulletin Specimen Dossier Cards */
.notices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem;
}

.notice-card {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-left: 4px solid #10b981;
    border-radius: 20px;
    padding: 1.6rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.notice-card:hover {
    border-color: #10b981;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.15);
}

.notice-card .notice-date {
    font-size: 0.7rem;
    font-weight: 800;
    color: #047857;
    text-transform: uppercase;
    padding: 0.25rem 0.7rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.notice-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0.4rem 0 0.6rem;
}

.notice-card p {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.55;
    background: #f1f5f9;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 1.5px 3px rgba(0, 0, 0, 0.04);
}

/* Modal Dialog */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

.custom-modal-content {
    background: #ffffff;
    border-radius: var(--radius-xl);
    max-width: 650px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-header-bar {
    background: #0f172a;
    color: #ffffff;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-body-padding {
    padding: 1.75rem;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .stat-item:nth-child(3) {
        border-right: none;
    }
    .deliverable-card {
        grid-template-columns: 1fr;
    }
    .deliverable-left {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }
    .cohort-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .timeline-stepper {
        grid-template-columns: repeat(2, 1fr);
    }
    .ladder-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    .domain-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .domain-weight {
        text-align: left;
    }
    .eligibility-form-grid {
        grid-template-columns: 1fr;
    }
    .nav-menu {
        display: none;
    }
    .mobile-nav-toggle {
        display: block;
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }
    .cohort-grid,
    .timeline-stepper,
    .notices-grid {
        grid-template-columns: 1fr;
    }
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-cta-group .btn-primary,
    .hero-cta-group .btn-ghost {
        width: 100%;
        justify-content: center;
    }
/* ==========================================
   GLOBAL SKEUOMORPHIC CONTAINER SYSTEM
   ========================================== */

/* 1. All Light Website Cards & Containers */
.deliverable-card,
.cohort-card,
.exam-table-card,
.domain-item,
.eligibility-widget,
.timeline-step-card,
.faq-item,
.notice-card,
.ladder-row,
.mark-chip,
.custom-modal-content {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 60%, #f1f5f9 100%) !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 
        0 14px 28px -6px rgba(15, 23, 42, 0.12),
        0 4px 10px -2px rgba(15, 23, 42, 0.06),
        inset 0 1.5px 2px #ffffff,
        inset 0 -2px 4px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
}

/* Card Hover Elevation */
.cohort-card:hover,
.timeline-step-card:hover,
.notice-card:hover,
.faq-item:hover,
.ladder-row:hover,
.domain-item:hover {
    transform: translateY(-4px) !important;
    border-color: #10b981 !important;
    box-shadow: 
        0 22px 45px -10px rgba(16, 185, 129, 0.22),
        0 6px 16px -4px rgba(15, 23, 42, 0.1),
        inset 0 2px 3px #ffffff !important;
}

/* 2. Dark Skeuomorphic Chassis Containers */
.deliverable-right,
.ladder-row.top-rank,
.modal-header-bar {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 
        0 18px 40px -8px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -3px 6px rgba(0, 0, 0, 0.5) !important;
}

/* 3. Inset Debossed Input Boxes & Progress Tracks */
.domain-progress-track,
.compliance-box,
.eligibility-result-box,
select,
input[type="text"] {
    background: linear-gradient(180deg, #e2e8f0 0%, #f1f5f9 100%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.12), 0 1px 0 #ffffff !important;
    border: 1px solid #cbd5e1 !important;
}

.eligibility-result-box {
    background: linear-gradient(180deg, #d1fae5 0%, #ecfdf5 100%) !important;
    border: 1.5px solid #6ee7b7 !important;
    box-shadow: inset 0 2px 4px rgba(16, 185, 129, 0.15), 0 1px 0 #ffffff !important;
}

/* 4. Embossed 3D Badges & Icon Buttons */
.cohort-code,
.step-num-badge,
.check-icon,
.step-date-tag,
.btn-primary-sm,
.btn-primary {
    box-shadow: 
        0 3px 8px rgba(16, 185, 129, 0.3), 
        inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

/* ==========================================
   INSTITUTIONAL FOOTER SYSTEM (GRANT+ LANDING PAGE PARITY)
   ========================================== */

.site-footer {
    background: #0f172a !important;
    color: #b9c4d6 !important;
    padding: 4rem 1.5rem 2.5rem 1.5rem !important;
    font-size: 0.85rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    position: relative !important;
    z-index: 10 !important;
    box-sizing: border-box !important;
}

.footer-wrap {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 0.5rem !important;
}

.foot-grid {
    display: grid !important;
    grid-template-columns: 1.4fr repeat(4, 1fr) !important;
    gap: 2.5rem !important;
    margin-bottom: 2.5rem !important;
}

.foot-col-brand .foot-brand {
    font-family: 'Fraunces', serif, var(--font-main, sans-serif);
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    color: #ffffff !important;
    margin-bottom: 0.75rem !important;
    letter-spacing: -0.01em !important;
}

.foot-col-brand p {
    font-size: 0.825rem !important;
    line-height: 1.6 !important;
    color: #94a3b8 !important;
    margin: 0 0 0.75rem 0 !important;
}

.foot-cin {
    font-family: 'IBM Plex Mono', monospace, var(--font-mono, monospace);
    font-size: 0.75rem !important;
    line-height: 1.6 !important;
    color: #94a3b8 !important;
    background: rgba(255, 255, 255, 0.03) !important;
    padding: 0.85rem 1rem !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-top: 0.75rem !important;
}

.foot-col h4 {
    font-family: 'IBM Plex Mono', monospace, var(--font-mono, monospace);
    font-size: 0.725rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #8fb3d9 !important;
    margin: 0 0 1rem 0 !important;
    font-weight: 700 !important;
}

.foot-col ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
}

.foot-col a {
    text-decoration: none !important;
    color: #cbd5e1 !important;
    font-size: 0.825rem !important;
    transition: color 0.2s ease, transform 0.15s ease !important;
    display: inline-block !important;
}

.foot-col a:hover {
    color: #ffffff !important;
    transform: translateX(3px) !important;
}

.foot-disclaimer {
    margin-top: 2rem !important;
    padding-top: 1.75rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-size: 0.775rem !important;
    line-height: 1.75 !important;
    color: #8792a3 !important;
}

.foot-disclaimer strong {
    color: #cbd5e1 !important;
}

.foot-bottom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    margin-top: 1.5rem !important;
    padding-top: 1.25rem !important;
    border-top: 1px dashed rgba(255, 255, 255, 0.08) !important;
    font-size: 0.75rem !important;
    color: #64748b !important;
}

@media (max-width: 900px) {
    .foot-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
    }
}

@media (max-width: 540px) {
    .foot-grid {
        grid-template-columns: 1fr !important;
        gap: 1.75rem !important;
    }
    .foot-bottom {
        flex-direction: column !important;
        text-align: center !important;
    }
}

/* ==========================================
   GRANT+ POPUP MODAL SYSTEM (PARITY WITH LANDING PAGE)
   ========================================== */

a[data-popup] {
    cursor: pointer !important;
}

dialog.modal {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 0 !important;
    width: min(760px, 92vw) !important;
    max-height: 86vh !important;
    background: #1e293b !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
    color: #f8fafc !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    margin: auto !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 9999 !important;
}

dialog.modal::backdrop {
    background: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}

.modal-head {
    background: #0f172a !important;
    color: #ffffff !important;
    padding: 1.1rem 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.modal-eyebrow {
    font-family: monospace, var(--font-mono, monospace) !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #8fb3d9 !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.modal-close {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 50% !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

.modal-close:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    transform: rotate(90deg) !important;
}

.modal-body {
    padding: 1.75rem 2rem !important;
    max-height: calc(86vh - 65px) !important;
    overflow-y: auto !important;
    color: #cbd5e1 !important;
    line-height: 1.7 !important;
}

.modal-body h2 {
    font-size: 1.65rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-top: 4px !important;
    margin-bottom: 8px !important;
    line-height: 1.25 !important;
}

.modal-body .eyebrow {
    font-family: monospace, var(--font-mono) !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #8fb3d9 !important;
    font-weight: 700 !important;
    display: inline-block !important;
    margin-bottom: 4px !important;
}

.modal-body p {
    color: #94a3b8 !important;
    font-size: 0.92rem !important;
    line-height: 1.65 !important;
}

.modal-body table.date-table-full,
.modal-body table.doc-table,
.modal-body table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-top: 18px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: rgba(15, 23, 42, 0.6) !important;
}

.modal-body th {
    background: rgba(15, 23, 42, 0.95) !important;
    color: #38bdf8 !important;
    font-family: monospace, var(--font-mono) !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    padding: 12px 18px !important;
    text-align: left !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.modal-body td {
    padding: 12px 18px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
}

.modal-body tr:last-child td {
    border-bottom: none !important;
}

.modal-body tr:hover td {
    background: rgba(255, 255, 255, 0.03) !important;
}

.modal-body td.mono {
    font-family: monospace, var(--font-mono) !important;
    font-weight: 600 !important;
    color: #38bdf8 !important;
}

.modal-body td.dname {
    font-weight: 600 !important;
    color: #ffffff !important;
}

.modal-body .faq-list {
    display: grid !important;
    gap: 10px !important;
    margin-top: 18px !important;
}

.modal-body details {
    background: rgba(15, 23, 42, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;
    padding: 14px 18px !important;
    transition: all 0.2s ease !important;
}

.modal-body details:hover {
    border-color: rgba(255, 255, 255, 0.25) !important;
    background: rgba(15, 23, 42, 0.7) !important;
}

.modal-body summary {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    list-style: none !important;
    outline: none !important;
}

.modal-body summary::-webkit-details-marker {
    display: none !important;
}

.modal-body summary .plus {
    color: #38bdf8 !important;
    font-family: monospace, var(--font-mono) !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    transition: transform 0.2s ease !important;
}

.modal-body details[open] summary .plus {
    transform: rotate(45deg) !important;
}

.modal-body .faq-a {
    margin-top: 10px !important;
    font-size: 0.88rem !important;
    color: #94a3b8 !important;
    line-height: 1.65 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-top: 10px !important;
}

.modal-body .acc-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 18px !important;
}

.modal-body .acc-chip {
    background: rgba(56, 189, 248, 0.1) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    color: #38bdf8 !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    font-family: monospace, var(--font-mono) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
}

.modal-body .contact-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 16px !important;
    margin-top: 20px !important;
}

.modal-body .contact-card {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 20px !important;
    border-radius: 10px !important;
}

.modal-body .contact-card h4 {
    font-size: 1rem !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
}

.modal-body .contact-card .cf {
    font-size: 0.85rem !important;
    color: #94a3b8 !important;
    margin-bottom: 6px !important;
    line-height: 1.5 !important;
}

.modal-body .acc-chip {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 6px 14px !important;
    border-radius: 6px !important;
    font-size: 0.85rem !important;
    color: #e2e8f0 !important;
}

.modal-body .g-panel, .g-panel {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
    padding: 24px !important;
    margin-top: 18px !important;
    display: grid !important;
    grid-template-columns: 1.35fr 1fr !important;
    gap: 24px !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .modal-body .g-panel, .g-panel {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

.modal-body .g-left h3, .g-left h3 {
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 14px !important;
}

.modal-body .checklist, .checklist {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    gap: 12px !important;
}

.modal-body .checklist li, .checklist li {
    font-size: 0.9rem !important;
    color: #cbd5e1 !important;
    position: relative !important;
    padding-left: 18px !important;
    line-height: 1.5 !important;
    display: block !important;
}

.modal-body .checklist li::before, .checklist li::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 8px !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #38bdf8 !important;
}

.modal-body .checklist b, .checklist b {
    color: #ffffff !important;
    font-weight: 700 !important;
    display: inline !important;
    white-space: nowrap !important;
    margin-right: 4px !important;
}

.modal-body .g-right .big, .g-right .big {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #38bdf8 !important;
    line-height: 1.6 !important;
}

.modal-body .g-right .small, .g-right .small {
    font-size: 0.82rem !important;
    color: #94a3b8 !important;
    margin-top: 10px !important;
    line-height: 1.55 !important;
}

.modal-body .sample-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin-top: 18px !important;
}

@media (max-width: 860px) {
    .modal-body .sample-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 520px) {
    .modal-body .sample-grid {
        grid-template-columns: 1fr !important;
    }
}

.modal-body .sample-card {
    background: rgba(15, 23, 42, 0.6) !important;
    padding: 22px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

.modal-body .badge-soon {
    align-self: flex-start !important;
    font-family: monospace, var(--font-mono) !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    background: rgba(217, 119, 6, 0.18) !important;
    border: 1px solid rgba(217, 119, 6, 0.35) !important;
    color: #f59e0b !important;
    padding: 4px 9px !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
}

.modal-body .sample-card h4 {
    font-family: 'Fraunces', 'Cinzel', serif, var(--font-heading) !important;
    font-size: 0.98rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-top: 4px !important;
    line-height: 1.35 !important;
}

.modal-body .sample-card p {
    font-size: 0.82rem !important;
    color: #94a3b8 !important;
    flex: 1 !important;
    line-height: 1.55 !important;
}

.modal-body .sample-card .btn-card,
.modal-body .sample-card .btn-ghost {
    margin-top: 14px !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 9px 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    color: #e2e8f0 !important;
    font-family: monospace, var(--font-mono) !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.modal-body .sample-card .btn-card:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
}

/* Page-wide 4-card Grid Rules */
.sample-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.25rem !important;
    margin-top: 1.5rem !important;
}

@media (max-width: 1024px) {
    .sample-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .sample-grid {
        grid-template-columns: 1fr !important;
    }
}

.sample-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 0.85rem !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
}

.sample-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09) !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
}

.badge-soon {
    align-self: flex-start !important;
    font-family: inherit !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    background: rgba(16, 185, 129, 0.1) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    color: #059669 !important;
    padding: 4px 9px !important;
    border-radius: 6px !important;
    font-weight: 800 !important;
}

.sample-card h4 {
    font-family: inherit !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-top: 4px !important;
    line-height: 1.35 !important;
}

.sample-card p {
    font-size: 0.88rem !important;
    color: #475569 !important;
    flex: 1 !important;
    line-height: 1.55 !important;
}

.sample-card .btn-card,
.sample-card .btn-ghost {
    margin-top: 1rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    width: 100% !important;
    text-align: center !important;
    padding: 0.65rem 1.1rem !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    background: rgba(16, 185, 129, 0.06) !important;
    color: #059669 !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
}

.sample-card .btn-card:hover:not([aria-disabled="true"]) {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}

.sample-card .btn-card[aria-disabled="true"] {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    border-color: #cbd5e1 !important;
}

