/* Local Corporate Fonts */
@font-face {
    font-family: 'Aeroport';
    src: url('/fonts/Aeroport-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Aeroport';
    src: url('/fonts/Aeroport.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Aeroport';
    src: url('/fonts/Aeroport-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Aeroport';
    src: url('/fonts/Aeroport-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Druk Wide Heavy';
    src: url('/fonts/Druk Text Wide Cyr Heavy.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: 'Druk Wide Cyr';
    src: url('/fonts/Druk Text Wide Cyr Heavy.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

/* Utility classes */
.hidden {
    display: none !important;
}

/* Global Design Tokens & Variables */
:root {
    --primary-green: #07906b;
    --primary-green-rgb: 7, 144, 107;
    --primary-green-hover: #067758;
    --bg-mint: #cdf9de;
    --bg-mint-translucent: rgba(205, 249, 222, 0.4);
    --bg-light: #fafafa;
    --text-charcoal: #191919;
    --text-muted: #525252;
    --border-light: #eeeeee;
    
    --accent-pink: #f48fb1;
    --accent-yellow: #ffe082;
    --accent-purple: #b39ddb;
    
    --header-height: 80px;
    --border-radius: 20px;
    --transition-speed: 0.3s;
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Aeroport', 'Manrope', 'Inter', sans-serif;
    font-weight: 400;
    background-color: var(--bg-light);
    color: var(--text-muted);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Minimal Sticky Header */
.app-header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

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

.logo-svg {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

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

.brand-name {
    font-family: 'Druk Wide Heavy', 'Syne', sans-serif;
    font-size: 16px; /* slightly smaller due to width of Druk */
    font-weight: 900;
    color: var(--primary-green);
    line-height: 1.1;
}

.brand-subname {
    font-size: 10px;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: 2.5px;
    line-height: 1;
}

/* Header Search */
.search-box {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    background-color: #f5f5f5;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all var(--transition-speed);
}

.search-box input:focus {
    border-color: var(--primary-green);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(7, 144, 107, 0.1);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #888;
    pointer-events: none;
}

.header-tagline {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

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

/* Portal Content Layout */
.portal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--header-height) + 40px) 24px 80px 24px;
    display: flex;
    flex-direction: column;
}

.portal-intro {
    text-align: center;
    margin-bottom: 50px;
}

.overshoot-title {
    font-family: 'Druk Wide Heavy', 'Syne', sans-serif;
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--primary-green);
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.portal-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Premium Link Grid (Launchpad) */
.launchpad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Portal Cards */
.portal-card {
    height: 380px;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card-content {
    position: relative;
    z-index: 2;
    color: var(--text-charcoal);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-end;
}

.card-badge {
    align-self: flex-start;
    padding: 5px 12px;
    background-color: rgba(25, 25, 25, 0.05);
    color: var(--text-charcoal);
    border-radius: 12px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    z-index: 2;
}

.portal-card h3 {
    font-family: 'Druk Wide Heavy', 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-charcoal);
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    z-index: 2;
}

.card-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.4;
    z-index: 2;
}

/* Action Link Buttons */
.portal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: var(--card-btn-bg, var(--bg-mint));
    color: var(--card-btn-color, var(--primary-green));
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    align-self: flex-start;
    transition: all var(--transition-speed);
    z-index: 2;
}

.btn-arrow {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-speed);
}

.portal-btn:hover {
    background-color: var(--card-btn-hover-bg, var(--card-btn-color)) !important;
    color: var(--card-btn-hover-text, #ffffff) !important;
}

.portal-btn:hover .btn-arrow {
    transform: translateX(3px);
}

/* Card Hover Zoom & Glow */
.portal-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-green);
}

/* 💎 Modifier Card Designs (Photo-less Gradients) */

/* Card 1: Brandbook */
.portal-card.card-brandbook {
    background: linear-gradient(135deg, #e6f9ed 0%, #cdf9de 100%);
    border-color: rgba(7, 144, 107, 0.15);
}
.portal-card.card-brandbook .card-badge {
    background-color: rgba(7, 144, 107, 0.1);
    color: var(--primary-green);
}
.portal-card.card-brandbook::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    border: 15px solid rgba(7, 144, 107, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

/* Card 2: Fastfood */
.portal-card.card-fastfood {
    background: linear-gradient(135deg, #fffcf0 0%, #fff2cc 100%);
    border-color: rgba(255, 224, 130, 0.4);
}
.portal-card.card-fastfood .card-badge {
    background-color: rgba(176, 96, 0, 0.08);
    color: #b06000;
}
.portal-card.card-fastfood::after {
    content: 'FAYNO';
    position: absolute;
    font-family: 'Druk Wide Heavy', sans-serif;
    font-size: 60px;
    font-weight: 900;
    color: rgba(255, 224, 130, 0.15);
    bottom: -10px;
    right: -10px;
    pointer-events: none;
    letter-spacing: -2px;
}

/* Card 3: Sonic Branding */
.portal-card.card-sonic {
    background: linear-gradient(135deg, #fef0f5 0%, #fcdbe7 100%);
    border-color: rgba(244, 143, 177, 0.3);
}
.portal-card.card-sonic .card-badge {
    background-color: rgba(208, 23, 96, 0.08);
    color: #d01760;
}
.portal-card.card-sonic::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 100px;
    border-top: 1px solid rgba(244, 143, 177, 0.3);
    border-bottom: 1px solid rgba(244, 143, 177, 0.3);
    transform: rotate(-15deg);
    top: 50px;
    right: -40px;
    pointer-events: none;
}

/* Card 4: KSV */
.portal-card.card-ksv {
    background: linear-gradient(135deg, #f5f0ff 0%, #e8dbff 100%);
    border-color: rgba(179, 157, 219, 0.3);
}
.portal-card.card-ksv .card-badge {
    background-color: rgba(138, 63, 252, 0.08);
    color: #8a3ffc;
}
.portal-card.card-ksv::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border: 2px dashed rgba(179, 157, 219, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

/* Card 5: Catalog */
.portal-card.card-catalog {
    background: linear-gradient(135deg, #eaf2ff 0%, #d0e2ff 100%);
    border-color: rgba(26, 115, 232, 0.15);
}
.portal-card.card-catalog .card-badge {
    background-color: rgba(26, 115, 232, 0.08);
    color: #1a73e8;
}
.portal-card.card-catalog .portal-btn {
    background-color: rgba(26, 115, 232, 0.1);
    color: #1a73e8;
}
.portal-card.card-catalog .portal-btn:hover {
    background-color: #1a73e8;
    color: #ffffff;
}

/* Card 6: UTM Generator (Active Tool - Coral/Peach Theme) */
.portal-card.tool-card {
    background: linear-gradient(135deg, #fff5f0 0%, #ffd8cb 100%);
    border-color: rgba(255, 110, 64, 0.25);
}
.portal-card.tool-card .card-badge {
    background-color: rgba(255, 110, 64, 0.08);
    color: #e65100;
}
.portal-card.tool-card .portal-btn {
    background-color: rgba(255, 110, 64, 0.1);
    color: #e65100;
}
.portal-card.tool-card .portal-btn:hover {
    background-color: #e65100;
    color: #ffffff;
}
.portal-card.tool-card::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -20px;
    width: 120px;
    height: 120px;
    border-left: 2px dashed rgba(255, 110, 64, 0.15);
    border-radius: 50%;
    transform: rotate(45deg);
    pointer-events: none;
}

/* EXPANDED MATERIALS CATALOG SECTION */
.catalog-section {
    border-top: 1px solid var(--border-light);
    padding-top: 60px;
    margin-top: 20px;
}

/* If catalog is the ONLY root child of container (catalog.html) */
.portal-container > .catalog-section {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-family: 'Druk Wide Heavy', 'Syne', sans-serif;
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-charcoal);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.section-header p {
    font-size: 15px;
    color: var(--text-muted);
}

/* Category Filter Tabs */
.catalog-filters {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 35px;
}

.filter-btn {
    padding: 8px 18px;
    background-color: #ffffff;
    color: var(--text-muted);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    transition: all var(--transition-speed);
}

.filter-btn:hover {
    background-color: #f5f5f5;
    color: var(--text-charcoal);
}

.filter-btn.active {
    background-color: var(--primary-green);
    color: #ffffff;
    border-color: var(--primary-green);
}

/* Catalog Grid & Item Cards */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.catalog-item-card {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: auto;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
}

.catalog-item-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #ddd;
}

.item-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

/* File badge color themes */
.file-badge.svg { background-color: #e6f4ea; color: #137333; }
.file-badge.png { background-color: #feefe3; color: #b06000; }
.file-badge.pdf { background-color: #fce8e6; color: #c5221f; }
.file-badge.zip { background-color: #f3e8fd; color: #8a3ffc; }
.file-badge.ai { background-color: #e8f0fe; color: #1a73e8; }
.file-badge.font { background-color: #f1f3f4; color: #5f6368; }
.file-badge.indd { background-color: #fde8f1; color: #d01760; }
.file-badge.jpg { background-color: #e2f1f8; color: #0288d1; }

.file-size {
    font-size: 11px;
    font-family: monospace;
    font-weight: bold;
    color: #999;
}

.item-body {
    margin: 15px 0;
}

.item-body h4 {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--text-charcoal);
    margin-bottom: 6px;
    word-break: break-all;
}

.item-body p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background-color: var(--bg-mint);
    color: var(--primary-green);
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-speed);
}

.dl-icon {
    width: 14px;
    height: 14px;
}

.item-download-btn:hover {
    background-color: var(--primary-green);
    color: #ffffff;
}

/* MODAL WINDOW SYSTEM */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: min(520px, calc(100vw - 32px));
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateY(10px) scale(0.98);
    transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

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

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f5f5f5;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
}

.modal-close-btn:hover {
    background-color: #e5e5e5;
    transform: rotate(90deg);
}

.close-icon {
    width: 16px;
    height: 16px;
    color: var(--text-charcoal);
}

/* UTM Form inside modal */
.modal-tag {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--bg-mint);
    color: var(--primary-green);
    border-radius: 12px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    max-width: 100%;
    box-sizing: border-box;
    align-self: flex-start;
}

.utm-builder-form h2 {
    font-family: 'Syne', sans-serif;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-charcoal);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.form-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.form-group label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-charcoal);
    margin-bottom: 4px;
}

.required {
    color: #cc0000;
}

.form-group input {
    padding: 10px 14px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-family: inherit;
    font-size: 13.5px;
    outline: none;
    background-color: #fafafa;
    transition: all var(--transition-speed);
}

.form-group input:focus {
    border-color: var(--primary-green);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(7, 144, 107, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.btn-primary {
    background-color: var(--primary-green);
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-green-hover);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--text-charcoal);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background-color: #fafafa;
    border-color: #ccc;
}

.btn-full {
    width: 100%;
}

.utm-result-box textarea {
    width: 100%;
    height: 70px;
    padding: 10px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-family: monospace;
    font-size: 11.5px;
    background-color: #fafafa;
    resize: none;
    outline: none;
}

/* Global Toast Popup Notification */
.global-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--text-charcoal);
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    z-index: 3000;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all var(--transition-speed);
    font-size: 13px;
    font-weight: 700;
}

.global-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-icon {
    width: 16px;
    height: 16px;
}

/* Responsive Grid for Tablets and Mobile Devices */
@media (max-width: 1000px) {
    .launchpad-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .portal-card {
        height: 350px;
        padding: 24px;
    }
    
    .overshoot-title {
        font-size: 38px;
    }
    
    .catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 650px) {
    .launchpad-grid {
        grid-template-columns: 1fr;
    }
    
    .portal-container {
        padding: calc(var(--header-height) + 20px) 16px 60px 16px;
    }
    
    .overshoot-title {
        font-size: 32px;
    }
    
    .modal-card {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .header-tagline {
        display: none;
    }
}

/* 💎 Visual Asset Preview Layouts */
.item-preview-container {
    position: relative;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border: 1px solid var(--border-light);
    cursor: pointer;
}

.item-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.item-preview-container:hover .item-preview-img {
    transform: scale(1.06);
}

.item-preview-container.placeholder {
    background: linear-gradient(135deg, #fbfbfb 0%, #f5f5f5 100%);
}

.placeholder-badge-text {
    font-family: 'Druk Wide Heavy', 'Syne', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: #cccccc;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.preview-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(7, 144, 107, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #ffffff;
    opacity: 0;
    transition: opacity var(--transition-speed);
    z-index: 3;
}

.item-preview-container:hover .preview-hover-overlay {
    opacity: 1;
}

.preview-eye-icon {
    width: 22px;
    height: 22px;
}

.preview-hover-overlay span {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Wide Lightbox Modal */
.preview-modal-card {
    max-width: min(820px, calc(100vw - 32px)) !important;
    width: 100%;
    box-sizing: border-box;
}

.preview-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 30px;
    text-align: left;
    min-width: 0;
    width: 100%;
}

.preview-visual-zone {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fafafa;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    min-height: 320px;
    height: 100%;
    min-width: 0;
}

.modal-preview-img {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: contain;
    padding: 10px;
}

.modal-preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 320px;
    background-color: #f5f5f5;
    color: #888888;
    border-radius: 12px;
    min-width: 0;
}

.modal-preview-placeholder.zip { background-color: #fcf6ff; color: #8a3ffc; }
.modal-preview-placeholder.pdf { background-color: #fff6f6; color: #c5221f; }
.modal-preview-placeholder.pptx, .modal-preview-placeholder.ppt, .modal-preview-placeholder.key { background-color: #fff8f0; color: #d9381e; }
.modal-preview-placeholder.ai { background-color: #f4f8ff; color: #1a73e8; }
.modal-preview-placeholder.svg { background-color: #f0faf2; color: #137333; }
.modal-preview-placeholder.png { background-color: #fffaf5; color: #b06000; }
.modal-preview-placeholder.fonts { background-color: #fafafa; color: #5f6368; }

.modal-preview-placeholder .placeholder-ext {
    font-family: 'Druk Wide Heavy', 'Syne', sans-serif;
    font-size: 54px;
    font-weight: 900;
}

.preview-info-zone {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.preview-info-zone h2 {
    font-family: 'Druk Wide Heavy', 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--text-charcoal);
    text-transform: uppercase;
    margin-bottom: 8px;
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

/* Lightbox Responsive Rules */
@media (max-width: 768px) {
    .preview-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .preview-visual-zone {
        min-height: 220px;
    }
    
    .modal-preview-placeholder {
        min-height: 220px;
    }
}

/* ==========================================================================
   PREMIUM LAUNCHPAD HOVER SHADOWS & SPOTLIGHT SYSTEM
   ========================================================================== */

/* Title text gradient */
.overshoot-title {
    background: linear-gradient(90deg, var(--primary-green) 0%, #056e52 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Button arrow slide */
.portal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-speed);
}
.portal-btn .btn-arrow {
    transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.portal-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Card lift & glow shadows matching cards themes */
.portal-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}
.portal-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 0, 0, 0.12) !important;
}
.card-brandbook:hover {
    box-shadow: 0 20px 40px -10px rgba(7, 144, 107, 0.22);
}
.card-fastfood:hover {
    box-shadow: 0 20px 40px -10px rgba(251, 191, 36, 0.22);
}
.card-sonic:hover {
    box-shadow: 0 20px 40px -10px rgba(244, 114, 182, 0.22);
}
.card-ksv:hover {
    box-shadow: 0 20px 40px -10px rgba(167, 139, 250, 0.22);
}
.card-catalog:hover {
    box-shadow: 0 20px 40px -10px rgba(96, 165, 250, 0.22);
}
.tool-card:hover {
    box-shadow: 0 20px 40px -10px rgba(251, 146, 60, 0.22);
}

/* Spotlight Dropdown results list */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-height: 350px;
    overflow-y: auto;
    z-index: 1000;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color var(--transition-speed);
    text-decoration: none;
    color: inherit;
}
.search-result-item:hover {
    background-color: #f1f5f9;
}
.search-result-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.search-result-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid var(--border-light);
}
.search-result-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    color: #64748b;
    border: 1px solid var(--border-light);
}
.search-result-meta {
    display: flex;
    flex-direction: column;
}
.search-result-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-charcoal);
}
.search-result-desc {
    font-size: 11px;
    color: var(--text-muted);
}
.search-result-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
    background-color: #f1f5f9;
    color: #475569;
    text-transform: uppercase;
}
.search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 12.5px;
}

/* Multi-Tool Software Dashboard */
.modal-card.tool-hub-modal {
    max-width: 820px;
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.tool-hub-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 480px;
}

.tool-hub-sidebar {
    background-color: #f8fafc;
    border-right: 1px solid var(--border-light);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-header h3 {
    font-family: 'Druk Wide Heavy', 'Syne', sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
    color: #94a3b8;
    margin: 0;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-menu-item {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    text-align: left;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all var(--transition-speed);
    width: 100%;
    outline: none;
}

.sidebar-menu-item:hover:not(:disabled) {
    background-color: #e2e8f0;
    color: #0f172a;
}

.sidebar-menu-item.active {
    background-color: var(--primary-green);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(7, 144, 107, 0.15);
}

.sidebar-menu-item.disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.sidebar-menu-item .menu-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

.menu-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.badge-coming-soon {
    font-size: 9px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.tool-hub-content {
    padding: 40px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .tool-hub-layout {
        grid-template-columns: 1fr;
    }
    .tool-hub-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding: 20px 16px;
    }
    .tool-hub-content {
        padding: 24px;
    }
}

/* Catalog Layout Switch segmented controls */
.layout-btn.active {
    background-color: #ffffff !important;
    color: var(--primary-green) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* List Mode grid adjustments */
.catalog-grid.list-mode {
    display: flex;
    flex-direction: column;
    gap: 12px;
    grid-template-columns: 1fr !important;
}

.catalog-grid.list-mode .catalog-item-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px !important;
    min-height: auto;
    border-radius: 12px;
    gap: 20px;
    box-shadow: var(--shadow-sm);
}

.catalog-grid.list-mode .catalog-item-card .item-preview-container {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.catalog-grid.list-mode .catalog-item-card .item-preview-container .preview-hover-overlay {
    display: none !important;
}

.catalog-grid.list-mode .catalog-item-card .item-meta-row {
    padding: 0 !important;
    width: 80px;
    justify-content: center;
    flex-shrink: 0;
}

.catalog-grid.list-mode .catalog-item-card .item-body {
    margin: 0 !important;
    padding: 0 !important;
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.catalog-grid.list-mode .catalog-item-card .item-body h4 {
    margin-bottom: 2px !important;
    font-size: 14px;
}

.catalog-grid.list-mode .catalog-item-card .item-body p {
    font-size: 12px !important;
    -webkit-line-clamp: 1 !important;
}

.catalog-grid.list-mode .catalog-item-card .item-actions-row {
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .catalog-grid.list-mode .catalog-item-card {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px !important;
    }
    
    .catalog-grid.list-mode .catalog-item-card .item-body {
        text-align: center;
    }
    
    .catalog-grid.list-mode .catalog-item-card .item-meta-row {
        align-self: center;
    }
}

/* QR Code format download grid options */
.qr-download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
}
@media (max-width: 480px) {
    .qr-download-grid {
        grid-template-columns: 1fr;
    }
}

.qr-download-groups {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

@media (max-width: 600px) {
    .qr-display-zone {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }
}

.cards-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 15px;
}
@media (max-width: 768px) {
    .cards-preview-container {
        flex-direction: column;
    }
}

/* Catalog Navigation Layout */
.catalog-layout-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    margin-top: 25px;
    align-items: start;
}

.catalog-sidebar {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 20px;
    position: sticky;
    top: 90px;
    box-shadow: var(--shadow-sm);
}

.sidebar-filter-group h3 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-light);
}

/* Category Vertical Navigation Items */
.category-nav-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
    margin-bottom: 4px;
    outline: none;
}

.category-nav-btn:hover {
    background: #f8fafc;
    color: var(--text-charcoal);
}

.category-nav-btn.active {
    background: var(--primary-green);
    color: #ffffff;
}

.category-nav-btn .count-badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    background: #f1f5f9;
    color: var(--text-muted);
    font-weight: 700;
    transition: all 0.2s;
}

.category-nav-btn.active .count-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Format filter list items */
.format-filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #f1f5f9;
    color: var(--text-muted);
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    margin-right: 6px;
    margin-bottom: 6px;
    transition: all 0.2s;
    outline: none;
}

.format-filter-btn:hover {
    background: #e2e8f0;
    color: var(--text-charcoal);
}

.format-filter-btn.active {
    background: #ffffff;
    color: var(--primary-green);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-sm);
}

/* Top control bar */
.catalog-control-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 10px 16px;
    box-shadow: var(--shadow-sm);
}

.catalog-control-bar .results-count {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.catalog-control-bar .results-count span {
    font-weight: 700;
    color: var(--text-charcoal);
}

/* Empty State styling */
.catalog-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #ffffff;
    border: 1px dashed var(--border-light);
    border-radius: 16px;
    text-align: center;
    margin-top: 15px;
}

.catalog-empty-state svg {
    width: 64px;
    height: 64px;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.catalog-empty-state h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-charcoal);
    margin-bottom: 6px;
}

.catalog-empty-state p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
    max-width: 320px;
}

@media (max-width: 992px) {
    .catalog-layout-container {
        grid-template-columns: 1fr;
    }
    .catalog-sidebar {
        position: static;
    }
}

/* Card Highlight Styles */
.highlight-glow {
    box-shadow: 0 12px 35px rgba(var(--primary-green-rgb), 0.25) !important;
    border: 2px solid var(--primary-green) !important;
}

.highlight-pulse {
    border: 2px solid var(--primary-green) !important;
    box-shadow: 0 4px 20px rgba(var(--primary-green-rgb), 0.15) !important;
}

.highlight-border-glow {
    position: relative;
    border: 2px solid transparent !important;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary-green), #60a5fa) border-box !important;
}

.highlight-large-col {
    grid-column: span 2;
}

.highlight-large-row {
    grid-row: span 2;
}

@media (max-width: 768px) {
    .highlight-large-col {
        grid-column: span 1;
    }
    .highlight-large-row {
        grid-row: span 1;
    }
}

/* Card Background Shapes (Decorations) */
.portal-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.portal-card.decor-circle::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    border: 15px solid rgba(0, 0, 0, 0.04);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.portal-card.decor-text::after {
    content: 'FAYNO';
    position: absolute;
    font-family: 'Druk Wide Heavy', sans-serif;
    font-size: 60px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.04);
    bottom: -10px;
    right: -10px;
    pointer-events: none;
    letter-spacing: -2px;
    z-index: 1;
}

.portal-card.decor-waves::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 100px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transform: rotate(-15deg);
    top: 50px;
    right: -40px;
    pointer-events: none;
    z-index: 1;
}

.portal-card.decor-dashed::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border: 2px dashed rgba(0, 0, 0, 0.04);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}
