/* ============================================================
   NCrypted.net - Phase 1 baseline design (OWN language, v0.1)
   Distinct from ncrypted.com (ink + amber product-hub look)
   ============================================================ */

:root {
    --net-ink: #14171c;
    --net-ink-2: #1e242c;
    --net-paper: #ffffff;
    --net-bg-soft: #f5f6f8;
    --net-line: #e4e7ec;
    --net-text: #232a33;
    --net-muted: #5b6472;
    --net-accent: #1d86c9;
    --net-accent-2: #f59e0b;
    --net-accent-3: #ea580c;
    --net-accent-ink: #14171c;
    --net-radius: 10px;
    --net-shadow: 0 6px 24px rgba(20, 23, 28, 0.08);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--net-text);
    background: var(--net-paper);
}

/* ---------- Base ---------- */
html, body { overflow-x: clip; }

/* ---------- Header / Nav ---------- */
.net-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--net-paper);
    border-bottom: 1px solid var(--net-line);
}

.net-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.net-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.net-logo-img { height: 42px; width: auto; display: block; }

.net-footer .footer-logo-img { height: 38px; width: auto; }

.net-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--net-ink);
    color: var(--net-accent);
    font-weight: 800;
    font-size: 22px;
}

.net-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: 0.4px;
    color: var(--net-ink);
    text-transform: uppercase;
}

.net-logo-text em {
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 2.2px;
    color: var(--net-accent-2);
    text-transform: uppercase;
}

.net-logo-light .net-logo-text { color: #fff; }
.net-logo-light .net-logo-mark { background: var(--net-accent); color: var(--net-ink); }

.net-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.net-menu-item { position: relative; }

.net-menu-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--net-ink);
    text-decoration: none;
    border-radius: 6px;
}

.net-menu-link:hover,
.net-menu-link.is-open { color: var(--net-accent); }

.net-caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    transition: transform 0.15s ease;
}

.net-menu-link.is-open .net-caret { transform: rotate(180deg); }

.net-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    margin: 6px 0 0;
    padding: 8px;
    list-style: none;
    background: var(--net-paper);
    border: 1px solid var(--net-line);
    border-radius: var(--net-radius);
    box-shadow: var(--net-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
    z-index: 1050;
}

.net-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.net-dropdown a {
    display: block;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--net-text);
    text-decoration: none;
    border-radius: 6px;
}

.net-dropdown a:hover {
    background: var(--net-bg-soft);
    color: var(--net-accent);
}

.net-header-cta { flex-shrink: 0; }

.net-btn {
    display: inline-block;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.net-btn-accent {
    background: var(--net-accent-2);
    color: var(--net-accent-ink);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.net-btn-accent:hover {
    background: var(--net-accent-3);
    color: #fff;
    transform: translateY(-1px);
}

.net-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
}

.net-nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--net-ink);
    border-radius: 2px;
}

@media (max-width: 991.98px) {
    .net-nav-toggle { display: flex; }
    .net-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--net-paper);
        border-top: 1px solid var(--net-line);
        border-bottom: 1px solid var(--net-line);
        box-shadow: var(--net-shadow);
        padding: 12px 16px 20px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    .net-menu.is-open { display: flex; }
    .net-dropdown {
        position: static;
        box-shadow: none;
        border: 0;
        padding-left: 18px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
    .net-dropdown.is-open { display: block; }
}

/* ---------- Footer ---------- */
.net-footer {
    background: var(--net-ink);
    color: #cfd5dd;
}

.net-footer .footer-heading {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.net-footer .footer-links a {
    color: #aab3bf;
    text-decoration: none;
    font-size: 15px;
    line-height: 2.3;
}

.net-footer .footer-heading {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.net-footer .footer-links a:hover { color: var(--net-accent); }

.net-footer .footer-desc { color: #aab3bf; font-size: 15px; line-height: 1.75; }

.net-footer .copyright-text { color: #8b94a1; font-size: 14px; }

.net-footer .legal-links a { color: #aab3bf; text-decoration: none; font-size: 14px; }
.net-footer .legal-links a:hover { color: var(--net-accent); }

.net-footer .social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 18px;
}

.net-footer .social-btn:hover { background: var(--net-accent); color: var(--net-ink); }

/* ---------- Base type helpers ---------- */
h1, h2, h3, h4, h5, h6 { color: var(--net-ink); font-weight: 800; }

/* ---------- Cookie bar overrides (larger + no footer overlap) ---------- */
.nct-cookie-bar {
    font-size: 15px !important;
    line-height: 1.6 !important;
    padding: 16px 20px !important;
    max-width: 640px !important;
    left: 50% !important;
    right: auto !important;
    bottom: 18px !important;
    transform: translate(-50%, 110%) !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35) !important;
    z-index: 2000 !important;
}
.nct-cookie-bar.is-visible {
    transform: translate(-50%, 0) !important;
}
.nct-cookie-bar-msg { font-size: 15px !important; }
.nct-cookie-btn {
    font-size: 14px !important;
    padding: 10px 18px !important;
    border-radius: 999px !important;
}
.nct-cookie-link { font-size: 14px !important; }
body:has(.nct-cookie-bar.is-visible) .net-footer { padding-bottom: 150px; }
body:has(.nct-cookie-bar.is-visible) { padding-bottom: 0; }

/* Keep the RFP modal within the viewport (scrolls internally) */
.nct-rfp-box {
    max-height: calc(100vh - 48px);
    overflow-y: auto;
}

/* Testimonials - static grid, no scroll */
.net-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
@media (max-width: 768px) { .net-testi-grid { grid-template-columns: 1fr; } }
/* Trusted By - logo images */
.net-trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; align-items: center; padding: 0; margin: 0; list-style: none; }
.net-trust-row li { display: flex; align-items: center; }
.net-trust-row img { max-height: 32px; width: auto; filter: grayscale(1) brightness(1.5); opacity: 0.8; }
.net-trust-row img:hover { filter: none; opacity: 1; }

/* Video testimonials row */
.net-testi-video-row { display: flex; gap: 24px; justify-content: center; max-width: 800px; margin: 0 auto 32px; }
@media (max-width: 640px) { .net-testi-video-row { flex-direction: column; align-items: center; } }
.net-testi-video { flex: 1; max-width: 380px; }
.net-vid-thumb { position: relative; cursor: pointer; border-radius: 8px; overflow: hidden; }
.net-vid-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* ---------- Footer bottom bar - keep copyright + legal on ONE line (Aug 25 2026) ---------- */
@media (min-width: 992px) {
    .net-footer .justify-content-between { flex-wrap: nowrap !important; }
    .net-footer .copyright-text {
        white-space: nowrap !important;
        font-size: 13px;
        line-height: 1.4;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-right: 24px;
    }
    .net-footer .legal-links {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        padding-left: 8px;
    }
}

/* ---------- Trusted By logos - uniform box normalization (Aug 25 2026) ---------- */
.net-trust-row li {
    width: 76px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.net-trust-row img {
    max-width: 100%;
    max-height: 32px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1) brightness(1.5);
    opacity: 0.8;
}



/* ============================================================
   Phase-4 clone template additions (Sep 8 2026, Kunal round-3)
   Scoped classes only - no changes to existing rules.
   ============================================================ */

/* ---------- Bigger logo grid (live good-company-logos pattern) ---------- */
.net-logo-grid { position: relative; width: 100%; border: 1px solid #e0e0e0; border-radius: 6px; padding: 24px 16px 10px; background: #fff; }
.net-logo-grid-head { text-align: center; font-size: 17px; color: #333; font-weight: 500; line-height: 24px; margin: -8px auto 14px; }
.net-logo-grid ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; padding: 0; margin: 0; list-style: none; }
.net-logo-grid ul li { display: flex; align-items: center; justify-content: center; width: 16.66%; height: 66px; padding: 6px; box-sizing: border-box; }
.net-logo-grid ul li img { max-height: 52px; max-width: 90%; width: auto; height: auto; object-fit: contain; filter: grayscale(100%); opacity: 0.85; transition: filter .2s ease, opacity .2s ease; display: block; margin: 0 auto; }
.net-logo-grid ul li:hover img { filter: none; opacity: 1; }
@media (max-width: 991px) { .net-logo-grid ul li { width: 25%; } }
@media (max-width: 640px) { .net-logo-grid ul li { width: 33.33%; height: 52px; } .net-logo-grid ul li img { max-height: 34px; } }
@media (max-width: 420px) { .net-logo-grid ul li { width: 50%; } }

/* ---------- Rich review band (full width dark, live clients-speak style) ---------- */
.net-reviews { padding: 64px 0 40px; background: linear-gradient(135deg,#10141a 0%,#1c232d 55%,#232c38 100%); width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding-left: calc(50vw - 50% + 20px); padding-right: calc(50vw - 50% + 20px); box-sizing: border-box; }
.net-reviews .net-sec-head h2 { color: #fff; }
.net-reviews .net-sec-head p { color: rgba(255,255,255,0.72); }
.net-reviews .net-sec-head p a { color: #fff; text-decoration: underline; }
.net-reviews-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.net-review-card { background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.18); padding: 26px 24px 22px; width: calc(50% - 14px); box-sizing: border-box; display: flex; flex-direction: column; }
.net-review-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.net-review-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.net-review-photo-wrap { position: relative; flex: 0 0 auto; width: 72px; height: 72px; }
.net-review-photo-wrap .net-review-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: block; }
.net-review-play { position: absolute; right: -4px; bottom: -4px; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,0.72); border: 2px solid #fff; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; font-size: 12px; line-height: 1; transition: background 0.15s ease; }
.net-review-play:hover { background: var(--net-accent-2, #f59e0b); color: #10141a; }
.net-review-id { line-height: 1.35; }
.net-review-name { font-weight: 700; font-size: 16px; color: var(--net-ink); display: block; }
.net-review-role { font-size: 13.5px; color: var(--net-muted); display: block; }
.net-review-stars { color: #FFBE26; font-size: 15px; letter-spacing: 2px; margin: 2px 0 0; display: block; }
.net-review-stars .rv { color: #FFBE26; }
.net-review-stars .rv-off { color: #d8d8d8; }
.net-review-quote { font-style: italic; font-size: 15.5px; line-height: 1.65; color: #3a3f47; margin: 0 0 8px; flex: 1; }
.net-review-quote q::before { content: "\201C"; } .net-review-quote q::after { content: "\201D"; }
.net-review-meta { font-size: 13.5px; color: #777; }
.net-review-meta a { color: var(--net-accent); text-decoration: none; }
.net-review-meta a:hover { text-decoration: underline; }
@media (max-width: 860px) { .net-review-card { width: 100%; } }
.net-review-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 26px auto 0; padding: 0 20px; }
.net-review-mini { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; padding: 14px 16px; width: calc(20% - 14px); min-width: 150px; box-sizing: border-box; }
.net-review-mini .net-review-stars { margin-bottom: 6px; }
.net-review-mini blockquote { font-style: italic; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.85); margin: 0 0 8px; }
.net-review-mini cite { display: block; font-style: normal; font-size: 12.5px; color: rgba(255,255,255,0.65); line-height: 1.4; }
.net-review-mini cite strong { color: #fff; display: block; }
@media (max-width: 991px) { .net-review-mini { width: calc(33.33% - 14px); } }
@media (max-width: 640px) { .net-review-mini { width: calc(50% - 14px); } }

/* ---------- Expert / team bio (EEAT) ---------- */
.net-expert { display: flex; gap: 26px; align-items: flex-start; max-width: 860px; margin: 0 auto; text-align: left; background: var(--net-bg-soft); border: 1px solid #e6e6e6; border-radius: 12px; padding: 26px; }
.net-expert-photo { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,0.14); }
.net-expert-body { line-height: 1.6; }
.net-expert-name { font-size: 19px; font-weight: 700; color: var(--net-ink); margin: 0 0 2px; }
.net-expert-role { font-size: 14px; color: var(--net-accent); font-weight: 600; margin-bottom: 10px; display: block; }
.net-expert-body p { font-size: 15px; color: #444; margin: 0 0 8px; }
.net-expert-links a { color: var(--net-accent); text-decoration: none; font-weight: 600; }
.net-expert-links a:hover { text-decoration: underline; }
.net-expert-row { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; max-width: 1180px; margin: 0 auto; }
.net-expert-row .net-expert { max-width: 560px; flex: 1 1 480px; }
@media (max-width: 700px) { .net-expert { flex-direction: column; align-items: center; text-align: center; } }

/* ---------- Post-hero product logo (plain, centered - no bg panel) ---------- */
.net-hero-logo-center { text-align: center; margin: -30px auto 8px; position: relative; z-index: 3; }
.net-hero-logo-center img { height: 60px; width: auto; display: inline-block; }
@media (max-width: 640px) { .net-hero-logo-center img { height: 44px; } }

/* ---------- Legal (plain full-width, no highlight) ---------- */
.net-legal-disclaimer { max-width: 1180px; margin: 0 auto; padding: 6px 20px 0; font-size: 12.5px; line-height: 1.65; color: var(--net-muted); }
.net-legal-disclaimer strong { color: #555; display: block; margin-bottom: 6px; font-size: 13px; }
.net-legal-disclaimer p { margin: 0 0 8px; }

/* ---------- Outline button (visible on light bg, Proof of Scale secondary CTA) ---------- */
.net-btn-outline { display: inline-block; padding: 10px 22px; font-size: 14px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; border-radius: 999px; text-decoration: none; background: transparent; color: var(--net-ink, #1c232d); border: 2px solid var(--net-ink, #1c232d); transition: background 0.15s ease, color 0.15s ease; }
.net-btn-outline:hover { background: var(--net-ink, #1c232d); color: #fff; }

/* ---------- Video voice cards (youtube thumb as portrait, Sep 8 diversity pass) ---------- */
.net-review-photo-wrap.net-review-thumb { width: 96px; height: 96px; border-radius: 12px; overflow: hidden; }
.net-review-photo-wrap.net-review-thumb .net-review-photo { width: 96px; height: 96px; border-radius: 0; object-fit: cover; display: block; }
.net-review-photo-wrap.net-review-thumb .net-review-play { right: -4px; bottom: -4px; }
@media (max-width: 480px) { .net-review-photo-wrap.net-review-thumb { width: 80px; height: 80px; } .net-review-photo-wrap.net-review-thumb .net-review-photo { width: 80px; height: 80px; } }

/* ---------- 2-column mega dropdown (nav) - Sep 10 2026 ---------- */
.net-dropdown-2col { min-width: 480px; columns: 2; column-gap: 6px; }
.net-dropdown-2col li { break-inside: avoid; }
@media (max-width: 991.98px) {
    .net-dropdown-2col { min-width: 0; columns: 1; }
}
