:root {
    --aqua-light: #87bdff;
    --aqua: #4f9eea;
    --blue: #2f7fcf;
    --blue-dark: #174f8d;
    --navy: #102a47;
    --navy-dark: #050b13;
    --charcoal: #08111d;
    --surface: #0d1927;
    --surface-raised: #112238;
    --silver-light: #f1f5fa;
    --silver: #bdc9d7;
    --silver-dark: #8192a6;
    --white: #ffffff;
    --line: rgba(158, 184, 214, 0.18);
    --line-strong: rgba(158, 184, 214, 0.34);
    --shadow: rgba(0, 6, 16, 0.48);
    --shadow-soft: 0 18px 46px rgba(0, 6, 16, 0.28);
    --blue-glow: rgba(47, 127, 207, 0.18);
    --action-blue: #3f8fdf;
    --action-blue-deep: #1d5fa8;
    --action-teal: #3a91a4;
    --action-teal-deep: #174352;
    --accent-indigo: #7787d8;
    --accent-silver: #aebdd0;
    --surface-graphite: #1b2028;
    --surface-steel: #26313b;
    --surface-teal: #123536;
    --surface-indigo: #292747;
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
    background: var(--navy-dark);
}

body {
    min-width: 320px;
    color: var(--silver-light);
    background:
        radial-gradient(circle at 12% 0, rgba(47, 127, 207, 0.16), transparent 34rem),
        linear-gradient(180deg, #07101b 0%, var(--navy-dark) 100%);
    font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    color: var(--white);
    background: rgba(47, 127, 207, 0.72);
}

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

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(135, 189, 255, 0.68);
    outline-offset: 3px;
}

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

.section {
    position: relative;
    padding: 104px 0;
    background:
        radial-gradient(circle at 88% 8%, rgba(190, 205, 221, 0.13), transparent 32rem),
        linear-gradient(150deg, #171b21, var(--surface-steel) 56%, #151a20);
    border-top: 1px solid var(--line);
}

.section-dark {
    background:
        radial-gradient(circle at 12% 12%, rgba(62, 177, 174, 0.17), transparent 31rem),
        linear-gradient(155deg, #071315, var(--surface-teal) 58%, #071719);
}

main > .section-dark:nth-of-type(4n) {
    background:
        radial-gradient(circle at 78% 12%, rgba(145, 129, 224, 0.22), transparent 32rem),
        linear-gradient(150deg, #11101f, var(--surface-indigo) 54%, #121326);
}

main > .section:nth-of-type(5n) {
    background:
        radial-gradient(circle at 16% 18%, rgba(79, 158, 234, 0.16), transparent 30rem),
        linear-gradient(150deg, #101a22, #223747 56%, #111b24);
}

.section:nth-of-type(3n) .eyebrow {
    color: #d4dee8;
}

.section-dark:nth-of-type(4n + 2) .eyebrow {
    color: #8ed8d2;
}

.section-dark:nth-of-type(4n) .eyebrow {
    color: #b9b7ef;
}

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

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

.eyebrow::before {
    width: 34px;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, var(--aqua), var(--silver-light));
    box-shadow: 0 0 14px rgba(79, 158, 234, 0.28);
}

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

h1 {
    margin-bottom: 24px;
    color: var(--white);
    background: linear-gradient(135deg, #ffffff 4%, #d9e3ef 62%, #8dbcf2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    font-size: clamp(3rem, 6.6vw, 5.35rem);
    letter-spacing: -0.055em;
    text-shadow: 0 12px 34px rgba(0, 6, 16, 0.28);
    -webkit-text-fill-color: transparent;
}

h2 {
    margin-bottom: 20px;
    color: #eaf1f8;
    font-size: clamp(2rem, 3.8vw, 3.25rem);
    letter-spacing: -0.035em;
}

h3 {
    margin-bottom: 12px;
    color: #edf4fb;
    font-size: 1.3rem;
    letter-spacing: -0.018em;
}

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

.lead {
    max-width: 720px;
    color: #c8d3df;
    font-size: 1.16rem;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 12, 22, 0.9);
    box-shadow: 0 12px 34px rgba(0, 5, 14, 0.28);
    backdrop-filter: blur(18px) saturate(120%);
}

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

.brand {
    position: relative;
    display: block;
    width: 142px;
    height: 90px;
    flex: 0 0 142px;
    overflow: visible;
    filter: drop-shadow(0 9px 18px rgba(0, 6, 16, 0.32));
}

/* Keeps the transparent sticker logo fully visible without changing the site colors. */
.brand-logo {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

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

.navigation a {
    position: relative;
    color: var(--silver);
    font-size: 0.86rem;
    font-weight: 760;
    letter-spacing: 0.012em;
    transition: color 0.2s ease, opacity 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: linear-gradient(90deg, var(--blue), var(--aqua-light));
    border-radius: 99px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}

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

.quote-button,
.primary-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 11px;
    font-weight: 880;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.quote-button {
    color: var(--white) !important;
    background: linear-gradient(145deg, var(--action-blue), var(--action-blue-deep));
    border: 1px solid rgba(127, 187, 245, 0.7);
    box-shadow: 0 12px 30px rgba(14, 69, 128, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.primary-button {
    color: #061220 !important;
    background: linear-gradient(145deg, #ffffff, #d8e2ed 72%, #bac9d8);
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 30px rgba(0, 7, 18, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.quote-button:hover,
.primary-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.035);
}

.quote-button:hover {
    box-shadow: 0 17px 40px rgba(20, 91, 162, 0.5), 0 0 0 1px rgba(135, 189, 255, 0.24);
}

.primary-button:hover {
    box-shadow: 0 17px 38px rgba(0, 7, 18, 0.42), 0 0 0 1px rgba(135, 189, 255, 0.18);
}

.secondary-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    color: var(--silver-light);
    background: linear-gradient(145deg, rgba(34, 91, 104, 0.94), rgba(14, 43, 54, 0.98));
    border: 1px solid rgba(91, 168, 184, 0.48);
    border-radius: 11px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
    font-weight: 800;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.secondary-button:hover {
    background: linear-gradient(145deg, rgba(46, 114, 128, 0.98), rgba(18, 57, 69, 0.98));
    border-color: rgba(119, 203, 218, 0.68);
    transform: translateY(-2px);
}

.menu-button {
    display: none;
    width: 48px;
    height: 48px;
    color: var(--silver-light);
    background: linear-gradient(145deg, rgba(19, 42, 67, 0.95), rgba(8, 19, 32, 0.95));
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* HOME HERO */

.home-hero,
.page-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.home-hero {
    background:
        radial-gradient(circle at 80% 24%, rgba(50, 158, 172, 0.22), transparent 28rem),
        radial-gradient(circle at 18% 8%, rgba(84, 145, 213, 0.2), transparent 25rem),
        linear-gradient(145deg, #090e15 0%, #132335 56%, #123338 100%);
}

.page-hero {
    background:
        radial-gradient(circle at 86% 22%, rgba(130, 116, 211, 0.24), transparent 28rem),
        radial-gradient(circle at 12% 0, rgba(62, 159, 174, 0.16), transparent 25rem),
        linear-gradient(145deg, #11131a 0%, #20273a 56%, #28243f 100%);
}

.home-hero::before,
.page-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background-image: linear-gradient(rgba(135, 189, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(135, 189, 255, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 92%);
    pointer-events: none;
}

.home-hero {
    min-height: min(760px, calc(100vh - 98px));
    display: flex;
    align-items: center;
    padding: 92px 0;
}

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

.hero-copy p {
    max-width: 650px;
    margin-bottom: 34px;
    color: #c8d4e1;
    font-size: 1.18rem;
}

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

.page-hero {
    padding: 112px 0 102px;
}

.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: #c6d2df;
    font-size: 1.16rem;
}

/* DEVICE ART */

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

.computer {
    position: absolute;
    top: 28px;
    right: 0;
    width: 92%;
    overflow: hidden;
    background: linear-gradient(150deg, rgba(18, 45, 75, 0.98), rgba(7, 18, 32, 0.98));
    border: 1px solid rgba(153, 187, 224, 0.32);
    border-radius: 22px;
    box-shadow: 0 34px 76px rgba(0, 5, 14, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.computer-top {
    display: flex;
    gap: 8px;
    padding: 17px 20px;
    background: rgba(5, 14, 25, 0.82);
    border-bottom: 1px solid rgba(153, 187, 224, 0.14);
}

.computer-top span {
    width: 10px;
    height: 10px;
    background: #8fa5bd;
    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: linear-gradient(145deg, rgba(14, 37, 63, 0.9), rgba(6, 17, 30, 0.94));
    border: 1px solid rgba(153, 187, 224, 0.16);
    border-radius: 15px;
}

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

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

.stat-ring {
    display: grid;
    width: 74px;
    height: 74px;
    place-items: center;
    border: 10px solid #d8e2ec;
    border-right-color: #3e8bd7;
    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, #3e8bd7 0 38%, #8395a8 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, #102e51, #071525);
    border: 5px solid #030a12;
    border-radius: 29px;
    box-shadow: 0 26px 56px rgba(0, 5, 14, 0.54);
}

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

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

.phone-card {
    height: 68px;
    margin-bottom: 12px;
    background: linear-gradient(145deg, #245f9f, #4e9ce5);
    border-radius: 11px;
}

.phone-line {
    height: 38px;
    margin-bottom: 9px;
    background: rgba(49, 115, 184, 0.34);
    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(18, 49, 82, 0.98), rgba(8, 25, 44, 0.98));
    border: 1px solid rgba(153, 187, 224, 0.3);
    border-radius: 19px;
    box-shadow: 0 26px 58px rgba(0, 5, 14, 0.45);
}

.play-button {
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    color: #174f8d;
    background: linear-gradient(145deg, #f8fafc, #cbd7e3);
    box-shadow: 0 8px 24px rgba(0, 6, 16, 0.3);
    border-radius: 50%;
    font-size: 1.4rem;
}

/* CARDS AND LAYOUTS */

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

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

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

.card {
    position: relative;
    overflow: hidden;
    padding: 30px 26px;
    background: linear-gradient(145deg, rgba(17, 34, 56, 0.98), rgba(8, 18, 31, 0.98));
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.035);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(95, 160, 224, 0.8), transparent);
    opacity: 0.65;
}

.card-grid .card:nth-child(4n + 1)::before {
    background: linear-gradient(90deg, transparent, rgba(74, 154, 232, 0.9), transparent);
}

.card-grid .card:nth-child(4n + 1) {
    background:
        radial-gradient(circle at 100% 0, rgba(63, 143, 223, 0.24), transparent 13rem),
        linear-gradient(145deg, rgba(22, 59, 94, 0.98), rgba(9, 25, 42, 0.98));
}

.card-grid .card:nth-child(4n + 2)::before {
    background: linear-gradient(90deg, transparent, rgba(178, 197, 216, 0.8), transparent);
}

.card-grid .card:nth-child(4n + 2) {
    background:
        radial-gradient(circle at 100% 0, rgba(197, 207, 219, 0.18), transparent 13rem),
        linear-gradient(145deg, rgba(47, 56, 66, 0.98), rgba(19, 24, 30, 0.98));
}

.card-grid .card:nth-child(4n + 3)::before {
    background: linear-gradient(90deg, transparent, rgba(72, 166, 183, 0.85), transparent);
}

.card-grid .card:nth-child(4n + 3) {
    background:
        radial-gradient(circle at 100% 0, rgba(58, 166, 162, 0.25), transparent 13rem),
        linear-gradient(145deg, rgba(17, 61, 61, 0.98), rgba(7, 28, 31, 0.98));
}

.card-grid .card:nth-child(4n + 4)::before {
    background: linear-gradient(90deg, transparent, rgba(111, 132, 211, 0.82), transparent);
}

.card-grid .card:nth-child(4n + 4) {
    background:
        radial-gradient(circle at 100% 0, rgba(135, 122, 219, 0.27), transparent 13rem),
        linear-gradient(145deg, rgba(51, 46, 91, 0.98), rgba(20, 20, 45, 0.98));
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(135, 189, 255, 0.42);
    box-shadow: 0 24px 58px rgba(0, 6, 16, 0.4), 0 0 0 1px rgba(47, 127, 207, 0.08);
}

.service-image {
    display: block;
    width: 96px;
    height: 96px;
    margin-bottom: 20px;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(153, 187, 224, 0.3);
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(0, 6, 16, 0.4);
}

.card-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    place-items: center;
    color: #0a2746;
    background: linear-gradient(145deg, #f4f7fa, #aebfd0);
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 13px;
    box-shadow: 0 10px 24px rgba(0, 6, 16, 0.26);
    font-size: 0.82rem;
    font-weight: 900;
}

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

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

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    color: #c4cfdb;
}

.feature-list li::before {
    display: grid;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    place-items: center;
    color: #0d3a68;
    background: linear-gradient(145deg, #eff4f9, #b9c9d8);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 7px 18px rgba(0, 6, 16, 0.24);
    border-radius: 50%;
    content: "✓";
    font-size: 0.8rem;
    font-weight: 900;
}

.feature-panel {
    padding: 34px;
    background:
        radial-gradient(circle at 100% 0, rgba(67, 173, 170, 0.2), transparent 18rem),
        radial-gradient(circle at 0 100%, rgba(129, 117, 207, 0.16), transparent 18rem),
        linear-gradient(145deg, rgba(29, 47, 53, 0.98), rgba(17, 20, 37, 0.98));
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    box-shadow: 0 28px 62px rgba(0, 6, 16, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

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

.mini-card {
    min-height: 140px;
    padding: 21px;
    background: linear-gradient(145deg, rgba(16, 37, 62, 0.92), rgba(7, 18, 31, 0.94));
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.mini-card:nth-child(4n + 1) {
    border-color: rgba(74, 154, 232, 0.28);
    background: linear-gradient(145deg, rgba(18, 48, 78, 0.92), rgba(7, 20, 34, 0.96));
}

.mini-card:nth-child(4n + 2) {
    border-color: rgba(72, 166, 183, 0.28);
    background: linear-gradient(145deg, rgba(18, 52, 59, 0.92), rgba(7, 23, 29, 0.96));
}

.mini-card:nth-child(4n + 3) {
    border-color: rgba(119, 135, 216, 0.28);
    background: linear-gradient(145deg, rgba(32, 38, 70, 0.92), rgba(13, 19, 38, 0.96));
}

.mini-card:nth-child(4n + 4) {
    border-color: rgba(174, 189, 208, 0.26);
    background: linear-gradient(145deg, rgba(28, 40, 53, 0.92), rgba(11, 20, 31, 0.96));
}

.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(15, 35, 58, 0.86);
    border: 1px solid rgba(135, 189, 255, 0.24);
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 800;
}

.pill:nth-child(3n + 1) {
    border-color: rgba(74, 154, 232, 0.42);
    background: rgba(29, 72, 111, 0.7);
}

.pill:nth-child(3n + 2) {
    border-color: rgba(72, 166, 183, 0.42);
    background: rgba(23, 78, 78, 0.7);
}

.pill:nth-child(3n + 3) {
    border-color: rgba(119, 135, 216, 0.42);
    background: rgba(55, 51, 99, 0.7);
}

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

.step {
    padding: 28px;
    background: linear-gradient(145deg, rgba(17, 35, 58, 0.96), rgba(7, 17, 29, 0.98));
    border: 1px solid var(--line);
    border-radius: 17px;
    box-shadow: var(--shadow-soft);
    counter-increment: step;
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.step:hover {
    transform: translateY(-3px);
    border-color: rgba(135, 189, 255, 0.38);
}

.step::before {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    place-items: center;
    color: #0f3f70;
    background: linear-gradient(145deg, #f3f6f9, #b9cadb);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 20px rgba(0, 6, 16, 0.25);
    border-radius: 50%;
    content: counter(step);
    font-weight: 900;
}

.step:nth-child(4n + 1)::before {
    color: var(--white);
    background: linear-gradient(145deg, #4a9ae8, #245f9f);
    border-color: rgba(127, 187, 245, 0.7);
}

.step:nth-child(4n + 2)::before {
    color: #07131f;
    background: linear-gradient(145deg, #edf2f7, #aebdd0);
}

.step:nth-child(4n + 3)::before {
    color: var(--white);
    background: linear-gradient(145deg, #4aa6b7, #226170);
    border-color: rgba(119, 203, 218, 0.66);
}

.step:nth-child(4n + 4)::before {
    color: var(--white);
    background: linear-gradient(145deg, #7f90df, #485696);
    border-color: rgba(164, 176, 235, 0.68);
}

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

.portfolio-grid {
    grid-template-columns: minmax(0, 1fr);
}

.project-image {
    display: grid;
    min-height: 185px;
    place-items: center;
    color: var(--silver-light);
    background:
        radial-gradient(circle at 70% 25%, rgba(98, 166, 233, 0.34), transparent 12rem),
        linear-gradient(145deg, #102d4d, #0a1a2c);
    border-bottom: 1px solid var(--line);
    font-size: 3rem;
    font-weight: 900;
}

.project-card:nth-child(3n + 2) .project-image {
    background:
        radial-gradient(circle at 70% 25%, rgba(72, 166, 183, 0.34), transparent 12rem),
        linear-gradient(145deg, #11333d, #0a1b24);
}

.project-card:nth-child(3n + 3) .project-image {
    background:
        radial-gradient(circle at 70% 25%, rgba(119, 135, 216, 0.34), transparent 12rem),
        linear-gradient(145deg, #20284d, #11162c);
}

.project-content {
    padding: 25px;
}

.project-content h4 {
    margin-top: 26px;
    color: #edf4fb;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.project-content .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-credit {
    margin-top: 30px;
    color: var(--silver-light);
}

.project-label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--aqua-light);
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

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

.text-link {
    color: var(--aqua-light);
    font-weight: 800;
    transition: color 0.2s ease;
}

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

.cta {
    position: relative;
    overflow: hidden;
    padding: 58px;
    text-align: center;
    background:
        radial-gradient(circle at 18% 0, rgba(67, 173, 170, 0.34), transparent 23rem),
        radial-gradient(circle at 84% 100%, rgba(135, 122, 219, 0.3), transparent 24rem),
        linear-gradient(145deg, rgba(20, 62, 67, 0.99), rgba(40, 34, 75, 0.99));
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    box-shadow: 0 28px 66px rgba(0, 6, 16, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

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

/* CONTACT FORM */

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

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

.contact-detail {
    padding: 19px;
    background: linear-gradient(145deg, rgba(40, 48, 58, 0.96), rgba(17, 22, 28, 0.97));
    border: 1px solid var(--line);
    border-radius: 13px;
    box-shadow: 0 14px 34px rgba(0, 6, 16, 0.2);
}

.contact-detail:nth-child(3n + 1) {
    border-left: 3px solid rgba(74, 154, 232, 0.72);
}

.contact-detail:nth-child(3n + 2) {
    border-left: 3px solid rgba(72, 166, 183, 0.72);
    background: linear-gradient(145deg, rgba(20, 66, 66, 0.94), rgba(8, 30, 33, 0.97));
}

.contact-detail:nth-child(3n + 3) {
    border-left: 3px solid rgba(119, 135, 216, 0.72);
    background: linear-gradient(145deg, rgba(52, 48, 88, 0.94), rgba(22, 22, 44, 0.97));
}

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

.contact-form {
    padding: 35px;
    background:
        radial-gradient(circle at 100% 0, rgba(129, 117, 207, 0.16), transparent 18rem),
        linear-gradient(145deg, rgba(39, 45, 57, 0.98), rgba(15, 21, 28, 0.99));
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    box-shadow: 0 28px 64px rgba(0, 6, 16, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.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(4, 11, 20, 0.86);
    border: 1px solid rgba(158, 184, 214, 0.24);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--silver-dark);
}

.form-field select option {
    color: var(--silver-light);
    background: #08111d;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    background: rgba(6, 15, 27, 0.96);
    border-color: rgba(135, 189, 255, 0.72);
    box-shadow: 0 0 0 3px rgba(47, 127, 207, 0.16);
}

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

.submit-button {
    width: 100%;
    min-height: 53px;
    color: var(--white);
    background: linear-gradient(145deg, #43a6c3, #276b9f);
    border: 1px solid rgba(115, 199, 222, 0.68);
    border-radius: 11px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(15, 78, 116, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-weight: 880;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 17px 38px rgba(20, 104, 150, 0.48);
    filter: brightness(1.035);
}

.submit-button:disabled {
    cursor: not-allowed;
    opacity: 0.62;
    transform: none;
}

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

/* LEGAL AND SUPPORT */

.legal,
.support-panel {
    max-width: 900px;
    padding: 42px;
    background: linear-gradient(145deg, rgba(16, 34, 56, 0.98), rgba(6, 16, 28, 0.99));
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 28px 64px rgba(0, 6, 16, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.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: 42px 0;
    color: var(--silver);
    background:
        radial-gradient(circle at 18% 0, rgba(56, 154, 159, 0.12), transparent 22rem),
        radial-gradient(circle at 82% 100%, rgba(119, 107, 195, 0.1), transparent 24rem),
        #080a0d;
    border-top: 1px solid var(--line);
}

.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);
}

.footer-links a {
    transition: color 0.2s ease;
}

.footer-links .footer-admin-link {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    color: #d9e4ef;
    background: rgba(13, 29, 48, 0.72);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.02em;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-links .footer-admin-link:hover,
.footer-links .footer-admin-link:focus-visible {
    color: var(--white);
    background: rgba(25, 57, 92, 0.78);
    border-color: rgba(135, 189, 255, 0.52);
}

/* RESPONSIVE */

@media (max-width: 1080px) {
    .navigation {
        position: absolute;
        top: 98px;
        right: 20px;
        left: 20px;
        display: none;
        padding: 25px;
        flex-direction: column;
        align-items: stretch;
        background: rgba(6, 15, 26, 0.98);
        border: 1px solid var(--line-strong);
        border-radius: 15px;
        box-shadow: 0 24px 58px rgba(0, 5, 14, 0.5);
        backdrop-filter: blur(18px);
    }

    .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: 76px 0;
    }

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

    .brand {
        width: 118px;
        height: 82px;
        flex-basis: 118px;
    }

    .navigation {
        top: 96px;
    }

    .home-hero {
        min-height: auto;
        padding: 72px 0 78px;
    }

    .home-grid {
        gap: 48px;
    }

    h1 {
        font-size: clamp(2.75rem, 14vw, 3.45rem);
    }

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

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

    .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;
    }

    .project-content .feature-list {
        grid-template-columns: 1fr;
    }

    .service-image {
        width: 88px;
        height: 88px;
    }

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

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (forced-colors: active) {
    h1 {
        color: CanvasText;
        background: none;
        -webkit-text-fill-color: CanvasText;
    }
}
