:root {
    color-scheme: dark;
    --ink: #050b14;
    --navy: #07182b;
    --navy-soft: #0b2037;
    --cyan: #08d8ef;
    --blue: #079de5;
    --white: #f5f9ff;
    --muted: #b8c8d9;
    --panel: #e4edf6;
    --panel-text: #07182b;
    --card: #fbfdff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    background-image: linear-gradient(rgba(3, 12, 25, 0.45), rgba(3, 12, 25, 0.45)),
                  url("/static/website-background.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 16px clamp(20px, 6vw, 90px);
    background: rgba(3, 10, 19, 0.94);
    border-bottom: 0px solid rgba(8, 216, 239, 0.7);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-logo {
    display: block;
    width: clamp(170px, 20vw, 245px);
    height: auto;
}

.menu-toggle {
    display: none;
}

nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: clamp(16px, 2.4vw, 36px);
}

nav a {
    color: #e4edf6;
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 160ms ease;
}

nav a:hover,
nav a:focus-visible {
    color: var(--cyan);
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(32px, 5vw, 76px);
    overflow: hidden;
    padding: clamp(64px, 8vw, 112px) clamp(24px, 8vw, 120px);
    background:
        radial-gradient(ellipse at 78% 75%, rgba(0, 146, 222, 0.3), transparent 38%),
        radial-gradient(ellipse at 22% 10%, rgba(0, 216, 239, 0.09), transparent 40%),
        linear-gradient(115deg, #061321 0%, #071a2d 58%, #03101f 100%);
    backdrop-filter: blur(10px);
}

.hero::after {
    position: absolute;
    right: -12%;
    bottom: -68%;
    width: 68%;
    height: 110%;
    border: 1px solid rgba(0, 196, 255, 0.22);
    border-radius: 50%;
    box-shadow: 0 0 70px rgba(0, 150, 235, 0.12);
    content: "";
    pointer-events: none;
}

.hero-content,
.hero-logo {
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1 1 54%;
    min-width: 0;
    max-width: 720px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: var(--cyan);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eyebrow-swoosh {
    display: inline-block;
    flex: 0 0 38px;
    width: 38px;
    height: 5px;
    margin-top: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #48f4ff, #009ce5);
    transform: skewX(-25deg);
}

.hero h1 {
    max-width: 780px;
    margin: 0 0 22px;
    color: var(--white);
    font-size: clamp(2.8rem, 6.5vw, 5.6rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 0.99;
}

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

.intro {
    max-width: 620px;
    margin: 0 0 30px;
    color: #d0dbe7;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.55;
}

.hero-logo {
    flex: 0 1 430px;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.hero-logo img {
    display: block;
    width: min(100%, 430px);
    height: auto;
    border-radius: 50%;
    box-shadow: 0 0 48px rgba(0, 187, 255, 0.22);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 24px;
    border: 1px solid var(--cyan);
    border-radius: 10px;
    background: linear-gradient(100deg, #06d5ec, #079ce5);
    box-shadow: 0 8px 24px rgba(0, 174, 235, 0.2);
    color: #03101e;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.button:hover,
.button:focus-visible {
    filter: brightness(1.08);
    box-shadow: 0 10px 30px rgba(0, 193, 255, 0.32);
    transform: translateY(-2px);
}

.section {
    padding: clamp(56px, 7vw, 88px) clamp(24px, 7vw, 104px);
}

.section h2,
.contact-section h2 {
    max-width: 850px;
    margin: 0 0 30px;
    font-size: clamp(2rem, 4.2vw, 3.3rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.section-heading .eyebrow-swoosh {
    flex-basis: 54px;
    width: 54px;
    height: 7px;
    margin-top: 17px;
}

.section-heading h2 {
    margin: 0;
    color: #fcfcfc;
    font-size: clamp(2rem, 4vw, 3rem);
}

.frosted-panel,
.framed-section {
    border: 1px solid rgba(72, 197, 255, 0.38);
    border-radius: clamp(24px, 3vw, 40px);
    background: rgba(220, 235, 250, 0.09);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.framed-section {
    position: relative;
    margin: 0 clamp(14px, 4vw, 64px);
    padding: clamp(36px, 4vw, 58px);
    color: var(--panel-text);
}

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

.service-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
    padding: clamp(20px, 2vw, 28px);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(19, 44, 69, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: rgba(220, 235, 250, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.service-card-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    margin-top: 1px;
    color: var(--blue);
}

.service-card-content {
    min-width: 0;
}

.service-card h3 {
    margin: 0 0 12px;
    color: #071421;
    font-size: clamp(1.05rem, 1.35vw, 1.25rem);
    line-height: 1.3;
}

.service-card p {
    margin: 0;
    color: #405a74;
    line-height: 1.55;
}

.custom-code-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 42px;
    width: min(82%, 1120px);
    margin: 48px auto 52px;
    padding: clamp(32px, 5vw, 64px) clamp(28px, 6vw, 84px);
    color: var(--white);
}

.custom-code-content > .eyebrow::before,
.extra-services > .eyebrow::before {
    flex: 0 0 38px;
    width: 38px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, #48f4ff, #009ce5);
    content: "";
}

.custom-code-content {
    max-width: 700px;
}

.custom-code-content h2 {
    margin: 12px 0 18px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.custom-code-content p:last-child {
    color: #c8d6e5;
}

.custom-code-badge {
    flex: 0 0 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 170px;
    height: 170px;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    text-align: center;
}

.badge-number {
    color: var(--cyan);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.badge-label {
    margin-top: 8px;
    font-size: 0.9rem;
    font-weight: 700;
}



.extra-services h2,
.work-section h2 {
    color: var(--white);
}

.work-section {
    background: transparent;
}

.work-content {
    width: min(900px, 100%);
    margin: 0 auto;
    padding: clamp(28px, 4vw, 48px);
}

.work-content > p:last-child {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.contact-section {
    position: relative;
    overflow: hidden;
    margin: clamp(18px, 4vw, 56px) clamp(14px, 4vw, 64px);
    padding: clamp(58px, 8vw, 96px) 24px;
    text-align: center;
}

.contact-section h2 {
    margin-right: auto;
    margin-left: auto;
}

.contact-section > p:not(.eyebrow) {
    margin: 0 auto 28px;
    color: #d0dbe7;
}

.contact-section .button {
    margin-top: 4px;
}

footer {
    padding: 22px 8%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #030811;
    color: #8da1b6;
    font-size: 0.9rem;
    text-align: center;
}

.reveal {
    opacity: 0;
    transform: translateY(38px);
    transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.from-left {
    transform: translateX(-32px);
}

.reveal.from-right {
    transform: translateX(32px);
}

.reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.service-card:hover {
    box-shadow: 0 12px 24px rgba(19, 44, 69, 0.14);
    transform: translateY(-3px);
}

.faq-hero {
    min-height: calc(100vh - 88px);
    align-items: flex-start;
    justify-content: center;
    padding-top: clamp(48px, 7vw, 88px);
    padding-bottom: clamp(56px, 8vw, 100px);
    background: rgba(3, 12, 25, 0.46);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.faq-page {
    width: min(900px, 100%);
    margin: 0 auto;
}

.faq-page .eyebrow {
    color: var(--cyan);
}

.faq-page h1 {
    margin: 10px 0 14px;
    color: var(--white);
    font-size: clamp(2.3rem, 5.5vw, 4.3rem);
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.faq-intro {
    margin: 0 0 30px;
    color: #d0dbe7;
    font-size: 1.12rem;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    padding: 21px 24px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    background: var(--card);
    box-shadow: 0 8px 20px rgba(19, 44, 69, 0.08);
}

.faq-item summary {
    position: relative;
    padding-right: 38px;
    color: var(--panel-text);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    position: absolute;
    top: -5px;
    right: 4px;
    color: var(--cyan);
    content: "+";
    font-size: 1.55rem;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin: 16px 38px 0 0;
    color: #405a74;
    line-height: 1.75;
}

@media (max-width: 960px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    nav {
        justify-content: flex-start;
        gap: 14px 24px;
    }

    .hero {
        gap: 28px;
        padding-right: 6vw;
        padding-left: 6vw;
    }

    .hero-logo {
        flex-basis: 36%;
    }

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

@media (max-width: 640px) {
    html {
        scroll-padding-top: 12px;
    }

    .site-header {
        gap: 12px;
        padding: 14px 20px 16px;
    }

    .header-logo {
        width: min(205px, 68vw);
    }

    nav {
        width: 100%;
        justify-content: flex-start;
        gap: 10px 18px;
    }

    nav a {
        font-size: 0.9rem;
    }

    .hero {
        align-items: flex-start;
        flex-direction: column;
        gap: 28px;
        padding: 54px 24px 48px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex: 0 0 auto;
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(2.1rem, 9.5vw, 3.25rem);
        overflow-wrap: anywhere;
    }

    .intro {
        width: 100%;
        max-width: 100%;
        font-size: 1rem;
        overflow-wrap: anywhere;
    }

    .hero-logo {
        align-self: center;
        width: min(78vw, 330px);
        flex-basis: auto;
    }

    .hero-logo img {
        width: 100%;
    }

    .section {
        padding: 54px 22px;
    }

    .framed-section {
        margin: 14px;
        padding: 30px 20px;
        border-radius: 26px;
    }

    .section-heading {
        width: 100%;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 24px;
    }

    .section-heading .eyebrow-swoosh {
        flex-basis: 26px;
        width: 26px;
        height: 5px;
        margin-top: 14px;
    }

    .section-heading h2 {
        width: calc(100% - 38px);
        min-width: 0;
        flex: 1 1 auto;
        font-size: clamp(1.5rem, 7vw, 2.1rem);
        overflow-wrap: anywhere;
    }

    .service-grid {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
    }

    .service-card {
        width: 100%;
        padding: 21px;
    }

    .service-card h3,
    .service-card p {
        overflow-wrap: anywhere;
    }

    .custom-code-section {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
        width: auto;
        margin: 28px 14px;
        padding: 30px 24px;
        border-radius: 26px;
    }

    .custom-code-content {
        width: 100%;
        min-width: 0;
    }

    .custom-code-badge {
        align-self: center;
        flex-basis: 140px;
        width: 140px;
        height: 140px;
    }

    .custom-code-content h2 {
        font-size: 1.85rem;
    }

    .faq-hero {
        min-height: calc(100vh - 130px);
        justify-content: flex-start;
        padding: 42px 22px 56px;
    }

    .faq-page h1 {
        font-size: clamp(2.2rem, 10vw, 3.4rem);
    }

    .faq-item {
        padding: 18px 16px;
    }

    .faq-item summary {
        font-size: 1rem;
        line-height: 1.45;
    }

    .faq-item p {
        margin-right: 8px;
        font-size: 0.96rem;
    }

    .contact-section {
        padding: 42px 20px;
    }

}

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

    .reveal,
    .reveal.from-left,
    .reveal.from-right {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px clamp(12px, 4vw, 24px);
    }

    .header-logo {
        width: min(205px, calc(100vw - 88px));
        max-width: calc(100vw - 88px);
    }

    .menu-toggle {
        display: flex;
        flex: 0 0 44px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid rgba(8, 216, 239, 0.48);
        border-radius: 12px;
        background: rgba(220, 235, 250, 0.08);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        color: var(--white);
        cursor: pointer;
    }

    .menu-toggle:focus-visible {
        outline: 2px solid var(--cyan);
        outline-offset: 3px;
    }

    .menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: var(--cyan);
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: clamp(12px, 4vw, 24px);
        z-index: 1001;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 4px;
        width: min(280px, calc(100vw - 24px));
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        padding: 8px;
        border: 1px solid rgba(72, 197, 255, 0.42);
        border-radius: 16px;
        background: rgba(7, 24, 43, 0.96);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        display: block;
        width: 100%;
        padding: 12px 14px;
        border-radius: 10px;
        overflow-wrap: anywhere;
    }

    .site-nav a:hover,
    .site-nav a:focus-visible {
        background: rgba(8, 216, 239, 0.12);
        color: var(--cyan);
    }
}
