html {
    scroll-behavior: smooth;
}

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

.nav-link,
.mobile-nav-link {
    transition: color .2s ease, background-color .2s ease;
}

.nav-link:hover {
    color: #67e8f9;
}

.mobile-nav-link {
    border-radius: 12px;
    padding: .9rem 1rem;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, .06);
    color: #67e8f9;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    transition: transform .2s ease, opacity .2s ease;
}

.menu-lines {
    position: relative;
}

.menu-lines::before,
.menu-lines::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-lines::before {
    top: -6px;
}

.menu-lines::after {
    top: 6px;
}

#menuButton.open .menu-lines {
    background: transparent;
}

#menuButton.open .menu-lines::before {
    transform: translateY(6px) rotate(45deg);
}

#menuButton.open .menu-lines::after {
    transform: translateY(-6px) rotate(-45deg);
}

.hero-section {
    background:
        linear-gradient(90deg, rgba(15, 23, 42, .96) 0%, rgba(15, 23, 42, .88) 42%, rgba(15, 23, 42, .72) 100%),
        radial-gradient(circle at 76% 36%, rgba(34, 211, 238, .23), transparent 34%),
        #020617;
}

.hero-grid {
    opacity: .24;
    background-image:
        linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(90deg, #000 0%, transparent 80%);
}

.hero-media {
    pointer-events: none;
}

.hero-logo-watermark {
    position: absolute;
    right: max(2rem, 7vw);
    top: 17%;
    width: min(42vw, 540px);
    max-width: 52rem;
    border-radius: 36px;
    opacity: .16;
    filter: saturate(1.15);
}

.mock-screen {
    position: absolute;
    display: grid;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 28px;
    background: rgba(15, 23, 42, .62);
    box-shadow: 0 24px 80px rgba(8, 145, 178, .18);
    backdrop-filter: blur(18px);
}

.mock-screen-a {
    right: max(2rem, 10vw);
    bottom: 17%;
    width: min(34vw, 380px);
    min-height: 260px;
    padding: 24px;
}

.mock-screen-b {
    right: max(2rem, 33vw);
    bottom: 10%;
    width: min(22vw, 230px);
    min-height: 190px;
    padding: 20px;
}

.screen-top,
.screen-line,
.screen-row,
.screen-chart {
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
}

.screen-top {
    width: 46%;
    height: 18px;
    background: linear-gradient(90deg, #22d3ee, #2563eb);
}

.screen-top.small {
    width: 62%;
}

.screen-line {
    height: 12px;
}

.screen-row {
    height: 62px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .1);
}

.screen-row.short {
    width: 78%;
}

.screen-chart {
    display: flex;
    align-items: end;
    gap: 10px;
    height: 108px;
    padding: 14px;
    border-radius: 18px;
}

.screen-chart span {
    flex: 1;
    border-radius: 999px 999px 6px 6px;
    background: linear-gradient(180deg, #22d3ee, #2563eb);
}

.screen-chart span:nth-child(1) {
    height: 35%;
}

.screen-chart span:nth-child(2) {
    height: 70%;
}

.screen-chart span:nth-child(3) {
    height: 50%;
}

.screen-chart span:nth-child(4) {
    height: 88%;
}

.status-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #22d3ee;
    box-shadow: 0 0 0 7px rgba(34, 211, 238, .16);
}

.section-band {
    position: relative;
}

.section-kicker {
    display: inline-flex;
    border-radius: 999px;
    background: rgba(8, 145, 178, .1);
    color: #0e7490;
    padding: .55rem .9rem;
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0;
}

.section-kicker.dark {
    background: rgba(34, 211, 238, .12);
    color: #a5f3fc;
}

.service-card,
.project-card,
.contact-panel {
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

.service-card {
    padding: 28px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.service-card:hover,
.project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 182, 212, .42);
    box-shadow: 0 20px 58px rgba(8, 145, 178, .16);
}

.service-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    background: #ecfeff;
    color: #0891b2;
    font-weight: 950;
}

.service-card h3,
.project-card h3,
.timeline-item h3 {
    margin-top: 22px;
    font-size: 1.18rem;
    font-weight: 950;
    letter-spacing: 0;
}

.service-card p,
.project-card p,
.timeline-item p {
    margin-top: 10px;
    color: #64748b;
    font-size: .98rem;
    font-weight: 600;
    line-height: 1.7;
}

.timeline {
    display: grid;
    gap: 18px;
}

.timeline-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
    padding: 24px;
}

.timeline-item span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #22d3ee, #2563eb);
    color: #fff;
    font-weight: 950;
}

.timeline-item h3 {
    margin-top: 0;
    color: #fff;
}

.timeline-item p {
    color: #cbd5e1;
}

.project-card {
    overflow: hidden;
    padding: 28px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.project-bar {
    height: 8px;
    width: 84px;
    border-radius: 999px;
    background: linear-gradient(90deg, #22d3ee, #2563eb);
}

.contact-line {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.contact-line span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #06b6d4;
}

.contact-panel {
    display: grid;
    gap: 20px;
    padding: 28px;
}

.contact-panel label {
    display: grid;
    gap: 8px;
}

.contact-panel label span {
    font-size: .84rem;
    font-weight: 950;
    color: #334155;
}

.contact-panel input,
.contact-panel select,
.contact-panel textarea {
    width: 100%;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background: #f8fafc;
    padding: 14px 15px;
    font-weight: 700;
    color: #0f172a;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.contact-panel input:focus,
.contact-panel select:focus,
.contact-panel textarea:focus {
    border-color: #06b6d4;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, .12);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .5s ease, transform .5s ease;
}

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

@media (max-width: 900px) {
    .hero-logo-watermark {
        right: -12rem;
        top: 22%;
        width: 760px;
    }

    .mock-screen {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal,
    .service-card,
    .project-card {
        transition: none;
    }
}
