/* =========================================================
   CSS VARIABLES
   ========================================================= */

:root {
    color-scheme: light dark;

    --navy: #071a2b;
    --navy2: #0b2943;
    --blue: #16b9f4;

    --ink: light-dark(#10253a, #eaf4fb);
    --muted: light-dark(#587086, #b7c8d5);

    --surface: light-dark(#fff, #0c2235);
    --surface2: light-dark(#f4f9fc, #102c43);

    --line: light-dark(#dbe8f0, #24445d);

    --shadow: 0 18px 45px rgba(5, 30, 50, 0.12);
}


/* =========================================================
   GLOBAL / RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        "Segoe UI",
        Arial,
        sans-serif;

    background: var(--surface);
    color: var(--ink);

    line-height: 1.6;
}

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

.root {
    min-height: 100vh;

    background: var(--surface);
}

.container {
    width: min(1120px, calc(100% - 40px));

    margin: auto;
}


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

header {
    background: var(--navy);

    position: sticky;
    top: 0;

    z-index: 1000;

    width: 100%;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.nav {
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


/* =========================================================
   BRAND / LOGO
   ========================================================= */

.brand {
    display: flex;
    align-items: center;

    gap: 12px;

    font-weight: 800;
    letter-spacing: 0.03em;
}

.brandmark {
    width: 38px;
    height: 30px;

    border: 3px solid var(--blue);
    border-radius: 4px;

    position: relative;

    flex-shrink: 0;
}

.brandmark::after {
    content: "";

    position: absolute;

    width: 12px;
    height: 3px;

    background: var(--blue);

    bottom: -8px;
    left: 10px;
}

.brand small {
    display: block;

    font-size: 10px;

    color: #a9c4d6;

    letter-spacing: 0.12em;
}

.brand strong {
    display: block;

    font-size: 13px;

    line-height: 1.1;

    color: #fff;
}


/* =========================================================
   NAVIGATION LINKS
   ========================================================= */

.links {
    display: flex;

    gap: 26px;

    font-size: 13px;

    color: #c7d8e5;
}

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


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

.nav-tagline {
    color: #a9c4d6;

    font-size: 18px;

    font-weight: 500;

    margin-left: auto;

    white-space: nowrap;
}


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

.hero {
    background:
        radial-gradient(
            circle at 78% 40%,
            rgba(22, 185, 244, 0.20),
            transparent 28%
        ),
        linear-gradient(
            110deg,
            #061a2b 0%,
            #0a2943 60%,
            #071a2b 100%
        );

    color: #fff;

    overflow: hidden;
}

.hero-inner {
    min-height: 590px;

    display: grid;

    grid-template-columns: 1.12fr 0.88fr;

    align-items: center;

    gap: 45px;

    padding: 70px 0;
}

.eyebrow {
    color: #67d7ff;

    font-weight: 800;

    letter-spacing: 0.13em;

    font-size: 12px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 70px);

    line-height: 1.02;

    letter-spacing: -0.045em;

    margin: 14px 0 20px;

    max-width: 720px;
}

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

.hero p {
    font-size: 18px;

    color: #d2e2ec;

    max-width: 650px;
}


/* =========================================================
   HERO CTA BUTTON
   ========================================================= */

.cta {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            #0d96e8
        );

    color: #fff;

    border: 0;

    padding: 14px 22px;

    border-radius: 999px;

    font-weight: 800;

    margin-top: 12px;

    box-shadow:
        0 12px 28px rgba(0, 165, 240, 0.24);

    cursor: pointer;
}

.cta:hover {
    transform: translateY(-1px);
}

.location {
    font-size: 13px;

    color: #b8cfde;

    margin-top: 22px;
}


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

.hero-card {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.12),
            rgba(255, 255, 255, 0.035)
        );

    border: 1px solid rgba(255, 255, 255, 0.16);

    border-radius: 28px;

    padding: 34px;

    backdrop-filter: blur(8px);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   COMPUTER MONITOR
   ========================================================= */

.monitor {
    height: 220px;

    border: 8px solid #193e5b;

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            #0d6b9e,
            #08233a
        );

    display: flex;

    align-items: center;
    justify-content: center;

    box-shadow:
        inset 0 0 50px rgba(0, 0, 0, 0.25);
}

.screen {
    font-size: 23px;

    font-weight: 800;

    text-align: center;
}

.screen span {
    color: #62d9ff;
}

.stand {
    width: 95px;
    height: 12px;

    background: #193e5b;

    margin: 15px auto 0;

    border-radius: 20px;
}


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

.hero-points {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-top: 25px;
}

.hero-points div {
    font-size: 13px;

    color: #d7e7f0;
}

.check {
    color: #52dc9a;

    font-weight: 900;

    margin-right: 7px;
}


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

section {
    padding: 20px 0;
}

.section-head {
    text-align: center;

    margin-bottom: 42px;
}

.section-head h2 {
    font-size: 38px;

    line-height: 1.1;

    margin: 0 0 10px;

    letter-spacing: -0.03em;
}

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

    margin: 0;
}


/* =========================================================
   SERVICES
   ========================================================= */

.services {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 16px;
}

.card {
    background: var(--surface2);

    border: 1px solid var(--line);

    padding: 25px 20px;

    border-radius: 16px;

    transition: 0.2s;
}

.card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow);

    border-color: #9bdff6;
}

.icon {
    width: 46px;
    height: 46px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: light-dark(#dff5fd, #123d57);

    color: var(--blue);

    font-size: 21px;

    margin-bottom: 17px;
}

.card h3 {
    font-size: 16px;

    margin: 0 0 8px;
}

.card p {
    font-size: 13px;

    color: var(--muted);

    margin: 0;
}


/* =========================================================
   DARK INFORMATION BAND
   ========================================================= */

.band {
    background: var(--navy);

    color: #fff;
}

.band-inner {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.band h2 {
    font-size: 40px;

    line-height: 1.08;

    margin: 0 0 16px;
}

.band h2 span {
    color: var(--blue);
}

.band p {
    color: #c9dbe6;
}


/* =========================================================
   BENEFITS
   ========================================================= */

.benefits {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;

    margin-top: 28px;
}

.benefit {
    display: flex;

    gap: 12px;
}

.benefit .icon {
    flex: none;

    background: #0e83bf;

    color: #fff;

    margin: 0;
}

.benefit h4 {
    margin: 3px 0 4px;
}

.benefit p {
    font-size: 12px;

    margin: 0;
}


/* =========================================================
   SKILLS
   ========================================================= */

.skills {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 0;

    border: 1px solid var(--line);

    border-radius: 18px;

    overflow: hidden;
}

.skill {
    padding: 25px;

    border-right: 1px solid var(--line);
}

.skill:last-child {
    border-right: 0;
}

.skill h3 {
    font-size: 16px;

    margin: 0 0 13px;
}

.skill ul {
    padding: 0;

    margin: 0;

    list-style: none;

    color: var(--muted);

    font-size: 13px;
}

.skill li {
    margin: 7px 0;
}

.skill li::before {
    content: "•";

    color: var(--blue);

    font-weight: 900;

    margin-right: 8px;
}


/* =========================================================
   PROCESS + CONTACT
   ========================================================= */

.process-contact {
    background: var(--surface2);
}

.pc-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    align-items: start;
}

.process h2,
.contact h2 {
    font-size: 34px;

    line-height: 1.1;

    margin: 0 0 10px;
}

.process > p,
.contact > p {
    color: var(--muted);
}


/* =========================================================
   PROCESS STEPS
   ========================================================= */

.steps {
    margin-top: 5px;

    display: grid;

    gap: 14px;
}

.step {
    display: grid;

    grid-template-columns: 48px 1fr;

    gap: 16px;
}

.num {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: var(--blue);

    color: #fff;

    display: grid;

    place-items: center;

    font-weight: 900;
}

.step h3 {
    margin: 1px 0 4px;

    font-size: 16px;
}

.step p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   CONTACT FORM
   ========================================================= */

.formbox {
    background: var(--navy);

    padding: 14px;

    border-radius: 20px;

    box-shadow: var(--shadow);

    color: #fff;
}

.formbox h2 {
    font-size: 27px;
}

.formbox p {
    color: #aecadb;
}

.formrow {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 13px;
}


/* =========================================================
   FORM LABELS + INPUTS
   ========================================================= */

label {
    font-size: 12px;

    font-weight: 700;

    display: block;

    margin: 14px 0 6px;

    color: #dcebf3;
}

input,
textarea {
    width: 100%;

    border: 1px solid #35566e;

    border-radius: 7px;

    background: #f7fbfd;

    color: #122b3d;

    padding: 12px;

    font: inherit;

    font-size: 14px;

    outline: none;
}

input:focus,
textarea:focus {
    border-color: var(--blue);

    box-shadow:
        0 0 0 3px rgba(22, 185, 244, 0.18);
}

textarea {
    min-height: 120px;

    resize: vertical;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.submit {
    width: 100%;

    margin-top: 18px;

    border: 0;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            #0d96e8
        );

    color: #fff;

    padding: 13px;

    border-radius: 8px;

    font-weight: 800;

    cursor: pointer;
}

.privacy {
    font-size: 11px !important;

    margin: 12px 0 0 !important;
}


/* =========================================================
   ABOUT SECTION
   ========================================================= */

.about {
    display: grid;

    grid-template-columns: 160px 1fr 1fr;

    gap: 35px;

    align-items: center;
}

.avatar {
    width: 150px;
    height: 150px;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #dbeef5,
            #9fc6d9
        );

    display: grid;

    place-items: center;

    color: #15516e;

    font-size: 48px;

    font-weight: 900;

    border: 7px solid var(--surface);
}

.about h2 {
    font-size: 32px;

    margin: 0 0 10px;
}

.about p {
    color: var(--muted);

    margin: 7px 0;
}

.quote {
    border-left: 1px solid var(--line);

    padding-left: 35px;

    font-size: 19px;

    color: var(--ink);
}


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

footer {
    background: var(--navy);

    color: #fff;

    padding: 34px 0;
}

.footer-inner {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.footer-tags {
    color: #9eb6c7;

    font-size: 12px;
}

.copyright {
    color: #8fa9ba;

    font-size: 11px;

    text-align: right;
}


/* =========================================================
   FORM STATUS MESSAGE
   ========================================================= */

#status {
    display: none;

    margin-top: 12px;

    padding: 10px;

    border-radius: 7px;

    font-size: 12px;

    background: #103d31;

    color: #9df0c8;
}


/* =========================================================
   TABLET / SMALL DESKTOP
   Maximum width: 900px
   ========================================================= */

@media (max-width: 900px) {

    /* Hero / Band / Process Contact */

    .hero-inner,
    .band-inner,
    .pc-grid {
        grid-template-columns: 1fr;
    }


    /* Hero Card */

    .hero-card {
        max-width: 620px;

        margin: auto;
    }


    /* Services */

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


    /* Skills */

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

    .skill:nth-child(2) {
        border-right: 0;
    }

    .skill:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }


    /* About */

    .about {
        grid-template-columns: 120px 1fr;
    }

    .quote {
        grid-column: 1 / -1;

        border-left: 0;

        border-top: 1px solid var(--line);

        padding: 25px 0 0;
    }


    /* Navigation */

    .links {
        display: none;
    }
}


/* =========================================================
   MOBILE
   Maximum width: 600px
   ========================================================= */

@media (max-width: 600px) {

    /* Container */

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


    /* Sections */

    section {
        padding: 15px 0;
    }


    /* Navigation */

    .nav {
        height: 65px;
    }


    /* Mobile Brandmark */

    .brandmark {
        width: 32px;
        height: 25px;

        border-width: 2px;
    }


    /* Mobile Brand Text */

    .brand strong {
        font-size: 11px;
    }

    .brand small {
        font-size: 8px;
    }


    /* Mobile Tagline */

    .nav-tagline {
        font-size: 15px;

        white-space: normal;

        text-align: right;

        max-width: 140px;
    }


    /* Hero */

    .hero-inner {
        padding: 55px 0;
    }

    .hero h1 {
        font-size: 43px;
    }

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


    /* Hero Card */

    .hero-card {
        padding: 20px;
    }

    .monitor {
        height: 170px;
    }


    /* Single-column layouts */

    .services,
    .skills,
    .benefits,
    .formrow {
        grid-template-columns: 1fr;
    }


    /* Skills */

    .skill {
        border-right: 0;

        border-bottom: 1px solid var(--line);
    }

    .skill:last-child {
        border-bottom: 0;
    }


    /* Band */

    .band h2 {
        font-size: 34px;
    }


    /* About */

    .about {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .avatar {
        margin: auto;
    }

    .quote {
        grid-column: auto;

        text-align: left;
    }


    /* Footer */

    .footer-inner {
        align-items: flex-start;

        flex-direction: column;
    }

    .copyright {
        text-align: left;
    }
}