/**
 * Source Code & 40 Enterprise Software Project Specifications Styles
 * File: sections/source_code/source_code.css
 * Project: Website Deployment (JIYA WEB SOLUTION)
 * Modern 4-Column Grid with Photos, Metadata & Dynamic Detail Modal
 */

/* ==========================================================================
   1. Source Code Explorer Modal (Fixed Overlay)
   ========================================================================== */
.source-code-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999995;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.source-code-modal.active,
.source-code-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Backdrop */
.source-code-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* Dialog Container */
.source-code-dialog {
    position: relative;
    width: 96vw;
    max-width: 1440px;
    height: 92vh;
    max-height: 92vh;
    background: linear-gradient(145deg, #070c18 0%, #030712 100%);
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 20px;
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.95),
        0 0 35px rgba(0, 240, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95) translateY(15px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.source-code-modal.active .source-code-dialog,
.source-code-modal.is-open .source-code-dialog {
    transform: scale(1) translateY(0);
}

/* Top Glow Edge */
.source-code-top-glow {
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f0ff, #10b981, transparent);
    filter: drop-shadow(0 0 8px #00f0ff);
    z-index: 10;
}

/* Close Button (×) */
.source-code-close-btn {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    z-index: 15;
    transition: all 0.25s ease;
}

.source-code-close-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
    color: #f87171;
    transform: rotate(90deg);
}

/* ==========================================================================
   2. Header & Clean Search Bar
   ========================================================================== */
.source-code-header {
    padding: 24px 28px 16px 28px;
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 5;
    text-align: center;
}

.sc-hero-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 20px;
    border-radius: 6px !important;
    background: #000000 !important;
    border: 1px solid rgba(0, 240, 255, 0.35);
    color: #00f0ff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 14px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.95), inset 0 0 14px rgba(0, 240, 255, 0.08);
    overflow: hidden;
}

/* Diagonal Cyber Accent Corners */
.sc-hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 14px;
    height: 14px;
    border-top: 2.5px solid #00f0ff;
    border-left: 2.5px solid #00f0ff;
    border-top-left-radius: 5px;
    box-shadow: -2px -2px 10px rgba(0, 240, 255, 0.85);
    pointer-events: none;
}

.sc-hero-badge::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 14px;
    height: 14px;
    border-bottom: 2.5px solid #10b981;
    border-right: 2.5px solid #10b981;
    border-bottom-right-radius: 5px;
    box-shadow: 2px 2px 10px rgba(16, 185, 129, 0.85);
    pointer-events: none;
}

.sc-hero-badge i {
    color: #00f0ff;
    filter: drop-shadow(0 0 8px #00f0ff);
}

.sc-hero-title {
    font-family: 'Orbitron', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase !important;
    color: #ffffff;
    margin: 0 0 14px 0;
    line-height: 1.3;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.95);
}

.sc-hero-title span,
.sc-hero-title .highlight-cyan {
    background: linear-gradient(135deg, #00f0ff 0%, #38bdf8 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(0, 240, 255, 0.55));
}

.sc-hero-subtitle {
    color: #cbd5e1;
    font-size: 0.92rem;
    font-weight: 500;
    max-width: 960px;
    margin: 0 auto 20px auto;
    line-height: 1.7;
    letter-spacing: 0.2px;
}

/* Clean Real-Time Search Bar */
.source-code-search-container {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

.sc-search-box {
    position: relative;
    width: 100%;
}

.sc-search-box .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #00f0ff;
    font-size: 0.95rem;
    pointer-events: none;
}

.sc-search-input {
    width: 100%;
    padding: 12px 42px 12px 46px;
    background: rgba(8, 14, 28, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.88rem;
    font-family: inherit;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.sc-search-input:focus {
    outline: none;
    border-color: #00f0ff;
    background: rgba(12, 20, 36, 1);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.3);
}

.sc-clear-search {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.sc-clear-search:hover {
    color: #f87171;
}

/* ==========================================================================
   3. Exactly 4 Cards Per Row Grid Feed
   ========================================================================== */
.source-code-grid-scroll-wrap {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 240, 255, 0.3) rgba(6, 11, 23, 0.8);
}

.source-code-grid-scroll-wrap::-webkit-scrollbar {
    width: 6px;
}

.source-code-grid-scroll-wrap::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00f0ff, #10b981);
    border-radius: 6px;
}

.source-code-4col-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    align-items: stretch;
}

/* Single Project Card */
.sc-card {
    background: linear-gradient(145deg, rgba(8, 14, 28, 0.95) 0%, rgba(4, 7, 16, 0.98) 100%);
    border: 1px solid rgba(0, 240, 255, 0.22);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.sc-card:hover {
    transform: translateY(-5px);
    border-color: #00f0ff;
    box-shadow: 
        0 18px 40px rgba(0, 0, 0, 0.85),
        0 0 25px rgba(0, 240, 255, 0.22);
}

/* Card Image Box */
.sc-card-img-wrap {
    position: relative;
    width: 100%;
    height: 170px;
    overflow: hidden;
    background: #020617;
}

.sc-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sc-card:hover .sc-card-img {
    transform: scale(1.08);
}

.sc-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(8, 14, 28, 0.85) 100%);
}

.sc-card-num-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(0, 240, 255, 0.4);
    color: #00f0ff;
    font-family: 'Orbitron', monospace;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    backdrop-filter: blur(8px);
}

.sc-card-cat-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(16, 185, 129, 0.85);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Card Body */
.sc-card-body {
    padding: 14px 16px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.sc-card-title {
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
    letter-spacing: -0.2px;
}

.sc-card-desc {
    color: #94a3b8;
    font-size: 0.78rem;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Published Date */
.sc-card-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 600;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 4px;
}

.sc-card-date i {
    color: #38bdf8;
    font-size: 0.7rem;
}

/* View Details Action Button */
.btn-view-details {
    width: 100%;
    margin-top: 6px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
    border: 1px solid rgba(0, 240, 255, 0.4);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 9px 12px;
    border-radius: 9px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-view-details i {
    color: #00f0ff;
    font-size: 0.82rem;
    transition: transform 0.25s ease;
}

.btn-view-details:hover {
    background: linear-gradient(135deg, #00f0ff 0%, #10b981 100%);
    color: #030712;
    border-color: #00f0ff;
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.4);
}

.btn-view-details:hover i {
    color: #030712;
    transform: scale(1.15);
}

/* Custom On-Demand Architecture Card (Dynamic Search Fallback Bridge) */
.sc-custom-solution-card {
    grid-column: 1 / -1;
    margin: 20px auto 40px auto;
    max-width: 900px;
    width: 100%;
    background: linear-gradient(145deg, rgba(8, 14, 28, 0.98) 0%, rgba(4, 7, 16, 0.99) 100%);
    border: 1px solid rgba(0, 240, 255, 0.4);
    border-radius: 18px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.9),
        0 0 35px rgba(0, 240, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    padding: 36px 32px;
    text-align: center;
    animation: fadeInCustomCard 0.4s ease-out forwards;
}

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

.sc-custom-solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f0ff, #10b981, transparent);
    filter: drop-shadow(0 0 8px #00f0ff);
}

.sc-custom-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    border-radius: 6px;
    background: #000000;
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.8);
}

.sc-custom-badge i {
    color: #10b981;
}

.sc-custom-title {
    font-family: 'Orbitron', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.35;
}

.sc-custom-desc {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.65;
    max-width: 760px;
    margin: 0 auto 24px auto;
}

.sc-custom-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    max-width: 820px;
    margin: 0 auto 28px auto;
}

.sc-custom-feat-item {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e2e8f0;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: left;
    transition: all 0.25s ease;
}

.sc-custom-feat-item:hover {
    border-color: #00f0ff;
    background: rgba(15, 23, 42, 0.9);
    transform: translateY(-2px);
}

.sc-custom-feat-item i {
    color: #00f0ff;
    font-size: 1rem;
    flex-shrink: 0;
}

.sc-custom-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.sc-custom-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff !important;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    transition: all 0.3s ease;
}

.sc-custom-wa-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    filter: brightness(1.08);
}

.sc-custom-inquire-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.4);
    color: #00f0ff !important;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sc-custom-inquire-btn:hover {
    background: rgba(0, 240, 255, 0.15);
    border-color: #00f0ff;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.25);
}

/* Fallback No Results Box (Hidden by default in favor of custom solution card) */
.sc-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    color: #94a3b8;
}

/* ==========================================================================
   4. Dynamic Project Details Modal (Popups on Click)
   ========================================================================== */
.dynamic-project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.dynamic-project-modal.active,
.dynamic-project-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.dynamic-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.dynamic-modal-dialog {
    position: relative;
    width: 95vw;
    max-width: 1100px;
    height: 88vh;
    max-height: 88vh;
    background: linear-gradient(145deg, #080e1c 0%, #030712 100%);
    border: 1px solid rgba(0, 240, 255, 0.4);
    border-radius: 20px;
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.95),
        0 0 35px rgba(0, 240, 255, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95) translateY(15px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

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

.dynamic-modal-banner,
.dynamic-modal-header {
    position: relative;
    width: 100%;
    height: 220px;
    min-height: 220px;
    overflow: hidden;
    background: #020617;
    flex-shrink: 0;
}

.dynamic-banner-img,
.dynamic-modal-header-bg img,
#dyn-modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dynamic-modal-header-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.dynamic-banner-overlay,
.dynamic-modal-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(8, 14, 28, 0.95) 100%);
    pointer-events: none;
}

.dynamic-modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.25s ease;
    z-index: 10;
}

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

.dynamic-banner-content,
.dynamic-modal-header-meta {
    position: absolute;
    bottom: 16px;
    left: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.dynamic-meta-badges,
.dynamic-modal-pills-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
    flex-wrap: wrap;
}

.dynamic-num-badge,
.dynamic-pill-id {
    background: rgba(0, 240, 255, 0.2);
    border: 1px solid #00f0ff;
    color: #00f0ff;
    font-family: 'Orbitron', monospace;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
}

.dynamic-cat-badge,
.dynamic-pill-cat {
    background: rgba(16, 185, 129, 0.25);
    border: 1px solid #10b981;
    color: #34d399;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
}

.dynamic-price-badge {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    color: #34d399;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dynamic-status-badge,
.dynamic-pill-status {
    background: rgba(0, 240, 255, 0.15);
    border: 1px solid rgba(0, 240, 255, 0.4);
    color: #38bdf8;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dynamic-modal-title {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 900;
    margin: 0;
    line-height: 1.25;
}

.dynamic-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 240, 255, 0.3) rgba(6, 11, 23, 0.8);
}

.dynamic-modal-body::-webkit-scrollbar {
    width: 6px;
}

.dynamic-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00f0ff, #10b981);
    border-radius: 6px;
}

.dynamic-overview-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dynamic-slug-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #94a3b8;
    flex-wrap: wrap;
}

.dynamic-slug-pill {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.25);
    color: #38bdf8;
    padding: 2px 8px;
    border-radius: 6px;
    font-family: monospace;
}

.dynamic-seo-title {
    color: #e2e8f0;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
}

.dynamic-seo-desc {
    color: #94a3b8;
    font-size: 0.84rem;
    line-height: 1.6;
    margin: 0;
}

.dynamic-modules-headline {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dynamic-modules-headline i {
    color: #00f0ff;
}

.dynamic-modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.dynamic-module-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dynamic-module-title {
    color: #38bdf8;
    font-size: 0.86rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dynamic-module-title i {
    color: #10b981;
    font-size: 0.65rem;
}

.dynamic-module-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dynamic-module-list li {
    color: #cbd5e1;
    font-size: 0.78rem;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.dynamic-module-list li i {
    color: #10b981;
    font-size: 0.7rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.dynamic-modal-footer {
    padding: 16px 28px;
    background: rgba(6, 11, 23, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.dynamic-share-link-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 9px 14px;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.dynamic-share-link-btn:hover {
    background: rgba(0, 240, 255, 0.15);
    border-color: #00f0ff;
    color: #00f0ff;
}

.dynamic-modal-actions-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dynamic-inquire-btn {
    background: linear-gradient(135deg, #00f0ff, #0284c7);
    color: #030712;
    font-size: 0.84rem;
    font-weight: 800;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.35);
}

.dynamic-inquire-btn:hover {
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.6);
    transform: translateY(-2px);
}

.dynamic-wa-btn {
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #25d366;
    font-size: 0.84rem;
    font-weight: 800;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.dynamic-wa-btn:hover {
    background: #25d366;
    color: #030712;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   5. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
    .source-code-4col-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .source-code-4col-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .dynamic-modules-grid {
        grid-template-columns: 1fr;
    }

    .sc-hero-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 600px) {
    .source-code-4col-grid {
        grid-template-columns: 1fr;
    }

    .source-code-dialog {
        width: 98vw;
        height: 94vh;
        max-height: 94vh;
        border-radius: 16px;
    }

    .dynamic-modal-dialog {
        width: 98vw;
        height: 94vh;
        max-height: 94vh;
        border-radius: 16px;
    }

    .dynamic-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .dynamic-modal-actions-right {
        flex-direction: column;
        width: 100%;
    }

    .dynamic-inquire-btn,
    .dynamic-wa-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Standalone Source Code Page Layout
   ========================================================================== */
.source-code-standalone-page {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 160px);
    background: #000000;
    padding: 40px 24px 80px 24px;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.source-code-page-container {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.source-code-standalone-page .source-code-header {
    position: relative;
    background: #000000 !important;
    border: 1px solid rgba(0, 240, 255, 0.28);
    border-radius: 22px;
    padding: 42px 36px 36px 36px;
    margin-bottom: 42px;
    text-align: center;
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.95),
        0 0 40px rgba(0, 240, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

/* Ambient Corner Lighting (Top-Left Cyan & Bottom-Right Emerald) */
.source-code-standalone-page .source-code-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 0% 0%, rgba(0, 240, 255, 0.25) 0%, rgba(0, 240, 255, 0.08) 25%, transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(16, 185, 129, 0.25) 0%, rgba(16, 185, 129, 0.08) 25%, transparent 55%);
    pointer-events: none;
    z-index: 1;
}

/* Crisp Cyber Corner Neon Lighting Bars */
.source-code-standalone-page .source-code-header::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    border-radius: 22px;
    background: 
        /* Upper-Left Corner Light (Cyan Accent) */
        linear-gradient(90deg, #00f0ff 0%, rgba(0, 240, 255, 0.8) 40px, transparent 100px) top left / 100px 3.5px no-repeat,
        linear-gradient(180deg, #00f0ff 0%, rgba(0, 240, 255, 0.8) 40px, transparent 100px) top left / 3.5px 100px no-repeat,
        /* Lower-Right Corner Light (Emerald Accent) */
        linear-gradient(270deg, #10b981 0%, rgba(16, 185, 129, 0.8) 40px, transparent 100px) bottom right / 100px 3.5px no-repeat,
        linear-gradient(0deg, #10b981 0%, rgba(16, 185, 129, 0.8) 40px, transparent 100px) bottom right / 3.5px 100px no-repeat;
    filter: drop-shadow(-3px -3px 12px rgba(0, 240, 255, 0.9)) drop-shadow(3px 3px 12px rgba(16, 185, 129, 0.9));
}

.source-code-standalone-page .source-code-header > * {
    position: relative;
    z-index: 3;
}

.source-code-standalone-page .source-code-4col-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .source-code-standalone-page .source-code-4col-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .source-code-standalone-page .source-code-4col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .source-code-standalone-page .source-code-4col-grid {
        grid-template-columns: 1fr;
    }
}

