/* ═══════════════════════════════════════════════════════
   DEFENCE-PCARD.CSS
  
═══════════════════════════════════════════════════════ */



/* ── Products wrap — ── */
.products-wrap {
    background: #f5f5f5 !important;
    border-top: 1px solid #e8e8e8;
    padding: 64px 0 80px;
}

/* ── Product grid ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

/* ── Card base — dark like security ── */
.pcard {
    border: none !important;
    background: #111 !important;
    transition: box-shadow 0.35s ease, transform 0.35s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    position: relative;
}

.pcard:hover {
    box-shadow: 0 24px 56px rgba(0,0,0,0.3) !important;
    transform: translateY(-4px);
    z-index: 2;
}

.pcard::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #3db451;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    z-index: 5;
}

.pcard:hover::before {
    transform: scaleX(1);
}

/* ── Image area ── */
.pcard-img {
    width: 100%;
    height: 240px !important;
    overflow: hidden;
    position: relative;
    background: #000;
    flex-shrink: 0;
}

.pcard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.72) contrast(1.1) saturate(0.6);
    transition: transform 0.55s ease, filter 0.4s ease;
    display: block;
}

.pcard:hover .pcard-img img {
    transform: scale(1.05);
    filter: brightness(0.88) contrast(1.05) saturate(0.75);
}

/* ── Card body — full black ── */
.pcard-body {
    background: #111 !important;
    padding: 26px 28px 22px !important;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ── Typography ── */
.pcard-num {
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 3px !important;
    color: #3db451 !important;
    margin-bottom: 6px !important;
    text-transform: uppercase;
}

.pcard-type {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3) !important;
    margin-bottom: 10px !important;
}

.pcard-name {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #fff !important;
    letter-spacing: -0.5px !important;
    line-height: 1.1 !important;
    margin: 0 0 8px !important;
}

.pcard-desc {
    font-size: 14px !important;
    color: rgba(255,255,255,0.42) !important;
    line-height: 1.7 !important;
    margin-bottom: 16px !important;
}

/* ── Spec table — dark themed ── */
.pcard-spec-table {
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 18px !important;
    background: #0a0a0a;
}

.pst-row {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
}

.pst-row:last-child {
    border-bottom: none !important;
}

.pst-key {
    flex: 1.2;
    padding: 8px 12px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,0.28) !important;
    background: rgba(255,255,255,0.03) !important;
    border-right: 1px solid rgba(255,255,255,0.07) !important;
    letter-spacing: 0.3px;
}

.pst-val {
    flex: 2;
    padding: 8px 12px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.6) !important;
    background: transparent !important;
}

/* ── Application tags ── */
.pcard-apps {
    margin-bottom: 16px;
    flex: 1;
}

.pcard-apps-label {
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25) !important;
    margin-bottom: 8px !important;
}

.pcard-apps-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.pcard-app {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.48) !important;
    padding: 4px 10px !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    letter-spacing: 0.2px;
    transition: all 0.25s;
}

.pcard:hover .pcard-app {
    background: rgba(61,180,81,0.12) !important;
    border-color: rgba(61,180,81,0.3) !important;
    color: #3db451 !important;
}

/* ── Enquire link ── */
.pcard-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.22) !important;
    transition: color 0.25s !important;
    margin-top: auto;
}

.pcard:hover .pcard-link {
    color: #3db451 !important;
}

.pcard-link-arrow {
    font-size: 18px;
    transition: transform 0.25s ease;
}

.pcard:hover .pcard-link-arrow {
    transform: translateX(6px);
}

/* ── Featured badge ── */
.pcard-featured {
    position: relative;
    border-top: 2px solid #3db451 !important;
}

.pcard-featured-badge {
    position: absolute;
    top: 0; right: 0;
    background: #3db451;
    color: #000;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 12px;
    z-index: 5;
}

/* ── Filter tabs ── */
.product-filter-tabs {
    display: flex;
    gap: 8px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.pf-tab {
    padding: 9px 20px;
    background: #e8e8e8;
    border: 1px solid #d0d0d0;
    border-radius: 2px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pf-tab:hover {
    border-color: #3db451;
    color: #3db451;
}

.pf-tab.active {
    background: #111;
    border-color: #111;
    color: #fff;
}

.pcard.hidden {
    display: none;
}

/* ── products-wrap header ── */
.products-wrap-header {
    max-width: 1400px;
    margin: 0 auto 48px;
    padding: 0 80px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.products-wrap-header h2 {
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 800;
    color: #000;
    line-height: 1.05;
    letter-spacing: -1px;
}

.products-wrap-header p {
    font-size: 15px;
    font-weight: 400;
    color: #666;
    max-width: 320px;
    text-align: right;
    line-height: 1.65;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .product-grid {
        padding: 0 40px 60px;
    }
    .products-wrap-header {
        padding: 0 40px;
        flex-direction: column;
        align-items: flex-start;
    }
    .products-wrap-header p {
        text-align: left;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        padding: 0 24px 40px;
        gap: 16px;
    }
    .products-wrap-header {
        padding: 0 24px;
        margin-bottom: 32px;
    }
    .products-wrap {
        padding: 48px 0 60px !important;
    }
    .pf-tab {
        font-size: 12px;
        padding: 8px 14px;
        flex: 1 1 calc(50% - 6px);
        text-align: center;
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    .pcard-img {
        height: 200px !important;
    }
    .pcard-featured-badge {
        font-size: 9px;
        padding: 4px 10px;
    }
    .pst-row {
        flex-direction: column;
    }
    .pst-key {
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.07) !important;
        flex: none;
    }
    .pst-val {
        flex: none;
    }
}
/* ═══════════════════════════════════════
   DEFENCE HERO — LENS EFFECT
═══════════════════════════════════════ */

.def-hero-lens {
    position: absolute;
    top: 50%; left: 75%;
    transform: translate(-50%, -50%);
    width: min(520px, 45vw);
    height: min(520px, 45vw);
    z-index: 3;
    pointer-events: none;
}

.def-lens-glow {
    position: absolute; inset: 0; border-radius: 50%;
    background: radial-gradient(circle, rgba(61,180,81,0.1) 0%, transparent 68%);
    animation: dlGlow 3s ease-in-out infinite;
}

/* Crosshair çizgiler */
.def-lens-ch-h {
    position: absolute; left: 0; right: 0; top: 50%; height: 1px;
    background: rgba(61,180,81,0.18);
}
.def-lens-ch-v {
    position: absolute; top: 0; bottom: 0; left: 50%; width: 1px;
    background: rgba(61,180,81,0.18);
}

/* Crosshair tick uçları */
.def-lens-ch-h::before,
.def-lens-ch-h::after {
    content: ''; position: absolute;
    width: 1px; height: 8px; top: -4px;
    background: rgba(61,180,81,0.5);
}
.def-lens-ch-h::before { left: 0; }
.def-lens-ch-h::after  { right: 0; }

.def-lens-ch-v::before,
.def-lens-ch-v::after {
    content: ''; position: absolute;
    height: 1px; width: 8px; left: -4px;
    background: rgba(61,180,81,0.5);
}
.def-lens-ch-v::before { top: 0; }
.def-lens-ch-v::after  { bottom: 0; }

/* Halkalar */
.def-lens-ring {
    position: absolute; border-radius: 50%;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
}
.def-lens-ring-1 {
    width: 88%; height: 88%;
    border: 1px solid rgba(61,180,81,0.12);
    animation: dlR1 6s ease-in-out infinite;
}
.def-lens-ring-2 {
    width: 65%; height: 65%;
    border: 1px solid rgba(61,180,81,0.22);
    animation: dlR2 4.5s ease-in-out infinite;
}
.def-lens-ring-3 {
    width: 40%; height: 40%;
    border: 1px solid rgba(61,180,81,0.30);
    animation: dlR3 3s ease-in-out infinite;
}

/* Köşe braketler — ring-1 üst iki köşe */
.def-lens-ring-1::before,
.def-lens-ring-1::after {
    content: ''; position: absolute;
    width: 14px; height: 14px;
}
.def-lens-ring-1::before {
    top: 8%; left: 8%;
    border-top: 1.5px solid rgba(61,180,81,0.5);
    border-left: 1.5px solid rgba(61,180,81,0.5);
}
.def-lens-ring-1::after {
    top: 8%; right: 8%;
    border-top: 1.5px solid rgba(61,180,81,0.5);
    border-right: 1.5px solid rgba(61,180,81,0.5);
}

/* Köşe braketler — ring-2 alt iki köşe */
.def-lens-ring-2::before,
.def-lens-ring-2::after {
    content: ''; position: absolute;
    width: 12px; height: 12px;
}
.def-lens-ring-2::before {
    bottom: 8%; left: 8%;
    border-bottom: 1.5px solid rgba(61,180,81,0.5);
    border-left: 1.5px solid rgba(61,180,81,0.5);
}
.def-lens-ring-2::after {
    bottom: 8%; right: 8%;
    border-bottom: 1.5px solid rgba(61,180,81,0.5);
    border-right: 1.5px solid rgba(61,180,81,0.5);
}

/* Dönen sweep — daha ince */
.def-lens-sweep {
    position: absolute; left: 50%; top: 50%;
    width: 65%; height: 65%; border-radius: 50%;
    transform: translate(-50%, -50%);
    background: conic-gradient(from 0deg,
        rgba(61,180,81,0.00) 0deg,
        rgba(61,180,81,0.00) 330deg,
        rgba(61,180,81,0.06) 350deg,
        rgba(61,180,81,0.20) 360deg);
    animation: dlSpin 4s linear infinite;
}

/* Merkez nokta */
.def-lens-dot {
    position: absolute; left: 50%; top: 50%;
    width: 8px; height: 8px; border-radius: 50%;
    background: #3db451;
    transform: translate(-50%, -50%);
    animation: dlDot 2s ease-in-out infinite;
}

/* HUD yazı etiketleri */
.def-lens-label {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(61,180,81,0.45);
    white-space: nowrap;
}
.def-lens-tl { top: 6%;    left: 8%; }
.def-lens-tr { top: 6%;    right: 8%; }
.def-lens-bl { bottom: 6%; left: 8%; }
.def-lens-br { bottom: 6%; right: 8%; }

/* Keyframes */
@keyframes dlGlow {
    0%,100% { opacity: 0.8; }
    50%     { opacity: 0.3; }
}
@keyframes dlR1 {
    0%,100% { width:88%; height:88%; opacity:0.5; }
    50%     { width:95%; height:95%; opacity:0.15; }
}
@keyframes dlR2 {
    0%,100% { width:65%; height:65%; opacity:0.7; }
    50%     { width:71%; height:71%; opacity:0.2; }
}
@keyframes dlR3 {
    0%,100% { width:40%; height:40%; opacity:0.9; }
    50%     { width:45%; height:45%; opacity:0.25; }
}
@keyframes dlSpin {
    from { transform: translate(-50%,-50%) rotate(0deg); }
    to   { transform: translate(-50%,-50%) rotate(360deg); }
}
@keyframes dlDot {
    0%,100% { width:8px; height:8px; opacity:1; box-shadow:0 0 6px rgba(61,180,81,0.8); }
    50%     { width:5px; height:5px; opacity:0.4; box-shadow:none; }
}

@media (max-width: 1024px) {
    .def-hero-lens { left:50%; width:min(380px,70vw); height:min(380px,70vw); opacity:0.5; }
}
@media (max-width: 768px) {
    .def-hero-lens { display: none; }
}