:root {
    --aqua-light: #52e3e1;
    --aqua: #27cfd8;
    --blue: #108ed8;
    --blue-dark: #0759a8;
    --navy: #04386f;
    --navy-dark: #021f49;
    --silver-light: #f5f8fa;
    --silver: #d5e0e5;
    --silver-dark: #9fadb5;
    --white: #ffffff;
    --shadow: rgba(2, 37, 82, 0.28);
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    color: var(--silver-light);
    background: linear-gradient(135deg, var(--aqua-light), var(--aqua) 30%, var(--blue) 72%, var(--blue-dark));
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

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

.section {
    padding: 96px 0;
}

.section-dark {
    background: linear-gradient(135deg, rgba(2, 31, 73, 0.98), rgba(4, 61, 119, 0.96));
}

.section-heading {
    max-width: 760px;
    margin-bottom: 45px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--silver-light);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 30px;
    height: 2px;
    content: "";
    background: var(--silver-light);
}

h1,
h2,
h3 {
    line-height: 1.1;
}

h1 {
    margin-bottom: 24px;
    color: var(--silver-light);
    font-size: clamp(3rem, 7vw, 5.5rem);
    letter-spacing: -0.06em;
    text-shadow: 0 5px 18px var(--shadow);
}

h2 {
    margin-bottom: 20px;
    color: var(--silver-light);
    font-size: clamp(2rem, 4vw, 3.4rem);
    letter-spacing: -0.04em;
}

h3 {
    margin-bottom: 12px;
    color: var(--silver-light);
    font-size: 1.35rem;
}

p {
    color: var(--silver);
}

.lead {
    max-width: 720px;
    font-size: 1.18rem;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(3, 53, 111, 0.94);
    box-shadow: 0 12px 35px rgba(2, 31, 73, 0.18);
    backdrop-filter: blur(16px);
}

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

.brand {
    position: relative;
    display: block;
    width: 150px;
    height: 105px;
    flex: 0 0 150px;
    overflow: hidden;
}

/* Crops the large white border around the square logo.png file. */
.brand-logo {
    position: absolute;
    top: -27px;
    left: -14px;
    display: block;
    width: 165px;
    max-width: none;
    height: auto;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 22px;
}

.navigation a {
    position: relative;
    color: var(--silver);
    font-size: 0.88rem;
    font-weight: 750;
    transition: color 0.2s ease;
}

.navigation a:hover,
.navigation a.active {
    color: var(--white);
}

.navigation a:not(.quote-button)::after {
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--silver-light);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.navigation a:hover::after,
.navigation a.active::after {
    transform: scaleX(1);
}

.quote-button,
.primary-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    color: var(--navy-dark) !important;
    background: linear-gradient(145deg, var(--white), var(--silver));
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 12px 28px var(--shadow);
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quote-button:hover,
.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 17px 34px rgba(2, 37, 82, 0.35);
}

.secondary-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    color: var(--silver-light);
    background: rgba(5, 68, 132, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 12px;
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

.secondary-button:hover {
    background: rgba(5, 58, 119, 0.5);
    transform: translateY(-3px);
}

.menu-button {
    display: none;
    width: 48px;
    height: 48px;
    color: var(--silver-light);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.5rem;
}

/* HOME HERO */

.home-hero,
.page-hero {
    position: relative;
    overflow: hidden;
}

.home-hero::before,
.page-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.home-hero {
    min-height: calc(100vh - 112px);
    display: flex;
    align-items: center;
    padding: 85px 0;
}

.home-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    align-items: center;
    gap: 65px;
}

.hero-copy p {
    max-width: 650px;
    margin-bottom: 34px;
    color: var(--silver-light);
    font-size: 1.22rem;
}

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

.page-hero {
    padding: 95px 0 85px;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.page-hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
}

.page-hero p {
    max-width: 760px;
    color: var(--silver-light);
    font-size: 1.2rem;
}

/* DEVICE ART */

.hero-visual {
    position: relative;
    min-height: 465px;
}

.computer {
    position: absolute;
    top: 28px;
    right: 0;
    width: 92%;
    overflow: hidden;
    background: rgba(3, 55, 116, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 24px;
    box-shadow: 0 28px 55px rgba(2, 31, 73, 0.32);
}

.computer-top {
    display: flex;
    gap: 8px;
    padding: 17px 20px;
    background: rgba(3, 45, 98, 0.9);
}

.computer-top span {
    width: 10px;
    height: 10px;
    background: var(--silver);
    border-radius: 50%;
}

.computer-content {
    display: grid;
    grid-template-columns: 1fr 130px;
    gap: 14px;
    padding: 22px;
}

.chart,
.stat,
.lines {
    min-height: 135px;
    padding: 20px;
    background: rgba(2, 40, 91, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
}

.chart::before {
    display: block;
    height: 90px;
    content: "";
    background: linear-gradient(145deg, transparent 46%, #75eff1 47%, #75eff1 50%, transparent 51%), linear-gradient(35deg, transparent 55%, #9aaeb9 56%, #9aaeb9 59%, transparent 60%);
}

.stat {
    display: grid;
    place-items: center;
}

.stat-ring {
    display: grid;
    width: 74px;
    height: 74px;
    place-items: center;
    border: 10px solid var(--silver-light);
    border-right-color: #126cca;
    border-radius: 50%;
    font-weight: 900;
}

.lines {
    grid-column: 1 / -1;
    min-height: 88px;
}

.lines span {
    display: block;
    height: 9px;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #29b6f2 0 38%, #94a9b4 38% 88%, transparent 88%);
    border-radius: 10px;
}

.phone {
    position: absolute;
    right: 67%;
    bottom: 8px;
    width: 140px;
    min-height: 290px;
    padding: 16px 13px;
    background: linear-gradient(180deg, #063776, #032758);
    border: 5px solid #031d42;
    border-radius: 29px;
    box-shadow: 0 25px 45px rgba(2, 31, 73, 0.42);
}

.phone::before {
    display: block;
    width: 48px;
    height: 7px;
    margin: 0 auto 25px;
    content: "";
    background: #011938;
    border-radius: 10px;
}

.phone h4 {
    margin-bottom: 12px;
}

.phone-card {
    height: 68px;
    margin-bottom: 12px;
    background: linear-gradient(145deg, #116dc6, #20d0d7);
    border-radius: 11px;
}

.phone-line {
    height: 38px;
    margin-bottom: 9px;
    background: rgba(17, 105, 197, 0.45);
    border-radius: 9px;
}

.video-card {
    position: absolute;
    right: 2%;
    bottom: 0;
    display: grid;
    width: 240px;
    height: 140px;
    place-items: center;
    background: linear-gradient(145deg, rgba(4, 60, 122, 0.96), rgba(5, 83, 155, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 21px;
    box-shadow: 0 22px 45px rgba(2, 31, 73, 0.34);
}

.play-button {
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    color: var(--blue-dark);
    background: var(--silver-light);
    border-radius: 50%;
    font-size: 1.4rem;
}

/* CARDS AND LAYOUTS */

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

.card-grid.three {
    grid-template-columns: repeat(3, 1fr);
}

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

.card {
    padding: 30px 26px;
    background: linear-gradient(145deg, rgba(4, 58, 120, 0.76), rgba(4, 42, 92, 0.82));
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(2, 37, 82, 0.2);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-7px);
    border-color: rgba(255, 255, 255, 0.62);
}

.service-image {
    display: block;
    width: 100%;
    height: 165px;
    margin-bottom: 22px;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(2, 31, 73, 0.28);
}

.card-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    place-items: center;
    color: var(--navy-dark);
    background: linear-gradient(145deg, var(--white), var(--silver-dark));
    border-radius: 14px;
    font-size: 0.82rem;
    font-weight: 900;
}

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

.feature-list {
    display: grid;
    gap: 15px;
    margin: 28px 0;
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    color: var(--silver);
}

.feature-list li::before {
    display: grid;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    place-items: center;
    color: var(--navy-dark);
    background: var(--silver-light);
    border-radius: 50%;
    content: "✓";
    font-size: 0.8rem;
    font-weight: 900;
}

.feature-panel {
    padding: 34px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(3, 61, 127, 0.4));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    box-shadow: 0 25px 55px rgba(2, 31, 73, 0.25);
}

.feature-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.mini-card {
    min-height: 140px;
    padding: 21px;
    background: rgba(3, 43, 94, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
}

.mini-card strong {
    display: block;
    margin-bottom: 9px;
    color: var(--silver-light);
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.pill {
    padding: 9px 15px;
    color: var(--silver-light);
    background: rgba(2, 40, 91, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 800;
}

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

.step {
    padding: 28px;
    background: rgba(3, 47, 99, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    counter-increment: step;
}

.step::before {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    place-items: center;
    color: var(--navy-dark);
    background: var(--silver-light);
    border-radius: 50%;
    content: counter(step);
    font-weight: 900;
}

.project-card {
    overflow: hidden;
    padding: 0;
}

.project-image {
    display: grid;
    min-height: 185px;
    place-items: center;
    color: var(--silver-light);
    background: linear-gradient(145deg, #2fd7d8, #086bc1);
    font-size: 3rem;
    font-weight: 900;
}

.project-content {
    padding: 25px;
}

.project-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #8ce9ff;
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.download-card .button-row {
    margin-top: 22px;
}

.text-link {
    color: #8ce9ff;
    font-weight: 800;
}

.text-link:hover {
    color: var(--white);
}

.cta {
    padding: 58px;
    text-align: center;
    background: linear-gradient(145deg, rgba(4, 58, 120, 0.86), rgba(4, 42, 92, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 25px;
    box-shadow: 0 24px 55px var(--shadow);
}

.cta p {
    max-width: 680px;
    margin: 0 auto 25px;
}

/* CONTACT FORM */

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
}

.contact-details {
    display: grid;
    gap: 16px;
    margin-top: 26px;
}

.contact-detail {
    padding: 19px;
    background: rgba(3, 47, 99, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
}

.contact-detail strong {
    display: block;
    color: var(--silver-light);
}

.contact-form {
    padding: 35px;
    background: rgba(3, 44, 95, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 22px;
    box-shadow: 0 25px 55px rgba(2, 31, 73, 0.26);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-field {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.form-field label {
    color: var(--silver-light);
    font-size: 0.86rem;
    font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 14px 15px;
    color: var(--silver-light);
    background: rgba(2, 31, 73, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 11px;
    outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--silver-light);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.form-field textarea {
    min-height: 140px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    min-height: 53px;
    color: var(--navy-dark);
    background: linear-gradient(145deg, var(--white), var(--silver));
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 900;
}

.form-message {
    margin-top: 15px;
    color: var(--silver-light);
    text-align: center;
}

/* LEGAL AND SUPPORT */

.legal,
.support-panel {
    max-width: 900px;
    padding: 42px;
    background: rgba(3, 44, 95, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 22px;
    box-shadow: 0 25px 55px rgba(2, 31, 73, 0.24);
}

.legal h2,
.support-panel h2 {
    margin-top: 34px;
    font-size: 1.75rem;
}

.legal h2:first-child,
.support-panel h2:first-child {
    margin-top: 0;
}

.legal p,
.support-panel p {
    margin-bottom: 16px;
}

.legal ul,
.support-panel ul {
    display: grid;
    gap: 10px;
    margin: 0 0 20px 22px;
    color: var(--silver);
}

/* FOOTER */

footer {
    padding: 38px 0;
    color: var(--silver);
    background: var(--navy-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

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

/* RESPONSIVE */

@media (max-width: 1080px) {
    .navigation {
        position: absolute;
        top: 112px;
        right: 20px;
        left: 20px;
        display: none;
        padding: 25px;
        flex-direction: column;
        align-items: stretch;
        background: rgba(2, 40, 91, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 16px;
        box-shadow: 0 20px 45px var(--shadow);
    }

    .navigation.open {
        display: flex;
    }

    .navigation a {
        padding: 8px;
        text-align: center;
    }

    .menu-button {
        display: block;
    }

    .home-grid,
    .split,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 470px;
    }

    .card-grid,
    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .card-grid.three {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .section {
        padding: 72px 0;
    }

    .header-content {
        min-height: 96px;
    }

    .brand {
        width: 126px;
        height: 92px;
        flex-basis: 126px;
    }

    .brand-logo {
        top: -23px;
        left: -12px;
        width: 140px;
    }

    .navigation {
        top: 96px;
    }

    .home-hero {
        min-height: calc(100vh - 96px);
        padding: 60px 0;
    }

    h1 {
        font-size: 3.2rem;
    }

    .hero-copy p,
    .page-hero p {
        font-size: 1.05rem;
    }

    .hero-visual {
        min-height: 400px;
    }

    .computer {
        width: 100%;
    }

    .computer-content {
        grid-template-columns: 1fr 95px;
        padding: 15px;
    }

    .phone {
        right: auto;
        left: 0;
        width: 118px;
        min-height: 250px;
    }

    .video-card {
        width: 180px;
        height: 112px;
    }

    .card-grid,
    .card-grid.three,
    .card-grid.two,
    .steps,
    .feature-panel-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .cta,
    .legal,
    .support-panel,
    .contact-form {
        padding: 30px 22px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
}
