:root {
    --light-grey: #F6F7F8;
    --blue: #5A3DFE;
    --blue-light: #E3E2FE;
    --white: #FFF;
    --black: #313132;
}

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

body {
    font-family: Arial, -apple-system, Roboto, Helvetica, sans-serif;
    background: var(--light-grey);
    color: var(--black);
}

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

/* ─── HEADER ─────────────────────────────────────── */
.site-header {
    background: var(--white);
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header__logo {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.96px;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav__link {
    display: flex;
    align-items: center;
    padding: 16px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.96px;
    color: var(--black);
    white-space: nowrap;
    transition: opacity 0.2s;
}

.site-nav__link:hover { opacity: 0.7; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
}

/* ─── PAGE WRAPPER ────────────────────────────────── */
.page-content { max-width: 1400px; margin: 0 auto; }

.section-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── IT BANNER ───────────────────────────────────── */
.it-banner {
    background: var(--light-grey);
    padding: 30px 160px 8px 160px;
}

.it-banner__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1080px;
    margin: 0 auto;
    padding: 41px 50px;
    border-radius: 32px;
    background: var(--blue-light);
    cursor: pointer;
    transition: opacity 0.2s;
}

.it-banner__link:hover { opacity: 0.85; }

.it-banner__text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.88px;
    color: var(--blue);
    line-height: 24px;
}

.it-banner__arrow { flex-shrink: 0; }

/* ─── HERO ────────────────────────────────────────── */
.hero {
    background: var(--light-grey);
    padding: 84px 160px 100px;
}

.section-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.48px;
    color: var(--black);
}

.section-subtitle {
    width: 64%;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.64px;
    color: var(--black);
}

.hero__cards {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 48px;
}

.hero__company-card {
    width: 100%;
    background: var(--white);
    border-radius: 32px;
    padding: 40px 50px 44px 50px;
}

.hero__company-text {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.64px;
    color: var(--black);
}

.hero__company-name { font-weight: 900; }
.hero__company-we { font-weight: 900; color: var(--blue); }

.hero__info-card {
    flex: 1 1 calc(50% - 8px);
    min-width: 260px;
    background: var(--white);
    border-radius: 32px;
    padding: 40px 58px 40px 50px;
}

.hero__info-card p {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.64px;
    color: var(--black);
}

.hero__notice {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.hero__notice-headline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero__notice-headline strong {
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 0.64px;
}

.hero__notice-sub {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.64px;
}

/* ─── WHITE SECTION (Expertise + Tech + Focus) ────── */
.white-section { background: var(--white); }

/* ─── EXPERTISE ───────────────────────────────────── */
.expertise {
    padding: 100px 160px 32px 160px;
}

.expertise__cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 50px;
}

.expertise-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 32px;
    overflow: hidden;
    min-height: 246px;
}

.expertise-card--grey { background: var(--light-grey); }
.expertise-card--blue { background: var(--blue-light); }

.expertise-card--blue .expertise-card__desc {
    width: 66%;
}

.expertise-card__left {
    padding: 50px 135px 50px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    position: relative;
}

.expertise-card__title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.44px;
}

.expertise-card__desc {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.64px;
}

.expertise-card__right {
    background: var(--white);
    border-radius: 28px;
    margin: 6px 6px 6px 7px;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.expertise-card__icon {
    position: absolute;
    top: 17px;
    right: 20px;
    opacity: 0.9;
}

.expertise-card__list-label {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.64px;
    padding-top: 4px;
}

.expertise-card__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.expertise-card__list li {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.64px;
    padding-left: 14px;
    position: relative;
}

.expertise-card__list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--black);
}

/* ─── TECH STACK ──────────────────────────────────── */
.tech-stack {
    padding: 84px 160px 39px 160px;
}

.tech-stack .section-subtitle {
    width: 62%;
}

.tech-stack__columns {
    display: flex;
    gap: 16px;
    margin-top: 50px;
    align-items: flex-start;
}

.tech-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #F6F7F8;
    border-radius: 32px;
}

.tech-column__image-card {
    background: var(--light-grey);
    overflow: hidden;
    height: 210px;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
}

.tech-column__image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.tech-column__chips-section {
    padding: 30px 50px 48px 50px;
}

.tech-column--backend .tech-column__chips-section { margin-top: 0; }

.tech-column__label {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.44px;
}

.tech-column__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-chip {
    display: inline-flex;
    align-items: center;
    padding: 12px 18px;
    border-radius: 190px;
    background: var(--blue);
    color: var(--white);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.56px;
    white-space: nowrap;
}

/* ─── FOCUS ───────────────────────────────────────── */
.focus {
    padding: 84px 160px;
}

.focus__timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 40%;
    margin: 64px auto 0 auto;
    padding-left: 46px;
}

.focus__line {
    position: absolute;
    left: 1px;
    top: -39px;
    width: 26px;
}

.focus__line-top {
    width: 2px;
    height: 44px;
    background: linear-gradient(to bottom, rgba(90,61,254,0.2), #5A3DFE);
    background-image: repeating-linear-gradient(to bottom, transparent, transparent 4px, #5A3DFE 4px, #5A3DFE 10px);
    opacity: 0.6;
    margin: 0 auto;
}

.focus__item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 58px;
}

.focus__dot-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 26px;
    flex-shrink: 0;
    justify-content: flex-start;
    padding-top: 2px;
}

.focus__dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 3px solid var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.focus__dot-inner {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--blue);
}

.focus__connector {
    width: 2px;
    height: 66px;
    margin: 4px 0;
    background-image: repeating-linear-gradient(to bottom, #5A3DFE, #5A3DFE 4px, transparent 4px, transparent 10px);
}

.focus__item-text {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.64px;
    padding-top: 0;
}

.focus__line-bottom {
    width: 2px;
    height: 47px;
    background-image: repeating-linear-gradient(to bottom, #5A3DFE, #5A3DFE 4px, transparent 4px, transparent 10px);
    opacity: 0.6;
    margin: 8px auto;
}

/* ─── PRICING ─────────────────────────────────────── */
.pricing {
    background: var(--light-grey);
    padding: 100px 160px 82px 160px;
}
.pricing .section-inner {
    position: relative;
}

.pricing__legal-note {
    margin-top: 12px;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.56px;
    color: var(--black);
    opacity: 0.7;
    text-align: center;
}

.pricing__tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 32px;
}

.pricing__tabs::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.pricing__tab {
    background: none;
    border: none;
    margin: 16px 16px;
    padding-bottom: 9px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2%;
    color: var(--black);
    cursor: pointer;
    position: relative;
    opacity: 0.5;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.pricing__tab:hover { opacity: 0.75; }

.pricing__tab.active {
    font-weight: 900;
    opacity: 1;
}

.pricing__tab.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--black);
    border-radius: 2px 2px 0 0;
}

.pricing__panels { margin-top: 27px; }

.pricing__panel { display: none; }
.pricing__panel.active { display: block; }

.pricing__cards {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 calc(50% - 8px);
    gap: 15px;
    position: relative;
    max-width: 532px;
    min-width: 280px;
    width: 100%;
    height: 247px;
    padding: 55px 57px 56px 57px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 0 0 1px var(--blue);
    background: var(--white);
    border-radius: 32px;
}

.pricing-card__crown-badge {
    position: absolute;
    top: 11px;
    right: 30px;
    width: 38px;
    height: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-radius: 0 0 6px 6px;
    padding-bottom: 4px;
}

.pricing-card__title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.44px;
    margin-bottom: 10px;
    color: #5A3DFE;
}

.pricing-card__desc {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.64px;
    color: var(--black);
    flex: 1;
}

.pricing-card__price {
    line-height: 22px;
    letter-spacing: 0.64px;
    display: flex;
    align-items: center;
    font-weight: 900;
    font-size: 16px;
    gap: 8px;
}

.pricing-card__price-coin {
    font-size: 20px;
}

.pricing__dots {
    position: absolute;
    right: -9%;
    top: 44%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
}

.pricing__dot {
    width: 5px;
    height: 5px;
    background: #313132;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
    opacity: 0.3;
}

.pricing__dot.active {
    opacity: 1;
    transform: scale(1.2);
}

.pricing__footer {
    margin-top: 52px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing__footer p {
    color: var(--black);
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 4%;
    text-align: center;
    padding-bottom: 1.1rem;
}

/* ─── CONTACTS ────────────────────────────────────── */
.contacts {
    background: var(--black);
    padding: 100px 160px;
}

.contacts__inner {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.contacts__heading { display: flex; flex-direction: column; gap: 24px; }

.contacts__title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.48px;
    color: var(--white);
}

.contacts__subtitle {
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0.64px;
    color: var(--white);
    max-width: 730px;
}

.contacts__details {
    font-size: 16px;
    line-height: 36px;
    letter-spacing: 0.64px;
    color: var(--white);
}

.contacts__details strong { font-weight: 700; }

/* ─── MOBILE ──────────────────────────────────────── */
@media (max-width: 1200px) {
    .it-banner { padding: 24px 40px; }
    .hero { padding: 60px 40px 80px; }
    .expertise { padding: 80px 40px; }
    .tech-stack { padding: 80px 40px; }
    .focus { padding: 80px 40px; }
    .pricing { padding: 80px 40px; }
    .contacts { padding: 80px 40px; }
    .pricing__dots { right: 0; }
}

@media (max-width: 1000px) {
    .site-header__logo { font-size: 14px; }
    .site-nav__link { font-size: 14px; }
    .site-header { padding: 0 20px; height: 72px; }
    .site-nav { display: none; }
    .site-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 55px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 16px 0 24px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        z-index: 99;
    }
    .site-nav.open .site-nav__link { padding: 12px 24px; }
    .hamburger { display: flex; }
}

@media (max-width: 900px) {
    .expertise-card {
        grid-template-columns: 1fr;
    }
    .expertise-card__right {
        margin: 0 6px 6px 6px;
        border-radius: 24px;
    }
    .tech-stack__columns { flex-direction: column; }
    .tech-column { width: 100%; }
    .pricing-card { height: unset; }
}

@media (max-width: 768px) {
    .it-banner { padding: 20px; }
    .it-banner__link { padding: 20px 24px; border-radius: 24px; }
    .it-banner__text { font-size: 16px; letter-spacing: 0.64px; }

    .hero { padding: 40px 20px 60px; }
    .section-title { font-size: 32px; line-height: 1.1; }
    .section-subtitle { font-size: 15px; width: 100%}

    .hero__company-card,
    .hero__info-card { padding: 28px 24px; border-radius: 24px; }

    .hero__info-card { flex: 1 1 100%; }

    .hero__notice { margin-top: 32px; }

    .expertise { padding: 60px 20px; }
    .expertise__cards { margin-top: 32px; }
    .expertise-card { border-radius: 24px; }
    .expertise-card__left { padding: 28px 24px; gap: 12px; }
    .expertise-card__right { padding: 24px; margin: 0 4px 4px 4px; }
    .expertise-card__title { font-size: 18px; }
    .expertise-card__icon { top: 12px; right: 12px; width: 48px; height: 48px; }

    .tech-stack { padding: 60px 20px; }
    .tech-stack__columns { gap: 32px; }
    .tech-column__label { font-size: 18px; }
    .tech-chip { padding: 10px 14px; font-size: 13px; }

    .focus { padding: 60px 20px; }
    .focus__item { gap: 16px; padding-bottom: 20px;}
    .focus__item-text { font-size: 15px; }
    .focus__connector { height: 40px; }
    .focus__timeline { width: 60%; }

    .pricing { padding: 60px 20px; }
    .pricing__tabs { overflow-x: auto; gap: 0; justify-content: start;}
    .pricing__tab { margin: 16px 0; font-size: 14px; padding: 14px 14px 12px; }
    .pricing-card { flex: 1 1 100%; padding: 28px 24px; border-radius: 24px; }
    .pricing-card__title { font-size: 18px; }
    .pricing-card--featured .pricing-card__title { margin-top: 24px; }

    .contacts { padding: 60px 20px; }
    .contacts__title { font-size: 32px; }
    .contacts__details { line-height: 28px; }

    .pricing__dots { display: none; }
    .pricing__footer p { font-size: 13px; }
}

@media (max-width: 550px) {
    .focus__timeline { width: 83%; }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 26px;
    }

    .it-banner__text {
        font-size: 14px;
    }

    .hero__cards {
        margin-top: 28px;
    }

    .site-header {
        padding: 0 16px;
        height: 56px;
    }

    .site-header__logo {
        font-size: 14px;
        line-height: 16px;
        letter-spacing: 6%;
    }

    .hamburger {
        padding: 0
    }

    .it-banner {
        padding: 16px 16px 0;
    }

    .it-banner__text {
        font-size: 12px;
        line-height: 24px;
        letter-spacing: 4%;
    }

    .it-banner__link {
        padding: 12px 16px;
        border-radius: 16px;
    }

    .section-inner {
        padding: 0;
    }
    .hero {
        padding: 54px 18px 60px;
    }
    .section-title {
        font-size: 24px;
        line-height: 28px;
        letter-spacing: 1%;
        text-align: center;
    }
    .section-heading {
        gap: 12px;
    }
    .hero__company-card, .hero__info-card {
        border-radius: 16px;
        padding: 28px 14px;
    }
    .hero__notice {
        gap: 17px;
        text-align: left;
        margin-top: 28px;
    }
    .hero__notice-headline strong {
        font-size: 14px;
        line-height: 16px;
        letter-spacing: 0.64px;
    }
    .hero__notice-headline svg {
        flex-shrink: 0
    }
    .hero__notice-sub {
        font-size: 14px;
        line-height: 16px;
        padding-left: 1.6rem;
        padding-right: 3rem;
    }
    .expertise {
        padding: 60px 20px 26px 20px;
    }
    .expertise__cards {
        margin-top: 29px;
        gap: 22px;
    }
    .expertise-card {
        border-radius: 12px;
    }
    .expertise-card__left {
        padding: 28px 12px 26px 12px;
    }
    .expertise-card__title {
        font-size: 20px;
        line-height: 22px;
    }
    .expertise-card__right {
        padding: 16px 10px 16px 16px;
        border-radius: 12px;
    }
    .expertise-card--blue .expertise-card__desc {
        width: 76%;
    }
    .expertise-card__list-label {
        padding-top: 7px;
    }
    .tech-stack {
        padding: 57px 15px 43px 15px;
    }
    .tech-stack .section-subtitle {
        width: 94%;
        letter-spacing: 1.2px;
    }
    .tech-stack__columns {
        margin-top: 27px;
        gap: 18px;
    }
    .tech-column__image-card {
        height: 185px;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
    }
    .tech-column__image-card img {
        object-position: center;
    }
    .tech-column__chips-section { padding: 27px 16px 26px 18px; }
    .tech-column__chips { margin-top: 22px; }
    .tech-chip { font-size: 16px; padding: 12px 18px; }
    .tech-column__label { font-size: 20px; }
    .tech-column--backend .tech-column__chips-section { margin-top: 14px; }
    .focus { padding: 53px 20px 47px 20px; }
    .focus .section-subtitle {
        font-size: 16px;
        line-height: 18px;
        letter-spacing: 4%;
    }
    .focus__connector { height: 66px; }
    .focus__timeline {
        width: 100%;
        margin: 70px auto 0 auto;
        padding-left: 45px;
    }
    .focus__item { padding-bottom: 37px; width: 97%; max-width: 278px;}
    .focus__item:last-of-type { width: 76%; }
    .focus__line { left: -2px; top: -37px; }
    .pricing { padding: 56px 16px 51px 16px; }
    .pricing .section-heading { gap: 19px; }
    .pricing .section-subtitle{ font-size: 16px; line-height: 19px; }
    .pricing__tabs { margin-top: 12px; }
    .pricing__tab {
        padding: 14px 0 12px;
        margin: 0 16px 0 0;
        font-size: 16px;
        line-height: 22px;
    }
    .pricing__tab.active::after { bottom: 3px; }
    .pricing__panels { margin-top: 17px; }
    .pricing-card { padding: 8px 14px 33px 14px; border-radius: 16px; }
    .pricing-card__crown-badge {
        top: 7px;
        right: 14px;
        width: 33px;
        height: 33px;}
    .pricing-card .pricing-card__title {
        font-size: 20px;
        line-height: 22px;
        width: 80%;
        margin-top: 36px;
    }
    .pricing-card--featured .pricing-card__title { margin-top: 24px; }
    .pricing__footer { margin-top: 32px; }
    .pricing__footer p {
        font-size: 16px;
        line-height: 22px;
        padding-bottom: 0.5rem;
    }
    .contacts { padding: 60px 16px; }
    .contacts__title { font-size: 24px; line-height: 28px; }
    .contacts__heading { gap: 13px; }
    .contacts { padding: 60px 18px 60px 16px; }
    .contacts__inner { gap: 45px; }
    .contacts__details {
        line-height: 22px;
        gap: 24px;
        display: flex;
        flex-direction: column;
    }
}
