:root {
    --bg-primary: #0b132b;
    --bg-secondary: #1c2541;
    --bg-card: #151e38;
    --navy-header: #070d1e;
    --navy-accent: #1d3557;
    --cyan-highlight: #00b4d8;
    --cyan-hover: #90e0ef;
    --accent-purple: #7209b7;
    --accent-purple-glow: rgba(114, 9, 183, 0.35);
    --text-main: #f8f9fa;
    --text-muted: #a0aec0;
    --border-color: rgba(255, 255, 255, 0.12);
    --border-accent: rgba(0, 180, 216, 0.4);
    --green-status: #38b000;
    --yellow-status: #ffb703;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Cinematic Background Video Styles */
.video-bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    background-color: var(--bg-primary);
    pointer-events: none;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    filter: brightness(0.52) contrast(1.15) saturate(0.95);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(11, 19, 43, 0.25) 0%, rgba(11, 19, 43, 0.75) 100%);
    z-index: 2;
}

/* Official Classification Top Banner (DHS Style) */
.official-banner {
    background: #000000;
    border-bottom: 2px solid var(--cyan-highlight);
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 6px 0;
    position: relative;
    z-index: 5;
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.flag-icon {
    color: var(--cyan-highlight);
    font-size: 0.9rem;
}

.banner-text strong {
    color: var(--text-main);
}

.banner-tag {
    margin-left: auto;
    background: var(--navy-accent);
    color: var(--cyan-highlight);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.8px;
}

/* Main Navigation Header (Leidos Style) */
.main-header {
    background-color: var(--navy-header);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-purple), var(--cyan-highlight));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #ffffff;
    box-shadow: 0 0 15px var(--accent-purple-glow);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    line-height: 1.1;
}

.brand-sub {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--cyan-highlight);
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item:hover, .nav-item.active {
    color: #ffffff;
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--cyan-highlight);
}

.header-actions {
    display: flex;
    align-items: center;
}

.header-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(56, 176, 0, 0.12);
    border: 1px solid rgba(56, 176, 0, 0.35);
    color: var(--green-status);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 4px;
    margin-right: 15px;
    text-shadow: 0 0 5px rgba(56, 176, 0, 0.2);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background-color: var(--green-status);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(56, 176, 0, 0.7);
    animation: status-pulse 1.8s infinite;
}

@keyframes status-pulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(56, 176, 0, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 5px rgba(56, 176, 0, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(56, 176, 0, 0); }
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
}

.user-profile i {
    color: var(--cyan-highlight);
}

.logout-btn {
    background: transparent;
    border: none;
    color: #ff4d4d;
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 600;
    margin-left: 8px;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

.logout-btn:hover {
    text-decoration: underline;
}

/* Main Body & Layout */
.main-body {
    flex: 1;
    padding: 20px 20px;
    max-width: 98%;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.hidden {
    display: none !important;
}

/* LOGIN SECTION (Gated Access) */
.login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.login-card-container {
    width: 100%;
    max-width: 480px;
}

.login-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--cyan-highlight));
}

.login-header {
    text-align: center;
    margin-bottom: 28px;
}

.shield-badge {
    width: 54px;
    height: 54px;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid var(--cyan-highlight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem;
    color: var(--cyan-highlight);
}

.login-header h2 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.login-header p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--cyan-highlight);
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.2);
}

.login-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    margin-bottom: 24px;
    color: var(--text-muted);
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.forgot-link {
    color: var(--cyan-highlight);
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-primary-large {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--navy-accent), var(--cyan-highlight));
    border: none;
    border-radius: var(--radius-md);
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.4);
}

.login-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.notice-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--yellow-status);
}

.notice-box i {
    color: var(--yellow-status);
    margin-top: 2px;
}

/* HERO STRIP */
.hero-strip {
    background: linear-gradient(135deg, var(--navy-header), var(--bg-secondary));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-strip::after {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-purple-glow) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 650px;
}

.hero-stats {
    display: flex;
    gap: 15px;
}

.stat-pill {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 110px;
}

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cyan-highlight);
}

.stat-num.status-green {
    color: var(--green-status);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: calc(100vh - 130px);
    width: 100%;
}

/* DASHBOARD & TABS */
.section-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-color);
}

.section-title-bar h2 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-count {
    background: var(--navy-accent);
    color: var(--cyan-highlight);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tab-content {
    animation: fadeIn 0.3s ease;
}

.hidden-tab {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* APPLICATION CARDS */
.app-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.app-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.app-card.featured {
    border-color: var(--border-accent);
}

.app-card:hover {
    transform: translateY(-4px);
    border-color: var(--cyan-highlight);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.card-top-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 0.68rem;
}

.tag-status {
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tag-status.operational {
    background: rgba(56, 176, 0, 0.15);
    color: var(--green-status);
    border: 1px solid rgba(56, 176, 0, 0.3);
}

.tag-status.staging {
    background: rgba(255, 183, 3, 0.15);
    color: var(--yellow-status);
    border: 1px solid rgba(255, 183, 3, 0.3);
}

.tag-platform {
    color: var(--text-muted);
}

.card-icon-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.app-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: #ffffff;
}

.mg-icon {
    background: linear-gradient(135deg, #3a0ca3, var(--cyan-highlight));
}

.la-icon {
    background: linear-gradient(135deg, #7209b7, #f72585);
}

.utp-icon {
    background: linear-gradient(135deg, #f77f00, #fcbf49);
}

.tpvs-icon {
    background: linear-gradient(135deg, #134e5e, #71b280);
}

.identity-icon {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
}

.tview-icon {
    background: linear-gradient(135deg, #0284c7, #38bdf8);
}

.cmt-icon {
    background: linear-gradient(135deg, #059669, #10b981);
}

.devai-icon {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.app-title-area h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    line-height: 1.1;
}

.app-subtitle {
    font-size: 0.66rem;
    color: var(--cyan-highlight);
}

.app-description {
    color: var(--text-muted);
    font-size: 0.74rem;
    margin-bottom: 8px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines max */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.7em; /* Uniform height for alignment */
}

.card-features {
    display: flex;
    gap: 8px;
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    padding-top: 6px;
    border-top: 1px dashed var(--border-color);
}

.card-actions {
    margin-top: auto;
}

.btn-launch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px;
    background: var(--navy-accent);
    color: #ffffff;
    border: 1px solid var(--cyan-highlight);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.76rem;
    transition: all 0.2s ease;
}

.btn-launch:hover {
    background: var(--cyan-highlight);
    color: var(--navy-header);
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.3);
}

.btn-disabled {
    width: 100%;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.76rem;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* DOCUMENTATION TAB */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.doc-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.doc-icon {
    font-size: 1.8rem;
    color: var(--cyan-highlight);
}

.doc-info h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.doc-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.doc-info a {
    color: var(--cyan-highlight);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.doc-info a:hover {
    text-decoration: underline;
}

/* SYSTEM STATUS TAB */
.status-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 10px 20px;
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.status-row:last-child {
    border-bottom: none;
}

.service-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.service-name strong {
    font-size: 0.95rem;
}

.url-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.status-ok { color: var(--green-status); margin-right: 8px; }
.status-warn { color: var(--yellow-status); margin-right: 8px; }

.service-meta {
    display: flex;
    gap: 12px;
}

.ping-badge {
    background: rgba(56, 176, 0, 0.15);
    color: var(--green-status);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.ping-badge.warning {
    background: rgba(255, 183, 3, 0.15);
    color: var(--yellow-status);
}

.region-badge {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
}

/* DNS MODAL */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 650px;
    padding: 30px;
    box-shadow: var(--card-shadow);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

.close-btn {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.close-btn:hover { color: #ffffff; }

.modal-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.dns-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.dns-table th, .dns-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.dns-table th {
    background: var(--bg-card);
    color: var(--text-muted);
}

.tag-dns {
    background: var(--navy-accent);
    color: var(--cyan-highlight);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
}

.modal-note {
    font-size: 0.8rem;
    color: var(--cyan-highlight);
}

/* Dashboard Status Bar Footer */
.dashboard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    margin-top: 15px; /* small gap below the grid */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.68rem; /* tiny and precise */
    color: var(--text-muted);
    background: rgba(11, 19, 43, 0.4);
    backdrop-filter: blur(5px);
    border-radius: var(--radius-sm);
    width: 100%;
}

.db-footer-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--cyan-highlight);
}

.db-footer-links {
    display: flex;
    gap: 6px;
    align-items: center;
}

.db-footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.db-footer-links a:hover {
    color: #ffffff;
}

.db-footer-links .dot {
    color: rgba(255, 255, 255, 0.2);
}

.db-footer-sec {
    color: var(--yellow-status);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   REHEARSALS & DRY RUNS HUB STYLING
   ========================================================================== */
.rehearsal-hero-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(56, 189, 248, 0.15);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.rehearsal-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0284c7, #38bdf8, #818cf8, #a855f7);
}

.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.hero-title-group h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.hero-title-group .hero-subtitle {
    color: var(--cyan-highlight);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 4px;
}

.badge-active-rehearsal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 165, 233, 0.2);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.5);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 20px;
    line-height: 1.6;
}

.hero-action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-hero-launch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0284c7, #2563eb);
    color: #ffffff;
    padding: 12px 22px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    transition: all 0.2s ease;
}

.btn-hero-launch:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
    color: #ffffff;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.prototypes-subheading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prototype-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.mini-prototype-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.mini-prototype-card:hover {
    border-color: var(--cyan-highlight);
    background: rgba(15, 23, 42, 0.85);
}

.mini-proto-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.mini-proto-desc {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 12px;
    line-height: 1.4;
}

.mini-proto-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--cyan-highlight);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.mini-proto-link:hover {
    color: var(--cyan-hover);
    text-decoration: underline;
}

/* REHEARSAL ARCHIVE TIMELINE */
.timeline-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.timeline-section-title h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.timeline-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-accent);
}

.timeline-card.current {
    border-color: rgba(56, 189, 248, 0.4);
    background: linear-gradient(180deg, rgba(21, 30, 56, 0.9), rgba(15, 23, 42, 0.95));
}

.timeline-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.timeline-date-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cyan-highlight);
    background: var(--navy-accent);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
}

.timeline-card h4 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 600;
}

.timeline-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.timeline-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.timeline-features span {
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.timeline-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.timeline-btn {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.timeline-btn.primary {
    background: linear-gradient(135deg, #0284c7, #2563eb);
    color: #ffffff;
}

.timeline-btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.timeline-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}



