/* =========================================
   NEXSITES
   Lightweight Static Website
========================================= */

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

:root {
    --blue: #0866ff;
    --blue-dark: #004fd4;
    --navy: #061b3a;
    --navy-light: #0b2853;
    --orange: #ff8a00;
    --white: #ffffff;
    --light: #f5f8fc;
    --border: #e3eaf4;
    --text: #14213d;
    --muted: #667085;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    color: var(--text);
    background: linear-gradient(180deg,#ffffff 0%,#f7fbff 45%,#f4f9ff 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

button {
    font: inherit;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}


/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
}

.navbar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
}

.brand-main {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--navy);
}

.brand-main span {
    color: var(--blue);
}

.brand small {
    margin-top: 6px;
    font-size: 9px;
    letter-spacing: 2px;
    color: #697586;
    text-transform: uppercase;
}

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

.nav > a {
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

.nav > a:hover {
    color: var(--blue);
}

.nav .nav-button {
    background: var(--blue);
    color: white;
    padding: 11px 18px;
    border-radius: 8px;
}

.nav .nav-button:hover {
    background: var(--blue-dark);
    color: white;
}

.menu-button {
    display: none;
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}


/* HERO */

.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(8, 102, 255, 0.13),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f5f9ff 100%
        );
}

.hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border: 70px solid rgba(8, 102, 255, 0.035);
    border-radius: 50%;
    right: -160px;
    top: -170px;
}

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

.hero-badge {
    display: inline-block;
    color: var(--blue);
    background: #eaf2ff;
    border: 1px solid #cfe0ff;
    padding: 7px 13px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-bottom: 24px;
}

.hero h1 {
    color: var(--navy);
    font-size: clamp(45px, 5.4vw, 72px);
    line-height: 1.04;
    letter-spacing: -3px;
    max-width: 720px;
}

.hero h1 span {
    display: block;
    color: var(--blue);
}

.hero-content > p {
    max-width: 620px;
    color: var(--muted);
    font-size: 18px;
    margin: 27px 0 32px;
}

.hero-buttons {
    display: flex;
    gap: 13px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: 0.2s;
}

.primary {
    background: var(--blue);
    color: white;
}

.primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
}

.secondary {
    border: 1px solid #cfd8e6;
    background: white;
}

.secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 35px;
    color: #536176;
    font-size: 13px;
}


/* SERVER VISUAL */

.server-card {
    max-width: 490px;
    margin-left: auto;
    background: var(--navy);
    color: white;
    padding: 30px;
    border-radius: 22px;
    box-shadow: 0 30px 70px rgba(5, 29, 66, 0.18);
}

.server-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.server-top small {
    color: #729bd5;
    font-size: 10px;
    letter-spacing: 1.5px;
}

.server-top h3 {
    font-size: 19px;
    margin-top: 5px;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 0 15px #25d366;
}

.server {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 68px;
    background: #0b2853;
    margin-bottom: 10px;
    padding: 0 20px;
    border: 1px solid #173965;
    border-radius: 9px;
}

.server > span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #18d778;
}

.server-line {
    display: flex;
    flex: 1;
    gap: 7px;
}

.server-line i {
    display: block;
    height: 5px;
    border-radius: 10px;
    background: #214873;
}

.server-line i:first-child {
    width: 55%;
}

.server-line i:nth-child(2) {
    width: 25%;
}

.server-line i:last-child {
    width: 12%;
}

.server-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 10px;
    margin-top: 25px;
}

.server-stats strong {
    display: block;
    color: #4aa0ff;
    font-size: 20px;
}

.server-stats small {
    color: #9cb0ca;
}


/* TRUST */

.trust-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-grid div {
    padding: 25px 20px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.trust-grid div:last-child {
    border: 0;
}

.trust-grid strong,
.trust-grid span {
    display: block;
}

.trust-grid strong {
    color: var(--navy);
}

.trust-grid span {
    color: var(--muted);
    font-size: 12px;
}


/* GENERAL SECTIONS */

.section {
    padding: 95px 0;
}

.section-light {
    background: var(--light);
}

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.section-heading > span,
.eyebrow {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading h2,
.about h2 {
    color: var(--navy);
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin: 12px 0 17px;
}

.section-heading h2 strong,
.about h2 strong {
    color: var(--blue);
}

.section-heading p {
    color: var(--muted);
}


/* SERVICES */

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

.service-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 34px;
    transition: 0.25s;
    background: white;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(18, 51, 94, 0.08);
}

.service-card.featured {
    border-color: #bcd4ff;
}

.service-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #eaf2ff;
    color: var(--blue);
    border-radius: 10px;
    font-size: 24px;
    margin-bottom: 24px;
}

.service-card h3 {
    color: var(--navy);
    font-size: 21px;
}

.service-card p {
    color: var(--muted);
    margin: 10px 0 20px;
}

.service-card ul,
.hosting-card ul {
    list-style: none;
}

.service-card li,
.hosting-card li {
    margin: 9px 0;
    color: #46566d;
    font-size: 14px;
}

.service-card li::before,
.hosting-card li::before {
    content: "✓";
    color: var(--blue);
    margin-right: 8px;
    font-weight: bold;
}

.service-card a {
    display: inline-block;
    color: var(--blue);
    font-weight: 700;
    margin-top: 20px;
    font-size: 14px;
}


/* HOSTING */

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

.hosting-card {
    background: white;
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 14px;
}

.hosting-highlight {
    border: 2px solid var(--blue);
}

.plan-tag {
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.hosting-card h3 {
    font-size: 21px;
    color: var(--navy);
    margin: 10px 0;
}

.hosting-card p {
    color: var(--muted);
    font-size: 14px;
    min-height: 70px;
}

.hosting-card ul {
    border-top: 1px solid var(--border);
    margin-top: 20px;
    padding-top: 15px;
}

.hosting-card a {
    display: block;
    margin-top: 25px;
    background: var(--navy);
    color: white;
    text-align: center;
    padding: 11px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
}


/* DARK DEVELOPMENT */

.dark-section {
    background: var(--navy);
}

.light-heading h2 {
    color: white;
}

.light-heading p {
    color: #9eb0c7;
}

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

.tech-card {
    border: 1px solid #173d6e;
    background: #09234a;
    padding: 25px;
    border-radius: 10px;
    color: white;
    transition: 0.2s;
}

.tech-card:hover {
    border-color: var(--blue);
    transform: translateY(-3px);
}

.tech-card strong,
.tech-card span {
    display: block;
}

.tech-card strong {
    font-size: 18px;
}

.tech-card span {
    color: #8fa7c4;
    font-size: 12px;
    margin-top: 5px;
}


/* INFRASTRUCTURE */

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.section-heading.left {
    text-align: left;
    margin-left: 0;
}

.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    color: #40516a;
}

.check-grid div {
    padding: 12px;
    background: #f7f9fc;
    border-radius: 7px;
}

.terminal {
    background: #05162f;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(3, 22, 50, 0.18);
}

.terminal-header {
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    gap: 7px;
    background: #0a2348;
}

.terminal-header span {
    width: 9px;
    height: 9px;
    background: #57718f;
    border-radius: 50%;
}

.terminal-header small {
    color: #8099b6;
    margin-left: auto;
}

.terminal-content {
    padding: 28px;
    min-height: 360px;
    font-family: monospace;
    color: #a8bad0;
}

.terminal-content p {
    margin-bottom: 12px;
}

.terminal-content p span {
    color: #4598ff;
}

.terminal-content .success {
    color: #34d399;
}


/* SMALL SERVICES */

.mini-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.mini-services div {
    background: white;
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: 10px;
}

.mini-services strong,
.mini-services span {
    display: block;
}

.mini-services strong {
    color: var(--navy);
    margin-bottom: 7px;
}

.mini-services span {
    color: var(--muted);
    font-size: 13px;
}


/* ABOUT */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about p {
    color: var(--muted);
    margin-bottom: 20px;
    font-size: 17px;
}


/* CTA */

.cta {
    padding: 75px 0;
    background: linear-gradient(
        120deg,
        #0056e6,
        #0878ff
    );
    color: white;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.cta span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    opacity: 0.8;
}

.cta h2 {
    font-size: clamp(30px, 4vw, 45px);
    line-height: 1.1;
    margin: 10px 0;
}

.cta p {
    opacity: 0.85;
}

.contact-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.white-button {
    background: white;
    color: var(--blue);
}

.outline-white {
    border: 1px solid rgba(255,255,255,0.5);
}


/* FOOTER */

.footer {
    background: #03142d;
    color: #9db0c8;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 50px;
}

.footer-logo .brand-main {
    color: white;
}

.footer-brand p {
    max-width: 330px;
    margin-top: 20px;
}

.footer h4 {
    color: white;
    margin-bottom: 15px;
}

.footer-grid > div > a:not(.brand) {
    display: block;
    margin: 9px 0;
    font-size: 13px;
}

.footer-grid > div > a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 55px;
    border-top: 1px solid #163050;
    padding: 23px 0;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}


/* MOBILE */

@media (max-width: 1000px) {

    .menu-button {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: white;
        padding: 25px 4%;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .nav.active {
        display: flex;
    }

    .hero-grid,
    .split-layout,
    .about {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 55px;
    }

    .server-card {
        margin: auto;
    }

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

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

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

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

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

}


@media (max-width: 650px) {

    .hero {
        padding: 70px 0;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-features {
        flex-direction: column;
        gap: 8px;
    }

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

    .hosting-grid,
    .tech-grid,
    .mini-services,
    .check-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 70px 0;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-actions {
        width: 100%;
        flex-direction: column;
    }

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

}

/* Updated NexSites branding */

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    line-height: 1;
}

.brand-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-main {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--navy);
}

.brand-main span {
    color: var(--blue);
}

.brand-sub {
    margin-top: 4px;
    font-size: 9px;
    letter-spacing: 2px;
    color: #697586;
    text-transform: uppercase;
}

.footer .brand-logo {
    width: 52px;
    height: 52px;
}



/* ===========================================
   PREMIUM SKY HERO
=========================================== */

.hero{
    position:relative;
    overflow:hidden;

    background:
        radial-gradient(circle at 15% 20%, rgba(80,170,255,.35) 0%, transparent 35%),
        radial-gradient(circle at 90% 15%, rgba(120,195,255,.28) 0%, transparent 32%),
        radial-gradient(circle at 80% 80%, rgba(140,210,255,.22) 0%, transparent 30%),
        linear-gradient(180deg,#eef7ff 0%,#dceeff 55%,#f6fbff 100%);
}

/* soft blue glow */

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 50% 30%,rgba(255,255,255,.55),transparent 45%);
    pointer-events:none;
}

/* clouds */

.hero::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;

    background:

    radial-gradient(circle at 12% 18%,rgba(255,255,255,.95) 0 52px,transparent 53px),
    radial-gradient(circle at 17% 16%,rgba(255,255,255,.95) 0 38px,transparent 39px),
    radial-gradient(circle at 8% 16%,rgba(255,255,255,.95) 0 36px,transparent 37px),

    radial-gradient(circle at 78% 18%,rgba(255,255,255,.92) 0 60px,transparent 61px),
    radial-gradient(circle at 84% 20%,rgba(255,255,255,.92) 0 44px,transparent 45px),
    radial-gradient(circle at 73% 20%,rgba(255,255,255,.92) 0 42px,transparent 43px),

    radial-gradient(circle at 32% 75%,rgba(255,255,255,.75) 0 42px,transparent 43px),
    radial-gradient(circle at 37% 73%,rgba(255,255,255,.75) 0 30px,transparent 31px),

    radial-gradient(circle at 90% 72%,rgba(255,255,255,.70) 0 48px,transparent 49px);

    opacity:.85;
}

/* decorative floating circles */

.hero .container{
    position:relative;
    z-index:2;
}

.hero .container::before{
    content:"";
    position:absolute;
    right:-160px;
    top:-100px;
    width:520px;
    height:520px;
    border-radius:50%;
    background:rgba(8,102,255,.08);
    filter:blur(2px);
}

.hero .container::after{
    content:"";
    position:absolute;
    left:-120px;
    bottom:-140px;
    width:340px;
    height:340px;
    border-radius:50%;
    background:rgba(110,190,255,.12);
}

