/* ============================================================
   SHINEING DIGITAL - PORTFOLIO SHOWCASE
   Theme: Signature Off-White Dot Grid (#f7f5f0) & Dark Navy (#0f172a) + Mint Green Accents (#059669 / #9de4d2)
   ============================================================ */

:root {
    --pf-mint: #059669;
    --pf-mint-light: rgba(5, 150, 105, 0.1);
    --pf-mint-btn: linear-gradient(135deg, #9de4d2 0%, #64d1b7 100%);
    --pf-bg-offwhite: #f7f5f0;
    --pf-card-bg: #ffffff;
    --pf-card-border: #e2e8f0;
    --pf-dark: #0f172a;
    --pf-text-body: #475569;
    --pf-text-muted: #64748b;
    --pf-shadow-sm: 0 10px 25px rgba(0, 0, 0, 0.03);
    --pf-shadow-hover: 0 20px 45px rgba(0, 0, 0, 0.08), 0 0 25px rgba(5, 150, 105, 0.12);
    --pf-radius-lg: 20px;
    --pf-transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-page {
    background-color: var(--pf-bg-offwhite);
    background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    color: var(--pf-dark);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
}

/* HERO SECTION */
.pf-vanguard-hero {
    position: relative;
    padding: 100px 0 65px;
    background: linear-gradient(135deg, #05131f 0%, #081926 50%, #0a2236 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.pf-vanguard-glow {
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 450px;
    background: radial-gradient(ellipse at center, rgba(157, 228, 210, 0.18) 0%, rgba(5, 19, 31, 0) 70%);
    filter: blur(60px);
    pointer-events: none;
}

.pf-vanguard-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    border-radius: 999px;
    background: rgba(157, 228, 210, 0.1);
    border: 1px solid rgba(157, 228, 210, 0.3);
    color: #9de4d2;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 22px;
    box-shadow: 0 4px 20px rgba(157, 228, 210, 0.15);
}

.pf-badge-beacon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9de4d2;
    box-shadow: 0 0 10px #9de4d2;
    animation: beaconPulse 2s infinite;
}

@keyframes beaconPulse {
    0% { box-shadow: 0 0 0 0 rgba(157, 228, 210, 0.8); }
    70% { box-shadow: 0 0 0 10px rgba(157, 228, 210, 0); }
    100% { box-shadow: 0 0 0 0 rgba(157, 228, 210, 0); }
}

.pf-vanguard-title {
    font-size: clamp(36px, 4.8vw, 58px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 20px;
}

.pf-title-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #9de4d2 60%, #64d1b7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 20px rgba(157, 228, 210, 0.3));
}

.pf-vanguard-lead {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 760px;
    margin: 0 auto 38px;
    line-height: 1.65;
}

/* STATS METRIC BAR */
.pf-vanguard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1040px;
    margin: 0 auto;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--pf-radius-lg);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.pf-stat-cell {
    text-align: center;
    position: relative;
}

.pf-stat-cell:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.pf-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #9de4d2;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.pf-stat-label {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 4px;
}

/* CLIENT LOGOS MARQUEE */
.pf-marquee-section {
    padding: 30px 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
}

.pf-marquee-title {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pf-text-muted);
    margin-bottom: 18px;
}

.pf-marquee-track {
    display: flex;
    align-items: center;
    gap: 24px;
    width: max-content;
    animation: marqueeScroll 25s linear infinite;
}

.pf-marquee-track:hover {
    animation-play-state: paused;
}

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

.pf-logo-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: var(--pf-dark);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: var(--pf-transition);
}

.pf-logo-chip:hover {
    background: #e6f7f3;
    border-color: #059669;
    color: #059669;
}

/* MAIN SHOWCASE SECTION (OFF-WHITE DOT GRID) */
.pf-showcase-section {
    padding: 60px 0 80px;
    background-color: var(--pf-bg-offwhite);
    background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* SEARCH & FILTER CONTROLS */
.pf-controls-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 45px;
}

.pf-search-box {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.pf-search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #059669;
    font-size: 18px;
}

.pf-search-input {
    width: 100%;
    padding: 13px 20px 13px 48px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    color: var(--pf-dark);
    font-size: 14px;
    outline: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: var(--pf-transition);
}

.pf-search-input:focus {
    border-color: #059669;
    box-shadow: 0 0 20px rgba(5, 150, 105, 0.15);
}

.pf-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.pf-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--pf-text-body);
    background: #ffffff;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    transition: var(--pf-transition);
}

.pf-tab-btn i {
    font-size: 15px;
    color: var(--pf-text-muted);
}

.pf-tab-btn.active,
.pf-tab-btn:hover {
    background: #081926;
    color: #9de4d2;
    border-color: #081926;
    box-shadow: 0 6px 20px rgba(8, 25, 38, 0.25);
}

.pf-tab-btn.active i,
.pf-tab-btn:hover i {
    color: #9de4d2;
}

/* PORTFOLIO GRID & EQUAL HEIGHT CARDS */
.webportfolio_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    align-items: stretch;
}

.webportfolio_box {
    background: var(--pf-card-bg);
    border: 1px solid var(--pf-card-border);
    border-radius: var(--pf-radius-lg);
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: var(--pf-shadow-sm);
    transition: var(--pf-transition);
    position: relative;
    overflow: hidden;
}

.webportfolio_box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #059669 0%, #10b981 100%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.webportfolio_box:hover {
    transform: translateY(-6px);
    box-shadow: var(--pf-shadow-hover);
    border-color: #cbd5e1;
}

.webportfolio_header_tags {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 16px;
}

.weblogo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    color: var(--pf-dark);
}

.weblogo-badge i {
    color: #059669;
    font-size: 15px;
}

.pf-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #047857;
    font-weight: 700;
    background: #e6f7f3;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(5, 150, 105, 0.25);
}

.pf-live-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #059669;
    box-shadow: 0 0 6px #059669;
}

.webportfolio_content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.webportfolio_content h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--pf-dark);
    margin-bottom: 10px;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.webportfolio_content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--pf-text-body);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pf-impact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.pf-impact-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 11px;
    background: rgba(5, 150, 105, 0.1);
    color: #047857;
    border: 1px solid rgba(5, 150, 105, 0.25);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.webportfolio_tech_stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.webportfolio_tech_badge {
    padding: 3px 9px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}

/* COMPACT & ELEGANT BROWSER MOCKUP */
.webportfolio_img {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid #1e293b;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.pf-mockup-frame {
    width: 100%;
}

.pf-frame-header {
    height: 30px;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pf-frame-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pf-frame-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.pf-frame-dot.red { background: #ef4444; }
.pf-frame-dot.yellow { background: #f59e0b; }
.pf-frame-dot.green { background: #10b981; }

.pf-frame-url-bar {
    background: #0f172a;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    color: #94a3b8;
    font-family: monospace;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pf-frame-url-bar i {
    color: #10b981;
}

.pf-frame-body {
    padding: 22px 16px;
    background: radial-gradient(circle at 50% 40%, rgba(5, 150, 105, 0.15) 0%, rgba(15, 23, 42, 0.96) 85%);
    color: #ffffff;
    text-align: center;
}

.pf-frame-icon-ring {
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
    border-radius: 14px;
    background: rgba(5, 150, 105, 0.2);
    border: 1px solid rgba(5, 150, 105, 0.4);
    display: grid;
    place-items: center;
}

.pf-frame-icon-ring i {
    font-size: 22px;
    color: #9de4d2;
}

.pf-frame-body h4 {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
}

.pf-frame-body span.status {
    font-size: 11px;
    color: #94a3b8;
    display: block;
    margin-bottom: 10px;
}

.pf-frame-pills {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.pf-frame-pills span {
    padding: 2px 9px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 10px;
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* BUTTON ACTION */
.webportfolio_footer_action {
    width: 100%;
    margin-top: auto;
}

.go_website {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    background: var(--pf-mint-btn);
    color: #081926;
    font-weight: 800;
    font-size: 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--pf-transition);
}

.go_website:hover {
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.35);
    transform: translateY(-2px);
    color: #081926;
}

/* CONSULTATION BANNER CTA */
.pf-cta-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #05131f 0%, #081926 50%, #0a2236 100%);
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pf-cta-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(157, 228, 210, 0.3);
    border-radius: var(--pf-radius-lg);
    padding: 50px 30px;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.pf-cta-box h2 {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.pf-cta-box p {
    font-size: 16px;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 26px;
}

.pf-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    background: var(--pf-mint-btn);
    color: #081926;
    font-size: 15px;
    font-weight: 800;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(157, 228, 210, 0.35);
    transition: var(--pf-transition);
}

.pf-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(157, 228, 210, 0.5);
    color: #081926;
}

/* SIDE SPACING (LEFT & RIGHT CONTAINER PADDING) */
.portfolio-page .site-container,
.portfolio-page .pf-container {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
    .webportfolio_container {
        grid-template-columns: 1fr;
    }
    .pf-vanguard-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .pf-stat-cell:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .portfolio-page .site-container,
    .portfolio-page .pf-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 640px) {
    .pf-vanguard-stats {
        grid-template-columns: 1fr;
    }
    .pf-vanguard-title {
        font-size: 30px;
    }
    .webportfolio_box {
        padding: 22px 18px;
    }
}