/* Flagship Spotlight Wrapper */
.seatsync-flagship-spotlight {
    max-width: 1200px;
    margin: 2.2rem auto 3rem;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

/* Featured Project Card Enhancements */
.project-card.project-card-seatsync {
    background: var(--bg-surface, rgba(15, 23, 42, 0.75)) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(0, 242, 254, 0.4) !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    position: relative;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 242, 254, 0.15) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
}

@media (min-width: 960px) {
    .project-card.project-card-seatsync {
        display: grid !important;
        grid-template-columns: 360px 1fr !important;
        align-items: stretch !important;
    }
}

.project-card.project-card-seatsync:hover {
    border-color: #00f2fe !important;
    box-shadow: 0 35px 75px -12px rgba(0, 0, 0, 0.85), 0 0 45px rgba(0, 242, 254, 0.35) !important;
    transform: translateY(-6px) !important;
}

/* Header Banner & Badges */
.seatsync-header-bar {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
    pointer-events: none;
}

@media (min-width: 960px) {
    .seatsync-header-bar {
        right: auto;
        width: 332px;
    }
}

.seatsync-badge-flagship {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(245, 158, 11, 0.7);
    color: #fbbf24;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--font-mono, monospace);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.seatsync-badge-campus {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(0, 242, 254, 0.7);
    color: #00f2fe;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.74rem;
    font-weight: 700;
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

.seatsync-img-container {
    height: 100% !important;
    min-height: 240px !important;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 35%, #0e7490 70%, #059669 100%) !important;
    position: relative;
    overflow: hidden;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.seatsync-img-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, rgba(0, 242, 254, 0.25) 0%, transparent 70%);
}

.seatsync-img-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.seatsync-img-inner i {
    font-size: 3.4rem !important;
    color: #ffffff !important;
    filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.6)) !important;
    animation: seatsyncPulse 3.5s ease-in-out infinite;
}

@keyframes seatsyncPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.6));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 30px rgba(0, 242, 254, 0.9));
    }
}

.seatsync-img-tag {
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-mono, monospace);
    color: #e0f2fe;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.2rem 0.65rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* Card Body Content */
.seatsync-content {
    padding: 1.8rem 1.8rem 1.6rem !important;
}

.seatsync-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.seatsync-title-row h3 {
    margin-bottom: 0 !important;
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.seatsync-version-tag {
    font-size: 0.72rem;
    font-family: var(--font-mono, monospace);
    font-weight: 600;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 0.18rem 0.55rem;
    border-radius: 6px;
}

.seatsync-subheading {
    font-size: 0.88rem;
    font-weight: 600;
    color: #38bdf8;
    margin-bottom: 0.9rem;
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    line-height: 1.4;
}

.seatsync-desc {
    font-size: 0.92rem !important;
    line-height: 1.65 !important;
    color: #cbd5e1 !important;
    margin-bottom: 1.25rem !important;
}

.seatsync-desc strong {
    color: #ffffff;
    font-weight: 600;
}

.seatsync-desc code {
    background: rgba(0, 242, 254, 0.1);
    color: #00f2fe;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    font-family: var(--font-mono, monospace);
    font-size: 0.82rem;
    border: 1px solid rgba(0, 242, 254, 0.25);
}

/* Feature Highlights Grid */
.seatsync-chips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 480px) {
    .seatsync-chips-grid {
        grid-template-columns: 1fr;
    }
}

.seatsync-chip {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.seatsync-chip i {
    color: #00f2fe;
    font-size: 0.8rem;
}

.seatsync-chip:hover {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(0, 242, 254, 0.35);
    color: #f1f5f9;
}

/* Action Buttons */
.seatsync-action-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.btn-seatsync-github {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-seatsync-github:hover {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    border-color: #00f2fe;
    color: #00f2fe;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-seatsync-specs {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.12) 0%, rgba(99, 102, 241, 0.15) 100%);
    border: 1px solid rgba(6, 182, 212, 0.45);
    color: #00f2fe;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
}

.btn-seatsync-specs:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25) 0%, rgba(99, 102, 241, 0.3) 100%);
    border-color: #00f2fe;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
    transform: translateY(-2px);
}

/* ==========================================================================
   SEAT-SYNC ARCHITECTURE & ENGINEERING MODAL
   ========================================================================== */
.seatsync-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 7, 18, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.seatsync-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.seatsync-modal-dialog {
    background: #090d16;
    border: 1px solid rgba(0, 242, 254, 0.45);
    border-radius: 24px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 50px rgba(0, 242, 254, 0.2);
    overflow: hidden;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.seatsync-modal-overlay.active .seatsync-modal-dialog {
    transform: scale(1) translateY(0);
}

/* Modal Header */
.seatsync-modal-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(9, 13, 22, 0.9) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.seatsync-modal-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #00f2fe 50%, transparent 100%);
}

.seatsync-modal-title-group h2 {
    font-size: 1.55rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    letter-spacing: -0.3px;
}

.seatsync-modal-title-group h2 i {
    color: #00f2fe;
}

.seatsync-modal-sub {
    font-size: 0.86rem;
    color: #94a3b8;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.seatsync-modal-sub .sjcet-tag {
    color: #38bdf8;
    font-weight: 700;
}

.seatsync-modal-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.seatsync-modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ffffff;
    transform: rotate(90deg);
}

/* Modal Body */
.seatsync-modal-body {
    padding: 1.75rem 2rem;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

/* Custom Scrollbar for Modal Body */
.seatsync-modal-body::-webkit-scrollbar {
    width: 7px;
}

.seatsync-modal-body::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.4);
}

.seatsync-modal-body::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.3);
    border-radius: 4px;
}

.seatsync-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 242, 254, 0.6);
}

/* Badges Bar inside Modal */
.seatsync-modal-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.seatsync-mbadge {
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.76rem;
    font-family: var(--font-mono, monospace);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.seatsync-mbadge.v2 {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #818cf8;
}

.seatsync-mbadge.prod {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.seatsync-mbadge.sjcet {
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: #22d3ee;
}

.seatsync-mbadge.license {
    background: rgba(236, 72, 153, 0.15);
    border: 1px solid rgba(236, 72, 153, 0.4);
    color: #f472b6;
}

/* Modal Section Blocks */
.seatsync-section-block {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.4rem;
}

.seatsync-section-block h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.seatsync-section-block h3 i {
    color: #00f2fe;
    font-size: 1rem;
}

.seatsync-section-block p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #cbd5e1;
    margin: 0 0 0.8rem 0;
}

.seatsync-section-block p:last-child {
    margin-bottom: 0;
}

/* Algorithm Storyboard Visualizer */
.seatsync-algorithm-box {
    background: #030712;
    border: 1px solid rgba(0, 242, 254, 0.35);
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1rem;
}

.algorithm-header-label {
    font-family: var(--font-mono, monospace);
    font-size: 0.78rem;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.algorithm-bench-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bench-row-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

@media (max-width: 600px) {
    .bench-row-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.seat-slot {
    padding: 0.55rem 0.85rem;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.seat-slot.pool-a {
    background: rgba(99, 102, 241, 0.18);
    border: 1px solid rgba(99, 102, 241, 0.45);
    color: #c7d2fe;
}

.seat-slot.pool-b {
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #a7f3d0;
}

.seat-slot .slot-title {
    font-family: var(--font-mono, monospace);
    font-size: 0.75rem;
    font-weight: 700;
}

.seat-slot.pool-a .slot-title { color: #818cf8; }
.seat-slot.pool-b .slot-title { color: #34d399; }

.seat-slot .slot-detail {
    font-size: 0.82rem;
    color: #ffffff;
    font-weight: 600;
}

.bench-interleave-indicator {
    font-family: var(--font-mono, monospace);
    font-size: 0.74rem;
    font-weight: 700;
    color: #00f2fe;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.35);
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    white-space: nowrap;
}

/* Feature 3-Grid Comparison */
.seatsync-portals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 0.75rem;
}

@media (max-width: 768px) {
    .seatsync-portals-grid {
        grid-template-columns: 1fr;
    }
}

.portal-mini-card {
    background: rgba(3, 7, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.portal-mini-card h4 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: #38bdf8;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.portal-mini-card p {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    color: #94a3b8 !important;
    margin: 0 !important;
}

/* Modal Footer */
.seatsync-modal-footer {
    padding: 1.25rem 2rem;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.seatsync-modal-footer .footer-meta {
    font-size: 0.82rem;
    color: #64748b;
    font-family: var(--font-mono, monospace);
}

.seatsync-modal-footer-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
