:root {
    --white: #ffffff;
    --brand-blue: #6680ff;
    --brand-blue-strong: #4f6eff;
    --blue-soft: rgba(102, 128, 255, 0.16);
    --bg: #070a0f;
    --bg-soft: #0c1017;
    --surface: rgba(15, 19, 27, 0.78);
    --surface-solid: #10141c;
    --surface-muted: #171c25;
    --section-dark: #05070a;
    --section-dark-2: #0d1118;
    --primary: #f7f8fb;
    --primary-dark: #ffffff;
    --accent: #6680ff;
    --ink: #f7f8fb;
    --muted: #aeb5c3;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.2);
    --glass: rgba(16, 20, 28, 0.72);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    --nav-bg: rgba(9, 12, 18, 0.82);
    --nav-border: rgba(255, 255, 255, 0.14);
    --card-bg: rgba(14, 18, 26, 0.78);
    --grid-color: rgba(255, 255, 255, 0.055);
    --font-head: "Lexend Rounded", sans-serif;
    --font-body: "Lexend Rounded", sans-serif;
    --font-logo: "Lexend Rounded", sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 4%, rgba(102, 128, 255, 0.24), transparent 24rem),
        linear-gradient(180deg, var(--bg) 0%, #0b0f15 44%, #10151d 72%, #05070a 100%);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.35s ease, color 0.35s ease;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
}

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

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

.navbar {
    position: fixed;
    top: 16px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s var(--ease);
}

.nav-shell {
    width: min(1160px, calc(100% - 40px));
    min-height: 86px;
    margin: 0 auto;
    padding: 12px 18px 10px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--nav-bg);
    border: 1px solid var(--nav-border);
    border-radius: 999px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(22px);
}

.navbar.scrolled .nav-shell {
    background: var(--nav-bg);
}

.logo-mark {
    display: inline-flex;
    width: 132px;
    height: 78px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease);
}

.logo-mark:hover,
.logo-mark:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 0 1px rgba(102, 128, 255, 0.26), 0 14px 34px rgba(0, 0, 0, 0.22);
    transform: translateY(-1px);
}

.logo-mark:focus-visible {
    outline: 2px solid rgba(102, 128, 255, 0.72);
    outline-offset: 4px;
}

.logo-image {
    display: block;
    width: auto;
    height: 78px;
    object-fit: contain;
    pointer-events: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-links a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--blue-soft);
    color: var(--brand-blue-strong);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--brand-blue-strong);
    cursor: pointer;
    place-items: center;
}

.bar {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3px auto;
    border-radius: 4px;
    background: #ffffff;
    transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: center;
    padding: 126px 0 80px;
    overflow: hidden;
    scroll-margin-top: 110px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.grid-lines {
    position: absolute;
    inset: 20% 0 auto;
    height: 58%;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at 72% 48%, black, transparent 64%);
}

.hero-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
    align-items: center;
    gap: 64px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-bottom: 20px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--surface);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    font-family: var(--font-head);
    line-height: 1.02;
    letter-spacing: 0;
    text-wrap: balance;
}

h1 {
    max-width: 760px;
    font-size: clamp(2.9rem, 4.6vw, 4.45rem);
    font-weight: 800;
}

.accent-text {
    color: var(--brand-blue-strong);
}

.lead {
    max-width: 660px;
    margin-top: 26px;
    color: var(--muted);
    font-size: 1.18rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-strong));
    color: var(--white);
    box-shadow: 0 18px 40px rgba(102, 128, 255, 0.32);
}

.btn-secondary {
    background: var(--surface);
    color: var(--primary);
    box-shadow: inset 0 0 0 1px var(--line-strong);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.trust-row span {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.hero-panel {
    position: relative;
    min-height: 520px;
}

.browser-card {
    position: absolute;
    inset: 42px 0 0 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--card-bg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    transform: rotate(2deg);
}

.browser-top {
    display: flex;
    gap: 8px;
    height: 48px;
    align-items: center;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
}

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

.browser-content {
    padding: 24px;
}

.mini-nav,
.preview-hero,
.preview-grid span,
.preview-list span {
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(102, 128, 255, 0.18), rgba(17, 21, 27, 0.06));
}

.mini-nav {
    width: 58%;
    height: 18px;
    margin-bottom: 24px;
}

.preview-hero {
    height: 150px;
    margin-bottom: 18px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.preview-grid span {
    height: 82px;
}

.preview-list {
    display: grid;
    gap: 10px;
}

.preview-list span {
    width: 100%;
    height: 16px;
}

.preview-list span:nth-child(2) {
    width: 78%;
}

.preview-list span:nth-child(3) {
    width: 48%;
}

.floating-note {
    position: absolute;
    z-index: 2;
    width: 180px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(20px);
}

.floating-note strong {
    display: block;
    color: var(--brand-blue-strong);
    font-family: var(--font-head);
    font-size: 1.6rem;
    line-height: 1;
}

.floating-note span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.note-top {
    top: 6px;
    right: 16px;
}

.note-bottom {
    left: -4px;
    bottom: 24px;
}

.section {
    padding: 116px 0;
    scroll-margin-top: 110px;
}

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

.section-heading h2 {
    font-size: clamp(2.3rem, 5vw, 4.4rem);
}

.section-heading p {
    margin-top: 18px;
    color: var(--muted);
    font-size: 1.05rem;
}

.section-heading.split {
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 0.55fr;
    gap: 44px;
    align-items: end;
}

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

.service-card,
.price-card,
.work-card,
.timeline-item,
.contact-form {
    border: 1px solid var(--line);
    background: var(--card-bg);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(20px);
}

.service-card {
    min-height: 310px;
    padding: 26px;
    border-radius: 8px;
    transition: transform 0.3s var(--ease), background 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    background: var(--surface-solid);
}

.card-index {
    display: block;
    margin-bottom: 54px;
    color: rgba(102, 128, 255, 0.55);
    font-family: var(--font-head);
    font-size: 2.7rem;
    font-weight: 800;
}

.service-card h3,
.work-card h3,
.timeline-item h3,
.price-card h3 {
    font-size: 1.45rem;
}

.service-card p,
.work-card p,
.timeline-item p,
.price-card p,
.price-card li,
.contact-copy p {
    color: var(--muted);
}

.service-card p {
    margin-top: 14px;
}

.dark-band {
    background:
        radial-gradient(circle at 18% 16%, rgba(102, 128, 255, 0.22), transparent 26rem),
        linear-gradient(135deg, var(--section-dark), var(--section-dark-2));
    color: var(--white);
}

.dark-band .eyebrow {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.dark-band .section-heading p,
.dark-band .timeline-item p {
    color: rgba(255, 255, 255, 0.72);
}

.process-layout {
    display: grid;
    grid-template-columns: 0.82fr 1fr;
    gap: 64px;
    align-items: start;
}

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

.timeline-item {
    position: relative;
    padding: 26px 26px 26px 74px;
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.timeline-item span {
    position: absolute;
    top: 25px;
    left: 24px;
    color: var(--brand-blue);
    font-family: var(--font-head);
    font-weight: 800;
}

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

.work-card {
    overflow: hidden;
    border-radius: 8px;
}

.work-visual {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: var(--surface-muted);
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent),
        linear-gradient(45deg, rgba(102, 128, 255, 0.22) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(17, 21, 27, 0.09) 25%, transparent 25%);
    background-size: auto, 34px 34px, 34px 34px;
}

.work-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 7, 10, 0.04), rgba(5, 7, 10, 0.5)),
        radial-gradient(circle at 50% 40%, transparent, rgba(5, 7, 10, 0.32));
    pointer-events: none;
}

.logo-visual,
.link-visual {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 45%, rgba(102, 128, 255, 0.22), transparent 15rem),
        linear-gradient(135deg, #0a0e14, #141b26);
}

.logo-visual img {
    width: min(180px, 54%);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.32));
}

.link-visual span {
    color: var(--brand-blue-strong);
    font-family: var(--font-head);
    font-size: clamp(2.6rem, 7vw, 4.5rem);
    font-weight: 800;
    letter-spacing: 0;
}

.link-visual::before {
    content: "";
    position: absolute;
    inset: 28px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
}

.work-copy {
    padding: 24px;
}

.work-copy span {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--brand-blue-strong);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.work-copy p {
    margin-top: 12px;
}

.work-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.work-actions a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.25s var(--ease), border-color 0.25s ease, background 0.25s ease;
}

.work-actions a:hover,
.work-actions a:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(102, 128, 255, 0.62);
    background: var(--blue-soft);
}

.work-actions a:focus-visible {
    outline: 2px solid rgba(102, 128, 255, 0.72);
    outline-offset: 3px;
}

.pricing-section {
    background: linear-gradient(180deg, transparent, rgba(102, 128, 255, 0.08));
}

.pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
}

.price-card {
    position: relative;
    padding: 30px;
    border-radius: 8px;
}

.price-card.featured {
    background: linear-gradient(180deg, var(--surface-solid), rgba(102, 128, 255, 0.12));
    border-color: rgba(102, 128, 255, 0.45);
    transform: translateY(-14px);
}

.popular {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--brand-blue-strong);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.price {
    margin-top: 18px;
    color: var(--brand-blue-strong);
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
}

.price-desc {
    min-height: 78px;
    margin-top: 12px;
}

.price-card ul {
    display: grid;
    gap: 10px;
    margin-top: 24px;
    padding: 0;
    list-style: none;
}

.price-card li {
    position: relative;
    padding-left: 22px;
    font-weight: 600;
}

.price-card li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-blue-strong);
}

.contact-section {
    color: var(--white);
    background:
        radial-gradient(circle at 18% 10%, rgba(102, 128, 255, 0.2), transparent 24rem),
        linear-gradient(135deg, var(--section-dark), var(--section-dark-2));
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.82fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-copy h2 {
    font-size: clamp(2.3rem, 5vw, 4.2rem);
}

.contact-copy p {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 1.06rem;
}

.contact-links {
    display: grid;
    max-width: 440px;
    gap: 12px;
    margin-top: 28px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 72px;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--white);
    text-decoration: none;
    transition: transform 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    border-color: rgba(102, 128, 255, 0.72);
    background: rgba(255, 255, 255, 0.12);
}

.social-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 8px;
    background: rgba(102, 128, 255, 0.18);
    color: #ffffff;
}

.social-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.social-icon svg path:last-child:first-child {
    fill: currentColor;
    stroke: none;
}

.social-link strong,
.social-link small {
    display: block;
}

.social-link strong {
    font-weight: 800;
}

.social-link small {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    font-weight: 700;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 28px;
    border-color: rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.88rem;
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #101318;
    outline: none;
    padding: 14px 15px;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.contact-form option {
    color: #101318;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(102, 128, 255, 0.18);
}

.footer {
    padding: 28px 0;
    background: var(--section-dark);
    color: rgba(255, 255, 255, 0.7);
}

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

.footer a {
    color: var(--white);
    font-weight: 800;
    text-decoration: none;
}

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

.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: var(--delay, 0ms);
}

.js .reveal {
    opacity: 0;
    transform: translateY(28px);
}

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

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

@media (max-width: 980px) {
    .nav-shell {
        min-height: 82px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 104px;
        right: 20px;
        left: 20px;
        display: grid;
        gap: 8px;
        padding: 18px;
        border: 1px solid var(--nav-border);
        border-radius: 24px;
        background: var(--nav-bg);
        box-shadow: var(--shadow);
        transform: translateY(-16px);
        opacity: 0;
        pointer-events: none;
        backdrop-filter: blur(20px);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        min-height: 48px;
        justify-content: center;
        font-size: 1rem;
    }

    .hero-layout,
    .process-layout,
    .contact-layout,
    .section-heading.split {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        min-height: 430px;
    }

    .browser-card {
        inset: 36px 0 0;
    }

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

    .work-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .price-card.featured {
        transform: none;
    }
}

@media (max-width: 640px) {
    .container,
    .nav-shell {
        width: min(100% - 28px, 1160px);
    }

    .navbar {
        top: 10px;
    }

    .hero {
        padding: 118px 0 64px;
        scroll-margin-top: 92px;
    }

    .section {
        scroll-margin-top: 92px;
    }

    h1 {
        font-size: clamp(1.86rem, 8.8vw, 2.16rem);
        overflow-wrap: normal;
        word-break: normal;
    }

    .logo-mark {
        width: 112px;
        height: 66px;
    }

    .logo-image {
        height: 66px;
    }

    .lead {
        font-size: 1rem;
    }

    .actions,
    .actions .btn,
    .contact-form .btn {
        width: 100%;
    }

    .section {
        padding: 78px 0;
    }

    .section-heading h2,
    .contact-copy h2 {
        font-size: 2.25rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

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

    .browser-card {
        border-radius: 18px;
        transform: rotate(0);
    }

    .preview-hero {
        height: 110px;
    }

    .preview-grid {
        grid-template-columns: 1fr;
    }

    .preview-grid span {
        height: 46px;
    }

    .floating-note {
        width: 148px;
        padding: 12px;
    }

    .floating-note strong {
        font-size: 1.24rem;
    }

    .note-top {
        right: 4px;
    }

    .note-bottom {
        left: 4px;
        bottom: 0;
    }

    .work-visual {
        height: 170px;
    }

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

    .footer-links {
        gap: 12px;
    }
}
