:root {
    color-scheme: dark;
    font-family: 'Montserrat', sans-serif;
    background-color: #030712;
    color: #ffffff;
    --text-soft: #98a1bd;
    --border: rgba(255, 255, 255, 0.08);
    --accent: #6d8bff;
    --accent-2: #5dd9ff;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at top, rgba(111, 118, 255, 0.18), transparent 32%),
        radial-gradient(circle at right, rgba(29, 211, 255, 0.13), transparent 24%),
        #030712;
    color: #ffffff;
}

a {
    color: inherit;
}

.page-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 32px;
    background: rgba(4, 9, 20, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-brand img {
    height: 46px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-size: 1rem;
    font-weight: 700;
}

.brand-tag {
    font-size: 0.78rem;
    color: var(--text-soft);
}

.page-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
}

.page-nav a {
    color: #dbe2ff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 200ms ease, transform 200ms ease;
}

.page-nav a:hover {
    color: white;
    transform: translateY(-1px);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid rgba(93, 217, 255, 0.3);
    background: linear-gradient(135deg, rgba(57, 124, 255, 0.15), rgba(11, 18, 33, 0.75));
    color: #dbe2ff;
    font-weight: 600;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(45, 115, 255, 0.22);
}

main {
    padding-top: 110px;
}

section {
    padding: 80px 32px;
    max-width: 1240px;
    margin: 0 auto;
}

.hero {
    min-height: calc(100vh - 110px);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(41, 68, 255, 0.22), transparent 28%),
        radial-gradient(circle at bottom right, rgba(5, 227, 255, 0.16), transparent 30%);
    pointer-events: none;
}

.hero-copy,
.hero-media {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8aa3ff;
    font-size: 0.92rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(3rem, 4.5vw, 4.4rem);
    line-height: 1.02;
    max-width: 740px;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero h1 span {
    background: linear-gradient(90deg, #6d8bff, #4de0ff, #bd6bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    max-width: 620px;
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn-primary {
    background: linear-gradient(135deg, #5dd9ff, #6d8bff);
    color: #06142d;
}

.btn-secondary {
    border: 1px solid rgba(93, 217, 255, 0.25);
    color: #dbe2ff;
    background: rgba(10, 18, 34, 0.9);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(35, 91, 150, 0.16);
}

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

.highlight-card {
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 12, 24, 0.7);
    border-radius: 20px;
    backdrop-filter: blur(12px);
}

.highlight-card strong {
    display: block;
    margin-bottom: 10px;
    color: white;
    font-size: 0.98rem;
}

.highlight-card p {
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.75;
}

.hero-media {
    min-height: 580px;
    border-radius: 32px;
    background-image: url('../assets/images/background_image.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 13, 29, 0.16), rgba(2, 7, 16, 0.9));
}

.hero-panel {
    position: absolute;
    bottom: 36px;
    left: 32px;
    right: 32px;
    padding: 28px;
    border-radius: 28px;
    background: rgba(4, 11, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.panel-label {
    font-size: 0.95rem;
    color: #8aa3ff;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.panel-list {
    list-style: none;
    display: grid;
    gap: 16px;
}

.panel-list li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #e6ecff;
}

.panel-list li strong {
    font-size: 1rem;
}

.panel-list li span {
    color: var(--text-soft);
    font-size: 0.91rem;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.section-header span {
    color: #7f94ff;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.82rem;
}

.section-header h2 {
    font-size: clamp(2rem, 2.75vw, 2.8rem);
    line-height: 1.05;
    max-width: 780px;
}

.problem-grid,
.service-grid,
.project-grid,
.process-grid,
.benefits-grid,
.contact-cards {
    display: grid;
    gap: 20px;
}

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

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

.process-grid,
.benefits-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card,
.service-card,
.project-card,
.process-step,
.benefit-card,
.contact-card {
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 16, 28, 0.72);
    box-shadow: var(--shadow);
}

.card strong,
.service-card h3,
.project-card h3,
.process-step h3,
.benefit-card h3 {
    display: block;
    margin-bottom: 14px;
    font-size: 1.05rem;
}

.card p,
.service-card p,
.project-card p,
.process-step p,
.benefit-card p,
.contact-card small {
    color: var(--text-soft);
    line-height: 1.85;
    font-size: 0.96rem;
}

.service-card {
    min-height: 230px;
}

.service-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-radius: 18px;
    background: rgba(93, 217, 255, 0.12);
    color: #7ddfff;
}

.project-badge {
    display: inline-flex;
    margin-top: 18px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    color: #b7d3ff;
    background: rgba(57, 124, 255, 0.12);
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-list span {
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #dbe2ff;
    font-size: 0.92rem;
}

.process-step {
    text-align: center;
    min-height: 220px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #627cff, #4de0ff);
    color: #081627;
    font-weight: 800;
}

.contact-panel {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: start;
    padding: 36px;
    background: rgba(8, 13, 21, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    box-shadow: var(--shadow);
}

.contact-copy .small-title {
    display: inline-block;
    margin-bottom: 16px;
    text-transform: uppercase;
    color: #7f94ff;
    letter-spacing: 0.14em;
    font-size: 0.82rem;
}

.contact-copy h2 {
    font-size: clamp(2rem, 2.75vw, 2.8rem);
    line-height: 1.05;
    margin-bottom: 20px;
}

.contact-copy p {
    max-width: 620px;
    color: var(--text-soft);
    line-height: 1.85;
}

.contact-cards {
    display: grid;
    gap: 18px;
}

.contact-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
    padding: 22px;
    text-decoration: none;
    color: inherit;
    transition: transform 180ms ease, background 180ms ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.04);
}

.contact-card span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: rgba(29, 211, 255, 0.14);
    font-size: 1.4rem;
}

.contact-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 40px 32px 60px;
    max-width: 1240px;
    margin: 0 auto;
    color: var(--text-soft);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

@media (max-width: 1080px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        align-items: flex-start;
    }

    .hero-media {
        min-height: 520px;
    }

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

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

    .process-grid,
    .benefits-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .page-header {
        padding: 18px 24px;
        justify-content: center;
    }

    .page-nav ul {
        justify-content: center;
        gap: 12px;
    }

    .page-nav a {
        font-size: 0.9rem;
    }

    section {
        padding: 68px 24px;
    }

    .hero-media {
        min-height: 460px;
    }

    .hero-actions {
        flex-wrap: wrap;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        left: 24px;
        right: 24px;
        bottom: 28px;
    }
}

@media (max-width: 820px) {
    .page-header {
        flex-direction: column;
        align-items: stretch;
        padding: 18px 20px;
    }

    .page-nav ul {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .page-header .header-brand,
    .page-header .header-cta {
        width: 100%;
    }

    .page-header .header-brand {
        justify-content: center;
    }

    section {
        padding: 58px 20px;
    }

    .hero-media {
        min-height: 420px;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .hero-text {
        font-size: 0.98rem;
    }

    .problem-grid,
    .service-grid,
    .project-grid,
    .process-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .hero-panel {
        left: 20px;
        right: 20px;
    }

    .contact-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .page-header {
        padding: 16px 16px;
    }

    .page-nav,
    .header-cta {
        display: none;
    }

    .page-nav ul {
        gap: 8px;
    }

    .page-nav a {
        font-size: 0.85rem;
        padding: 8px 0;
    }

    section {
        padding: 48px 16px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-text,
    .section-header h2,
    .contact-copy h2 {
        font-size: 0.95rem;
    }

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

    .btn {
        width: 100%;
    }

    .hero-media {
        min-height: 340px;
    }

    .hero-panel {
        left: 16px;
        right: 16px;
        bottom: 18px;
        padding: 22px;
    }

    .highlight-card,
    .card,
    .service-card,
    .project-card,
    .process-step,
    .benefit-card,
    .contact-card {
        padding: 20px;
    }

    .page-footer {
        padding: 32px 16px 48px;
    }
}
