/* =========================================================
   NORTHBIND WEBSITE
   Main Stylesheet
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #101828;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.text-center {
    text-align: center;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e8edf3;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #111827;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.logo-text {
    font-size: 22px;
    color: #111827;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    color: #667085;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #111827;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.login-link {
    color: #475467;
    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background: #111827;
    color: #ffffff;
    border: 1px solid #111827;
}

.btn-primary:hover {
    background: #253047;
    border-color: #253047;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #ffffff;
    color: #111827;
    border: 1px solid #d0d5dd;
}

.btn-secondary:hover {
    border-color: #111827;
    transform: translateY(-1px);
}

.btn-light {
    background: #ffffff;
    color: #111827;
    border: 1px solid #ffffff;
}

.btn-light:hover {
    background: #f2f4f7;
}

.btn-large {
    min-height: 52px;
    padding: 0 25px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    background:
        radial-gradient(circle at 80% 20%, rgba(80, 110, 160, 0.12), transparent 35%),
        linear-gradient(135deg, #f7f9fc 0%, #eef2f7 100%);
    padding: 100px 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.eyebrow,
.section-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: #667085;
    text-transform: uppercase;
}

.hero h1 {
    margin-top: 20px;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -2.5px;
    max-width: 720px;
}

.hero h1 span {
    display: block;
    color: #667085;
}

.hero p {
    max-width: 650px;
    margin-top: 25px;
    color: #667085;
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-note {
    margin-top: 24px;
    color: #667085;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #12b76a;
    border-radius: 50%;
    display: inline-block;
}


/* =========================================================
   SERVER VISUAL
   ========================================================= */

.hero-visual {
    display: flex;
    justify-content: center;
}

.server-card {
    width: 100%;
    max-width: 480px;
    background: #101828;
    color: #ffffff;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 30px 70px rgba(16, 24, 40, 0.22);
}

.server-header,
.server-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.server-header {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
}

.server-status {
    width: 8px;
    height: 8px;
    background: #12b76a;
    display: inline-block;
    border-radius: 50%;
    margin-right: 7px;
}

.server-label {
    color: #98a2b3;
    font-size: 10px;
    letter-spacing: 1.5px;
}

.server-body {
    padding: 28px 0;
}

.server-row {
    display: grid;
    grid-template-columns: 120px 1fr 40px;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    font-size: 12px;
}

.server-row:last-child {
    margin-bottom: 0;
}

.server-row strong {
    color: #98a2b3;
    font-size: 11px;
    text-align: right;
}

.progress {
    height: 5px;
    border-radius: 20px;
    background: rgba(255,255,255,0.12);
    overflow: hidden;
}

.progress div {
    height: 100%;
    background: #ffffff;
    border-radius: 20px;
}

.server-footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 18px;
    color: #98a2b3;
    font-size: 11px;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 100px 0;
}

.section-light {
    background: #ffffff;
}

.narrow-content {
    max-width: 800px;
}

.narrow-content h2 {
    margin-top: 18px;
    font-size: 38px;
    line-height: 1.15;
    letter-spacing: -1.3px;
}

.narrow-content p {
    margin-top: 20px;
    color: #667085;
    font-size: 17px;
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 70px;
    align-items: end;
    margin-bottom: 55px;
}

.section-heading h2 {
    margin-top: 14px;
    font-size: 42px;
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.section-heading h2 span {
    color: #667085;
}

.section-heading > p {
    color: #667085;
    font-size: 16px;
}


/* =========================================================
   SERVICE CARDS
   ========================================================= */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-card {
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    padding: 30px;
    background: #ffffff;
    transition: all 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(16,24,40,0.08);
    border-color: #d0d5dd;
}

.service-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f2f4f7;
    color: #344054;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 28px;
}

.service-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.service-card p {
    color: #667085;
    font-size: 14px;
    min-height: 90px;
}

.service-card a {
    display: inline-block;
    margin-top: 22px;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
}


/* =========================================================
   DARK SECTION
   ========================================================= */

.dark-section {
    background: #101828;
    color: #ffffff;
}

.light-heading .section-label {
    color: #98a2b3;
}

.light-heading h2 span {
    color: #98a2b3;
}

.light-heading > p {
    color: #98a2b3;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.feature {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 24px;
}

.feature-number {
    font-size: 12px;
    color: #98a2b3;
    font-weight: 800;
    margin-bottom: 28px;
}

.feature h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.feature p {
    color: #98a2b3;
    font-size: 14px;
}


/* =========================================================
   SUPPORT
   ========================================================= */

.support-section {
    background: #f8fafc;
}

.support-box {
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    padding: 55px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    background: #ffffff;
}

.support-box h2 {
    margin-top: 12px;
    font-size: 34px;
    letter-spacing: -1px;
}

.support-box p {
    margin-top: 12px;
    color: #667085;
    max-width: 620px;
}

.support-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    padding: 100px 0;
    background: #111827;
    color: #ffffff;
}

.cta-section .section-label {
    color: #98a2b3;
}

.cta-section h2 {
    margin-top: 15px;
    font-size: 44px;
    letter-spacing: -1.5px;
}

.cta-section p {
    max-width: 650px;
    margin: 18px auto 30px;
    color: #98a2b3;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: #0b1220;
    color: #ffffff;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-brand p {
    color: #98a2b3;
    margin-top: 20px;
    max-width: 350px;
    font-size: 14px;
}

.footer-logo .logo-text {
    color: #ffffff;
}

.footer-logo .logo-mark {
    background: #ffffff;
    color: #111827;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column h4 {
    font-size: 13px;
    margin-bottom: 8px;
    color: #ffffff;
}

.footer-column a {
    color: #98a2b3;
    font-size: 13px;
    transition: 0.2s;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    min-height: 70px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #667085;
    font-size: 12px;
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}

.footer-bottom a:hover {
    color: #ffffff;
}


/* =========================================================
   LEGAL PAGES
   Privacy Policy / Terms of Service
   ========================================================= */

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    color: #475467;
    font-size: 15px;
    line-height: 1.8;
}

.legal-content .legal-updated {
    display: inline-block;
    margin-bottom: 45px;
    padding: 10px 16px;
    background: #f8fafc;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    color: #667085;
    font-size: 13px;
}

.legal-content h2 {
    margin-top: 48px;
    margin-bottom: 15px;
    color: #101828;
    font-size: 25px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 18px;
}

.legal-content ul {
    margin: 10px 0 25px 22px;
    padding-left: 18px;
}

.legal-content li {
    margin-bottom: 9px;
    padding-left: 5px;
}

.legal-content a {
    color: #111827;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #d0d5dd;
    text-underline-offset: 3px;
    transition: 0.2s ease;
}

.legal-content a:hover {
    color: #475467;
    text-decoration-color: #111827;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .main-nav {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 650px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .header-inner {
        min-height: 68px;
    }

    .header-actions .login-link {
        display: none;
    }

    .header-actions .btn {
        padding: 0 13px;
        min-height: 40px;
    }

    .hero {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1.8px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .server-row {
        grid-template-columns: 100px 1fr 35px;
    }

    .section {
        padding: 70px 0;
    }

    .section-heading h2,
    .cta-section h2 {
        font-size: 34px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .support-box {
        padding: 30px;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        padding: 25px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom div {
        flex-direction: column;
        gap: 8px;
    }

    /* Legal pages - mobile */

    .legal-content {
        font-size: 14px;
        line-height: 1.75;
    }

    .legal-content .legal-updated {
        margin-bottom: 32px;
        font-size: 12px;
    }

    .legal-content h2 {
        margin-top: 38px;
        margin-bottom: 12px;
        font-size: 22px;
    }

    .legal-content ul {
        margin-left: 15px;
        padding-left: 15px;
    }
}