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

:root {
    --bg: #09111f;
    --bg-soft: #101c31;
    --panel: rgba(10, 19, 36, 0.78);
    --panel-strong: rgba(14, 27, 49, 0.94);
    --line: rgba(140, 184, 255, 0.16);
    --text: #edf4ff;
    --muted: #a9b8d0;
    --accent: #78b7ff;
    --accent-strong: #4f8dff;
    --accent-warm: #83ffd3;
    --shadow: 0 24px 80px rgba(1, 7, 20, 0.45);
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(79, 141, 255, 0.16), transparent 28%),
        radial-gradient(circle at 85% 20%, rgba(131, 255, 211, 0.14), transparent 18%),
        linear-gradient(180deg, #07101c 0%, #09111f 48%, #0d1728 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 92%);
}

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

img {
    display: block;
    max-width: 100%;
}

main {
    padding-top: 10.4rem;
}

section {
    padding: 8rem 7%;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.8rem 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: rgba(7, 13, 24, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1000;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 1.4rem;
    min-width: 0;
}

.brand img {
    width: 5.2rem;
    height: 5.2rem;
    object-fit: cover;
    border-radius: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.brand strong,
.brand span,
.site-nav a,
.nav-cta,
.btn,
.term-card h3,
.profile-card h3,
.info-card h3,
.solution-panel h3,
.contact-card h3,
.project-card h3,
.brand-card p,
.hero-note h2 {
    font-family: 'Space Grotesk', sans-serif;
}

.brand strong {
    display: block;
    font-size: 2rem;
    line-height: 1.1;
}

.brand span {
    display: block;
    margin-top: 0.3rem;
    font-size: 1.2rem;
    color: var(--muted);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.2rem;
}

.site-nav a {
    font-size: 1.5rem;
    color: var(--muted);
    transition: color 0.25s ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.site-nav a:focus-visible {
    color: var(--text);
}

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.nav-cta {
    padding: 1.2rem 2rem;
    font-size: 1.4rem;
    color: #06101d;
    background: linear-gradient(135deg, var(--accent-warm), var(--accent));
    box-shadow: 0 14px 30px rgba(80, 136, 255, 0.22);
}

.nav-cta:hover,
.btn:hover {
    transform: translateY(-2px);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(32rem, 0.85fr);
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 10.4rem);
}

.eyebrow {
    margin-bottom: 1.8rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.26rem;
    text-transform: uppercase;
    color: var(--accent-warm);
}

.hero h1,
.section-heading h2,
.contact-copy h2 {
    font-size: clamp(3.6rem, 5vw, 7rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.hero h1 span,
.section-heading h2 span {
    color: var(--accent);
}

.hero-text,
.section-heading p,
.info-card p,
.solution-panel p,
.term-card p,
.profile-card p,
.contact-copy p,
.contact-card p,
.brand-card span,
.trust-bar span,
.check-list span {
    font-size: 1.65rem;
    line-height: 1.8;
    color: var(--muted);
}

.hero-text {
    max-width: 70rem;
    margin-top: 2.2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    margin: 3rem 0 2.4rem;
}

.btn {
    min-height: 5.4rem;
    padding: 0 2.4rem;
    border: 1px solid transparent;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.btn-primary {
    color: #06101d;
    background: linear-gradient(135deg, var(--accent-warm), var(--accent));
}

.btn-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.trust-bar span,
.check-list span {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.03);
}

.trust-bar i,
.check-list i {
    color: var(--accent-warm);
}

.hero-aside {
    display: grid;
    gap: 2rem;
}

.brand-card,
.hero-note,
.info-card,
.solution-panel,
.term-card,
.profile-card,
.contact-card,
.project-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(16, 28, 49, 0.88), rgba(9, 18, 33, 0.95));
    border: 1px solid var(--line);
    border-radius: 2.8rem;
    box-shadow: var(--shadow);
}

.brand-card::after,
.hero-note::after,
.info-card::after,
.solution-panel::after,
.term-card::after,
.profile-card::after,
.contact-card::after,
.project-card::after {
    content: "";
    position: absolute;
    inset: auto -10% -55% auto;
    width: 16rem;
    height: 16rem;
    background: radial-gradient(circle, rgba(120, 183, 255, 0.2), transparent 70%);
    pointer-events: none;
}

.brand-card {
    padding: 2.6rem;
}

.brand-card-top {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin-bottom: 2.4rem;
}

.brand-card-top img {
    width: 7.2rem;
    height: 7.2rem;
    object-fit: cover;
    border-radius: 2rem;
}

.brand-card p {
    font-size: 2.2rem;
    font-weight: 700;
}

.brand-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

.brand-card-grid article {
    padding: 1.6rem;
    border-radius: 1.8rem;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-card-grid strong,
.process-steps strong {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 1.65rem;
}

.brand-card-grid span,
.process-steps p {
    font-size: 1.45rem;
    line-height: 1.7;
    color: var(--muted);
}

.hero-note {
    padding: 2.6rem;
}

.hero-note h2 {
    margin-bottom: 1.2rem;
    font-size: clamp(2.8rem, 4vw, 3.8rem);
    line-height: 1.1;
}

.hero-note p:last-child {
    font-size: 1.55rem;
    line-height: 1.75;
}

.section-block {
    position: relative;
}

.alt-block {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0));
}

.section-heading {
    max-width: 80rem;
    margin-bottom: 4rem;
}

.section-heading h2 {
    margin-bottom: 1.6rem;
    font-size: clamp(3.2rem, 4vw, 5.2rem);
}

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

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.info-card,
.term-card,
.profile-card {
    padding: 2.8rem;
}

.project-card {
    padding: 2.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card i {
    margin-bottom: 1.8rem;
    font-size: 2.6rem;
    color: var(--accent);
}

.project-icon {
    width: 5.6rem;
    height: 5.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.8rem;
    background: rgba(120, 183, 255, 0.12);
    border: 1px solid rgba(120, 183, 255, 0.18);
}

.project-icon i {
    font-size: 2.2rem;
    color: var(--accent-warm);
}

.info-card h3,
.solution-panel h3,
.term-card h3,
.profile-card h3,
.contact-card h3,
.project-card h3 {
    margin-bottom: 1.4rem;
    font-size: 2.2rem;
    line-height: 1.15;
}

.project-label {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.24rem;
    text-transform: uppercase;
    color: var(--accent);
}

.project-card p {
    font-size: 1.55rem;
    line-height: 1.75;
    color: var(--muted);
}

.project-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 4.8rem;
    padding: 0 1.8rem;
    border-radius: 999px;
    font-size: 1.45rem;
    font-weight: 700;
    color: #06101d;
    background: linear-gradient(135deg, var(--accent-warm), var(--accent));
    box-shadow: 0 14px 30px rgba(80, 136, 255, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-link:hover,
.project-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(80, 136, 255, 0.24);
}

.solution-layout,
.profile-layout,
.contact-shell {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.solution-panel {
    padding: 3rem;
}

.check-list {
    display: grid;
    gap: 1.2rem;
}

.process-steps {
    display: grid;
    gap: 1.6rem;
}

.process-steps article {
    padding: 1.8rem;
    border-radius: 1.8rem;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.terms-grid .highlight {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(20, 44, 76, 0.96), rgba(10, 19, 36, 0.98));
}

.profile-card strong {
    color: var(--text);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.tag-list span {
    padding: 1rem 1.3rem;
    border-radius: 999px;
    background: rgba(120, 183, 255, 0.1);
    border: 1px solid rgba(120, 183, 255, 0.18);
    font-size: 1.35rem;
    color: #d7e8ff;
}

.contact-block {
    padding-bottom: 10rem;
}

.contact-shell {
    padding: 3.2rem;
    border-radius: 3rem;
    background:
        linear-gradient(135deg, rgba(18, 36, 63, 0.96), rgba(8, 15, 28, 0.96)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.contact-copy h2 {
    margin-bottom: 1.4rem;
    font-size: clamp(3rem, 4vw, 4.8rem);
}

.contact-cards {
    display: grid;
    gap: 2rem;
}

.contact-card {
    padding: 2.6rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-card a,
.text-link {
    font-size: 1.55rem;
    color: var(--accent-warm);
    transition: color 0.25s ease;
}

.pending-contact {
    font-size: 1.55rem;
    color: var(--muted);
}

.contact-card a:hover,
.text-link:hover {
    color: var(--text);
}

.contact-card.emphasis {
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(79, 141, 255, 0.12), rgba(131, 255, 211, 0.08));
}

@media (max-width: 1180px) {
    .site-header {
        padding-inline: 5%;
    }

    section {
        padding-inline: 5%;
    }

    .hero,
    .solution-layout,
    .profile-layout,
    .contact-shell {
        grid-template-columns: 1fr;
    }

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

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

    .site-nav {
        width: 100%;
        justify-content: flex-start;
    }

    main {
        padding-top: 17rem;
    }

    .hero {
        min-height: auto;
    }

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

    .terms-grid .highlight {
        grid-column: span 1;
    }
}

@media (max-width: 680px) {
    html {
        font-size: 56.25%;
    }

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

    .site-header {
        padding-top: 1.6rem;
    }

    .brand {
        align-items: flex-start;
    }

    .brand img {
        width: 4.8rem;
        height: 4.8rem;
    }

    .nav-cta {
        width: 100%;
    }

    .hero-actions,
    .trust-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .contact-shell {
        padding: 2.4rem;
    }
}
