/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0B0C19;
    --blue: #2B3CD4;
    --blue-light: #3C4FE0;
    --green: #00E676;
    --white: #ffffff;
    --gray: rgba(255, 255, 255, 0.5);
    --card-bg: #12132A;
    --card-border: rgba(255, 255, 255, 0.08);
    --font: 'Montserrat', sans-serif;
    --container: 1320px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--white);
    line-height: 1.4;
    overflow-x: hidden;
}

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

ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }
input { font-family: inherit; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 91px;
    padding: 0 40px;
    border-radius: 50px;
    font-size: 23px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    letter-spacing: -0.46px;
}

.btn__shape {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.btn__text {
    position: relative;
    z-index: 1;
}

.btn__icon {
    position: relative;
    z-index: 1;
    width: 11px;
    height: 11px;
}

.btn--primary {
    background: var(--green);
    color: #0B0C19;
}

.btn--primary:hover {
    background: #00c864;
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

.btn__plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(11, 12, 25, 0.15);
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
}

/* ===== TOOLBAR ===== */
.toolbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: 52px;
    background: #282828;
    backdrop-filter: blur(122px);
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid #3e3e3e;
}

.toolbar__dots {
    display: flex;
    gap: 8px;
}

.toolbar__dots span {
    width: 12px;
    height: 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.16);
}

.toolbar__field {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(160, 160, 160, 0.1);
    border-radius: 8px;
    height: 32px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toolbar__url {
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: -0.26px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 48px;
    background: rgba(30, 80, 60, 0.25);
    backdrop-filter: blur(16px) saturate(1.8) brightness(1.1);
    -webkit-backdrop-filter: blur(16px) saturate(1.8) brightness(1.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__inner {
    max-width: 1828px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header__line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1828px;
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__logo-img {
    height: 20px;
    width: auto;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 44px;
}

.header__link {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: -0.28px;
}

.header__link:hover {
    opacity: 0.8;
}

.header__arrow {
    width: 8px;
    height: auto;
    margin-left: 2px;
}

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

.header__phone {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.56px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.header__lang {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.28px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.header__lang-active { color: #fff; }
.header__lang-dim { color: rgba(255, 255, 255, 0.3); }

.header__menu-btn {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.header__menu-btn img {
    width: 10px;
    height: 10px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100dvh;
    min-height: 700px;
    padding: 0;
    overflow: hidden;
    background: #000;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1640px;
    margin: 0 auto;
    padding: 0 42px;
    display: flex;
    flex-direction: column;
    height: 100dvh;
    min-height: 700px;
    padding-top: calc(48px + 5dvh);
    padding-bottom: clamp(100px, 18dvh, 200px);
}

.hero__content {
    max-width: 1111px;
}

.hero__title {
    font-size: clamp(64px, 5.6vw, 108px);
    font-weight: 600;
    line-height: 0.84;
    margin-bottom: clamp(24px, 4vh, 50px);
    letter-spacing: -0.06em;
}

.hero__desc {
    font-size: clamp(18px, 1.4vw, 27px);
    font-weight: 400;
    max-width: 640px;
    margin-bottom: 0;
    line-height: 1.3;
    letter-spacing: -0.03em;
}

.hero__buttons-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-top: auto;
}

.hero__buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.hero__buttons .btn {
    height: 82px;
    padding: 0 45px;
    font-size: 21px;
    gap: 10px;
    border-radius: 0;
    letter-spacing: -0.42px;
    overflow: hidden;
    background: transparent;
    border: none;
}

.hero__buttons .btn--primary {
    background: transparent;
}

.hero__buttons .btn--outline {
    background: transparent;
    border: none;
}

.hero__buttons .btn__icon {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 11px;
    height: 11px;
}

.hero__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
    flex-shrink: 0;
}

.hero__stats {
    text-align: right;
}

.hero__stats-number {
    display: block;
    font-size: clamp(54px, 4.2vw, 81px);
    font-weight: 600;
    line-height: 0.84;
    letter-spacing: -0.06em;
}

.hero__stats-label {
    display: block;
    font-size: 22px;
    font-weight: 400;
    margin-top: 10px;
    letter-spacing: -0.66px;
    line-height: 1.3;
}

.hero__tooltip {
    background: rgba(169, 169, 169, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    padding: 18px;
    width: 280px;
}

.hero__tooltip-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.hero__tooltip-avatar {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    object-fit: cover;
}

.hero__tooltip-name {
    font-size: 12px;
    letter-spacing: -0.24px;
}

.hero__tooltip-info {
    margin-left: auto;
}

.hero__tooltip-info img {
    width: 19px;
    height: 19px;
}

.hero__tooltip-text {
    font-size: 17px;
    line-height: 1.29;
    letter-spacing: -0.34px;
}

.hero__tooltip-dim {
    color: rgba(255, 255, 255, 0.7);
}

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    letter-spacing: 0.14px;
    animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll-icon {
    width: 14px;
    height: auto;
    transform: rotate(135deg);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: 64px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 20px;
    font-weight: 400;
    opacity: 0.6;
}

/* ===== PROJECTS ===== */
.projects {
    padding: 120px 0;
    position: relative;
}

.projects__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.project-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(43, 60, 212, 0.15);
}

.project-card__image {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card__phone--placeholder {
    width: 140px;
    height: 280px;
    background: linear-gradient(135deg, #1a1b35, #2B3CD4);
    border-radius: 24px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.project-card__phone-img {
    max-height: 80%;
    max-width: 60%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
    transition: transform 0.5s ease;
}

.project-card:hover .project-card__phone-img {
    transform: scale(1.05);
}

.project-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(transparent, rgba(11, 12, 25, 0.9));
}

.project-card__tag {
    font-size: 14px;
    opacity: 0.6;
    display: block;
    margin-bottom: 8px;
}

.project-card__name {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 12px;
}

.project-card__link {
    font-size: 18px;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.project-card__link:hover {
    opacity: 1;
}

.projects__more {
    text-align: center;
}

/* ===== STATS ===== */
.stats {
    padding: 80px 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.stats__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stats__number {
    display: block;
    font-size: 160px;
    font-weight: 600;
    line-height: 1;
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats__number--infinity {
    font-size: 220px;
    color: var(--blue);
    background: linear-gradient(180deg, var(--blue-light) 0%, rgba(43,60,212,0.3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats__label {
    display: block;
    font-size: 20px;
    font-weight: 400;
    opacity: 0.6;
    margin-top: 16px;
}

/* ===== SOLUTIONS ===== */
.solutions {
    padding: 120px 0;
}

.solutions__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.solution-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(43, 60, 212, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-card:hover {
    transform: translateY(-4px);
    border-color: rgba(43, 60, 212, 0.3);
}

.solution-card--wide {
    grid-column: span 2;
}

.solution-card__content {
    position: relative;
    z-index: 1;
}

.solution-card__title {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.15;
}

.solution-card__title--small {
    font-size: 28px;
}

.solution-card__desc {
    font-size: 14px;
    opacity: 0.5;
    margin-bottom: 16px;
    line-height: 1.6;
}

.solution-card__link {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.solution-card__link:hover {
    opacity: 1;
}

/* ===== SERVICES ===== */
.services {
    padding: 120px 0;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    min-height: 320px;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(43, 60, 212, 0.3);
    box-shadow: 0 20px 60px rgba(43, 60, 212, 0.1);
}

.service-card__num {
    font-size: 14px;
    opacity: 0.4;
    margin-bottom: 24px;
}

.service-card__title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 16px;
    flex-grow: 1;
}

.service-card__desc {
    font-size: 16px;
    opacity: 0.5;
    margin-bottom: 20px;
    line-height: 1.5;
}

.service-card__link {
    font-size: 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    transition: color 0.3s;
}

.service-card__link:hover {
    color: var(--green);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 120px 0;
}

.testimonials__slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    min-height: 340px;
}

.testimonial-card__video {
    width: 200px;
    flex-shrink: 0;
    background-color: #1a1b35;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    cursor: pointer;
    position: relative;
}

.testimonial-card__video::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(11, 12, 25, 0.4);
    transition: background 0.3s;
}

.testimonial-card__video:hover::after {
    background: rgba(11, 12, 25, 0.2);
}

.testimonial-card__play,
.testimonial-card__play-text {
    position: relative;
    z-index: 1;
}

.testimonial-card__play {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card__play-text {
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

.testimonial-card__content {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.testimonial-card__text {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-card__tag {
    font-size: 14px;
    color: var(--blue-light);
    margin-bottom: 12px;
}

.testimonial-card__author {
    font-size: 20px;
    font-weight: 400;
}

.testimonials__nav {
    margin-top: 40px;
    text-align: center;
}

.testimonials__link {
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.testimonials__link:hover {
    opacity: 1;
}

/* ===== CTA ===== */
.cta {
    padding: 120px 0;
}

.cta__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cta__subtitle {
    font-size: 20px;
    opacity: 0.6;
    margin-bottom: 48px;
}

.cta__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 480px;
}

.cta__input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 0;
    font-size: 20px;
    color: var(--white);
    outline: none;
    transition: border-color 0.3s;
}

.cta__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.cta__input:focus {
    border-color: var(--blue);
}

.cta__input-group {
    position: relative;
}

.cta__input-prefix {
    position: absolute;
    top: -8px;
    left: 0;
    font-size: 12px;
    opacity: 0.5;
}

.cta__privacy {
    font-size: 12px;
    opacity: 0.4;
    line-height: 1.5;
    max-width: 400px;
}

.cta__right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta__bg-image {
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    object-fit: cover;
    aspect-ratio: 1;
    opacity: 0.6;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    padding: 80px 0 40px;
    overflow: hidden;
}

.footer__big-text {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 260px;
    font-weight: 700;
    text-transform: lowercase;
    color: transparent;
    -webkit-text-stroke: 2px rgba(43, 60, 212, 0.3);
    line-height: 0.8;
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: -8px;
}

.footer__inner {
    position: relative;
    z-index: 1;
}

.footer__top {
    margin-bottom: 60px;
}

.footer__back-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.footer__back-top:hover {
    opacity: 1;
}

.footer__columns {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer__col-title {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 24px;
    opacity: 0.5;
}

.footer__list li {
    margin-bottom: 12px;
}

.footer__list a {
    font-size: 20px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer__list a:hover {
    opacity: 1;
}

.footer__col--contact {
    text-align: right;
}

.footer__email {
    font-size: 20px;
    display: block;
    margin-bottom: 16px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer__email:hover {
    opacity: 1;
}

.footer__contact-text {
    font-size: 12px;
    opacity: 0.4;
    margin-bottom: 20px;
    line-height: 1.5;
}

.footer__contact-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}

.footer__phone-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: var(--green);
    color: #0B0C19;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s;
}

.footer__phone-btn:hover {
    background: #00c864;
}

.footer__lang {
    font-size: 16px;
    opacity: 0.6;
    font-style: italic;
}

.footer__bottom {
    padding-top: 40px;
    border-top: 1px solid var(--card-border);
}

.footer__bottom p {
    font-size: 12px;
    opacity: 0.4;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .hero__title { font-size: 72px; letter-spacing: -4px; }
    .hero__desc { font-size: 24px; }
    .section-title { font-size: 48px; }
    .projects__grid { grid-template-columns: repeat(2, 1fr); }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .stats__number { font-size: 120px; }
    .stats__number--infinity { font-size: 160px; }
    .hero__right { display: none; }
    .btn { height: 70px; font-size: 18px; }
}

@media (max-width: 900px) {
    .toolbar { display: none; }
    .header { top: 0; }
    .hero { padding-top: 130px; }
    .container { padding: 0 24px; }
    .header__nav { display: none; }
    .header__phone { display: none; }
    .header__lang { display: none; }
    .hero__title { font-size: 48px; letter-spacing: -2px; }
    .hero__desc { font-size: 18px; }
    .hero__right { display: none; }
    .hero__buttons { flex-direction: column; }
    .btn { height: 60px; padding: 0 24px; font-size: 16px; }
    .section-title { font-size: 36px; }
    .projects__grid { grid-template-columns: 1fr; }
    .solutions__grid { grid-template-columns: 1fr; }
    .solution-card--wide { grid-column: span 1; }
    .services__grid { grid-template-columns: 1fr; }
    .testimonials__slider { grid-template-columns: 1fr; }
    .cta__inner { grid-template-columns: 1fr; }
    .cta__right { display: none; }
    .stats__inner { grid-template-columns: 1fr; gap: 60px; }
    .stats__number { font-size: 80px; }
    .stats__number--infinity { font-size: 120px; }
    .footer__columns { grid-template-columns: 1fr; gap: 40px; }
    .footer__col--contact { text-align: left; }
    .footer__contact-row { justify-content: flex-start; }
    .footer__big-text { font-size: 120px; }
    .project-card__name { font-size: 28px; }
    .solution-card__title { font-size: 28px; }
    .service-card__title { font-size: 28px; }
}
