/* nptech-links.css - NPTech Links Page */

.links-page {
    background:
        radial-gradient(circle at top left, rgba(100, 173, 217, 0.18), transparent 34%),
        linear-gradient(180deg, #f8fbfe 0%, #eef4f8 100%);
    min-height: 100vh;
}

.links-wrapper {
    max-width: 1180px;
    margin: 48px auto 80px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.links-surface {
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 28px;
    padding: 38px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.brand-banner {
    position: relative;
    overflow: hidden;
    margin-bottom: 34px;
    padding: 34px;
    border-radius: 24px;
    background: linear-gradient(135deg, #0f172a 0%, #0663af 100%);
    color: white;
}

.brand-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.brand-banner-copy,
.brand-banner-details {
    position: relative;
    z-index: 1;
}

.brand-banner-copy {
    max-width: 700px;
}

.brand-logo {
    display: block;
    width: min(250px, 75%);
    margin-bottom: 18px;
}

.brand-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brand-banner h1 {
    color: white;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
    margin-bottom: 12px;
}

.brand-banner p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.02rem;
    line-height: 1.7;
}

.brand-banner-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-weight: 600;
    color: white;
}

.brand-pill i {
    color: var(--npt-lt-blue);
}

.links-grid {
    display: grid;
    gap: 34px;
}

.link-section + .link-section {
    padding-top: 34px;
    border-top: 1px solid #e2e8f0;
}

.section-heading {
    margin-bottom: 22px;
}

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--npt-blue);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-heading h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-heading p {
    max-width: 760px;
    color: #64748b;
    font-size: 1rem;
}

.link-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #f8fbfe;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.link-card:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 99, 175, 0.35);
    background: white;
    box-shadow: 0 16px 32px rgba(6, 99, 175, 0.12);
}

.address-search-card {
    align-items: flex-start;
    cursor: default;
}

.address-search-card:hover {
    transform: none;
    border-color: #e2e8f0;
    background: #f8fbfe;
    box-shadow: none;
}

.link-card-featured {
    background: linear-gradient(135deg, rgba(6, 99, 175, 0.08) 0%, rgba(100, 173, 217, 0.18) 100%);
    border-color: rgba(6, 99, 175, 0.22);
}

.link-card-article {
    align-items: flex-start;
}

.article-preview-image {
    display: block;
    width: 100%;
    max-width: 260px;
    margin-top: 12px;
    border-radius: 12px;
    border: 1px solid #dbe5f1;
    object-fit: cover;
}

.link-list-quick .link-card-article {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: stretch;
}

.link-list-quick .link-card-website {
    grid-column: 1;
    grid-row: 1;
}

.link-list-quick .address-search-card {
    grid-column: 1;
    grid-row: 2;
}

.link-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.brand-facebook {
    background: rgba(24, 119, 242, 0.12);
    color: #1877f2;
}

.brand-instagram {
    background: rgba(225, 48, 108, 0.12);
    color: #e1306c;
}

.brand-linkedin {
    background: rgba(10, 102, 194, 0.12);
    color: #0a66c2;
}

.brand-nextdoor {
    background: rgba(0, 181, 81, 0.12);
    color: #00b551;
}

.brand-billing,
.brand-site {
    background: rgba(6, 99, 175, 0.12);
    color: var(--npt-blue);
}

.link-copy {
    min-width: 0;
    flex: 1;
}

.link-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.link-subtitle {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.5;
}

.address-search-card .availability-search-container {
    margin-top: 14px;
    max-width: 100%;
    position: relative;
}

.address-search-card .search-input-wrapper {
    position: relative;
    background: white;
    border-radius: 50px;
    padding: 6px;
    display: flex;
    align-items: center;
    border: 1px solid #dbe5f1;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.address-search-card .search-input-wrapper:focus-within {
    border-color: rgba(6, 99, 175, 0.45);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(6, 99, 175, 0.14);
}

.address-search-card .search-icon {
    width: 20px;
    height: 20px;
    color: #94a3b8;
    margin-left: 12px;
    flex-shrink: 0;
}

.address-search-card #cfn-address-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: var(--npt-black);
    font-size: 1rem;
    border-radius: 50px;
    padding: 11px 14px 11px 8px;
}

.address-search-card #redirect-message {
    margin-top: 10px;
    color: var(--npt-blue);
    font-size: 0.88rem;
    font-weight: 600;
}

.link-arrow {
    color: #94a3b8;
    font-size: 1rem;
    transition: transform 0.25s ease, color 0.25s ease;
}

.link-card:hover .link-arrow {
    color: var(--npt-blue);
    transform: translateX(4px);
}

.support-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.support-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 24px;
    border-radius: 20px;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.support-card i {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--npt-blue);
    background: rgba(6, 99, 175, 0.08);
    flex-shrink: 0;
}

.support-card h3 {
    margin-bottom: 6px;
    font-size: 1rem;
}

.support-card p,
.support-card a {
    color: #64748b;
    text-decoration: none;
    line-height: 1.6;
}

.support-card a {
    font-weight: 600;
    color: var(--npt-blue);
}

.site-footer .footer-content {
    max-width: 1180px;
    margin: 0 auto;
}

.site-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.site-footer .footer-links a {
    color: #cbd5e1;
    text-decoration: none;
}

.site-footer .footer-links a:hover {
    color: white;
}

@media (max-width: 980px) {
    .link-list {
        grid-template-columns: 1fr;
    }

    .link-list-quick .link-card-article,
    .link-list-quick .link-card-website,
    .link-list-quick .address-search-card {
        grid-column: auto;
        grid-row: auto;
    }

    .support-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .links-wrapper {
        margin-top: 28px;
        margin-bottom: 60px;
    }

    .links-surface {
        padding: 24px;
        border-radius: 22px;
    }

    .brand-banner {
        padding: 24px;
        border-radius: 20px;
    }

    .brand-logo {
        width: min(220px, 85%);
    }

    .section-heading h2 {
        font-size: 1.65rem;
    }

    .link-card {
        padding: 18px;
    }
}
