/* ═══════════════════════════════════════════════════════════════
   SECURITY PAGE — CSS
═══════════════════════════════════════════════════════════════ */

.sec-hero:not(.def-hero) {
    min-height: 100vh !important;
}

.ibadge {
    padding: 7px 16px;
    border: 1px solid rgba(255,255,255,0.14);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
}
.ibadge.green {
    border-color: rgba(61,180,81,0.45);
    color: #3db451;
    background: rgba(61,180,81,0.05);
}

/* ─────────────────────────────────────────────
   PRODUCT GRID
───────────────────────────────────────────── */
.products-wrap {
    background: #f5f5f5 !important;
    border-top: 1px solid #e8e8e8;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}
.pcard {
    border: none;
    background: #111;
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.pcard:hover {
    box-shadow: 0 24px 56px rgba(0,0,0,0.3);
    transform: translateY(-4px);
    z-index: 2;
}
.pcard-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto !important;
    overflow: hidden;
    position: relative;
    background: #000;
    flex-shrink: 0;
}
.pcard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    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);
}
.pcard-img-num {
    position: absolute;
    top: 14px;
    left: 16px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    z-index: 3;
    pointer-events: none;
}
.pcard-img-type {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 16px;
    background: rgba(0,0,0,0.75);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    z-index: 3;
    pointer-events: none;
}
.pcard-body {
    background: #0e1317 !important;
    padding: 26px 28px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.pcard-num  { color: #3db451 !important; }
.pcard-type { color: rgba(255,255,255,0.3) !important; }
.pcard-name {
    font-size: 22px;
    font-weight: 600;
    color: #fff !important;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin: 0 0 6px;
}
.pcard-tagline {
    color: rgba(255,255,255,0.38) !important;
    font-style: italic;
}
.pcard-apps-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28) !important;
    margin-bottom: 8px;
}
.pcard-apps-list { display: flex; flex-wrap: wrap; gap: 5px; }
.pcard-app {
    background: rgba(255,255,255,0.07) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.52) !important;
}
.pcard:hover .pcard-app {
    background: rgba(61,180,81,0.12) !important;
    border-color: rgba(61,180,81,0.3) !important;
    color: #3db451 !important;
}
.pcard-specs { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.pcard-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.38) !important;
}
.pcard-spec::before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #3db451;
    flex-shrink: 0;
}
.pcard-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.22) !important;
    transition: color 0.25s;
}
.pcard:hover .pcard-link { color: #3db451 !important; }
.pcard-link-arrow { font-size: 18px; transition: transform 0.25s; }
.pcard:hover .pcard-link-arrow { transform: translateX(6px); }

/* ─────────────────────────────────────────────
   HOW X-RAY WORKS
───────────────────────────────────────────── */
.how-section { background: #0e1318; overflow: hidden; }

.how-header {
    background: #0e1318;
    padding: 100px 0 80px;
}
.how-header-inner {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 80px;
    align-items: end;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}
.how-header-intro {
    font-size: 16px;
    font-weight: 300;
    color: rgba(255,255,255,0.42);
    line-height: 1.8;
    margin: 0;
}

.how-row {
    width: 100%;
    display: flex;
    justify-content: center;
}

.how-row-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 680px;
    max-width: 1400px;
    width: 100%;
    align-items: stretch;
}

/* KARANLIK ROWLAR — Row 1 ve Row 3 */
/* görsel sol (order:1), metin sağ (order:2) */
.how-row--dark { background: #000; }
.how-row--dark .how-row-media {
    background: #000;
    order: 1;
}
.how-row--dark .how-row-text {
    background: #000;
    order: 2;
}
.how-row--dark .how-row-num { color: #3db451; }
.how-row--dark .how-row-text h3 { color: #fff; }
.how-row--dark .how-row-text p { color: rgba(255,255,255,0.52); }
.how-row--dark .how-list li { color: rgba(255,255,255,0.808); }
.how-row--dark .how-row-caption { background: rgba(0,0,0,0.82); color: rgba(255,255,255,0.35); }

/* AÇIK ROW — Row 2 */
/* metin sol (order:1), görsel sağ (order:2) */
.how-row--light { background: #f7f8fa; }
.how-row--light .how-row-text {
    background: #f7f8fa;
    order: 1;
}
.how-row--light .how-row-media {
    background: #f0f1f3;
    order: 2;
}
.how-row--light .how-row-num { color: #2a9040; }
.how-row--light .how-row-text h3 { color: #0a0a0a; }
.how-row--light .how-row-text p { color: rgba(0,0,0,0.55); }
.how-row--light .how-list li { color: rgba(0,0,0,0.7); }
.how-row--light .how-row-caption { background: rgba(0,0,0,0.65); color: rgba(255,255,255,0.35); }

.how-row-text {
    padding: 80px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
}
.how-row-media {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    align-self: stretch;
}
.how-row-inner {
    max-width: 560px;
    width: 100%;
}
.how-row-num {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 16px;
    text-transform: uppercase;
    display: block;
}
.how-row-text h3 {
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin: 0 0 20px;
}
.how-row-text p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.85;
    margin: 0 0 12px;
}
.how-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.how-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}
.how-list li::before {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #3db451;
    flex-shrink: 0;
    margin-top: 8px;
}
.how-row-media img {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75) saturate(0.6);
    transition: transform 0.5s ease, filter 0.4s ease;
    display: block;
}
.how-row:hover .how-row-media img {
    transform: scale(1.03);
    filter: brightness(0.88) saturate(0.7);
}
.how-row-caption {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    padding: 7px 14px;
    font-size: 10px;
    letter-spacing: 0.3px;
    z-index: 2;
    border-radius: 2px;
}

/* ─────────────────────────────────────────────
   VIDEO ROW
───────────────────────────────────────────── */
.how-video-row {
    background: #f5f5f5 !important;
    border-top: 1px solid #e8e8e8;
}
.how-video-text .how-tag { color: #3db451; }
.how-video-text h3 { color: #0b0b0b !important; }
.how-video-text p { color: #666 !important; }

/* ─────────────────────────────────────────────
   CORE TECHNOLOGIES
───────────────────────────────────────────── */
.tech-section {
    border-top: 1px solid rgba(255,255,255,0.06);
}
.tech-bg-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.6) 0%,
        rgba(0,0,0,0.4) 50%,
        rgba(0,0,0,0.8) 100%
    ) !important;
}

/* ─────────────────────────────────────────────
   FINAL CTA
───────────────────────────────────────────── */
.final-cta {
    background: #000000 !important;
  
}
.final-cta h2   { color: #ffffff !important; }
.final-cta h2 em { color: #3db451 !important; }
.final-cta p    { color: #777 !important; }
.final-cta::before {
    background: radial-gradient(
        ellipse 50% 60% at 50% 100%,
        rgba(61,180,81,0.07) 0%,
        transparent 70%
    ) !important;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .how-header-inner { grid-template-columns: 1fr; gap: 36px; }
    .how-row-wrap { grid-template-columns: 1fr; min-height: auto; }
    .how-row-text { order: 2 !important; padding: 52px 40px; }
    .how-row-media { order: 1 !important; min-height: 360px; }
    .how-row-caption { left: 24px; right: 24px; bottom: 16px; }
    .how-video-inner { grid-template-columns: 1fr; gap: 44px; }
    .tech-cards-row { grid-template-columns: repeat(2, 1fr); }
    .tech-card { border-bottom: 1px solid rgba(255,255,255,0.08) !important; }
    .products-wrap-header { 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; }
    .how-header-inner { padding-left: 24px; padding-right: 24px; }
    .how-row-text { padding: 44px 24px; }
    .how-row-media { min-height: 260px; }
    .how-row-caption { left: 16px; right: 16px; bottom: 12px; }
    .tech-cards-row { grid-template-columns: 1fr; }
    .tech-card { border-right: none !important; }
    .final-cta-btns { flex-direction: column; }
    .final-cta-btns a { text-align: center; width: 100%; }
    .sec-hero {
        min-height: 70vh !important;
        max-height: 60vh !important;
        height: 60vh !important;
    }
}