html,
body {
    margin: 0;
    padding: 0;
    background: #0b1120;
    color: #ffffff;
    font-family: Inter, Arial, sans-serif;
}

a {
    text-decoration: none;
}

.ym-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11,17,32,0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ym-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ym-logo {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
}

.ym-menu {
    display: flex;
    gap: 22px;
}

.ym-menu a {
    color: #cdd7e0;
    font-size: 15px;
}

.ym-menu a:hover {
    color: #7dd3fc;
}

.ym-main {
    min-height: calc(100vh - 160px);
}

.hero {
    padding: 120px 28px 100px;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-kicker {
    color: #7dd3fc;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 13px;
    margin-bottom: 18px;
}

.hero h1 {
    margin: 0 0 28px;
    font-size: 76px;
    line-height: 0.95;
}

.hero-text {
    max-width: 760px;
    font-size: 24px;
    line-height: 1.6;
    color: #cdd7e0;
}


.content-section {
    padding: 80px 28px;
}

.content-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.content-inner h2 {
    font-size: 42px;
    margin-bottom: 24px;
}

.content-inner p {
    max-width: 850px;
    font-size: 20px;
    line-height: 1.8;
    color: #cdd7e0;
}

.ym-footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 30px 28px;
}

.ym-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    color: #94a3b8;
    font-size: 14px;
}

@media (max-width: 1100px) {

    .ym-nav-inner {
        flex-direction: column;
        gap: 18px;
    }

    .ym-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero-text {
        font-size: 20px;
    }

}

.section-kicker {
    color: #7dd3fc;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 13px;
    margin-bottom: 18px;
}

.section-title {
    font-size: 54px;
    line-height: 1.1;
    margin-bottom: 26px;
}

.section-lead {
    max-width: 900px;
    font-size: 28px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 60px;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.intro-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    padding: 34px;
}

.intro-card h3 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 24px;
}

.intro-card p {
    color: #cdd7e0;
    line-height: 1.8;
    font-size: 17px;
}

@media (max-width: 1100px) {

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

    .section-title {
        font-size: 42px;
    }

    .section-lead {
        font-size: 22px;
    }
}

.language-switch a {
    color: #ffffff;
    opacity: 0.58;
    font-size: 13px;
    padding: 6px 9px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.language-switch a:hover {
    opacity: 0.9;
}

.language-switch a.active {
    opacity: 1;
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.06);
}

.system-flow-section {
    background:
        radial-gradient(circle at 20% 10%, rgba(125,211,252,0.08), transparent 420px),
        rgba(255,255,255,0.015);
}

.flow-grid {
    display: grid;
    grid-template-columns: 1fr 64px 1fr 64px 1fr;
    gap: 24px;
    align-items: stretch;
    margin-top: 64px;
}

.flow-column {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 26px;
    padding: 30px;
}

.flow-column h3 {
    margin-top: 0;
    margin-bottom: 22px;
    font-size: 24px;
}

.flow-column span {
    display: block;
    color: #cdd7e0;
    padding: 11px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.flow-column span:first-of-type {
    border-top: 0;
}

.flow-core {
    background:
        radial-gradient(circle at top, rgba(125,211,252,0.10), transparent 280px),
        rgba(255,255,255,0.055);
    border-color: rgba(125,211,252,0.18);
}

.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7dd3fc;
    font-size: 42px;
    opacity: 0.75;
}

@media (max-width: 1100px) {
    .flow-grid {
        grid-template-columns: 1fr;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }
}

.local-first-section {
    background:
        linear-gradient(to bottom,
            rgba(255,255,255,0.015),
            rgba(255,255,255,0.03));
}

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

.local-card {
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    padding: 34px;
}

.local-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
}

.local-card p {
    color: #cdd7e0;
    line-height: 1.8;
    font-size: 17px;
}

.local-note {
    margin-top: 50px;
    padding: 28px 34px;
    border-radius: 22px;
    background: rgba(125,211,252,0.08);
    border: 1px solid rgba(125,211,252,0.14);
    color: #dbeafe;
    font-size: 19px;
    line-height: 1.8;
}

@media (max-width: 1100px) {

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

.demo-page {
    padding-top: 100px;
}

.demo-widget-block {
    margin-top: 36px;
}

.demo-widget-text {
    max-width: 1320px;
    margin: 0 auto 16px;
}

.demo-widget-block iframe {
    margin: 0 auto;
}

.demo-widget-text h2 {
    font-size: 34px;
    margin: 0 0 14px;
}

.demo-widget-text p {
    color: #cdd7e0;
    font-size: 18px;
    line-height: 1.7;
}

.demo-widget {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    border: 1px solid rgba(125,211,252,0.16);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(125,211,252,0.06), rgba(255,255,255,0.025));
    box-shadow:
        0 18px 60px rgba(0,0,0,0.35),
        0 0 60px rgba(125,211,252,0.06);
}

.demo-page .content-inner {
    max-width: 1320px;
}

.widget-small {
    height: 460px;
}

.widget-medium {
    height: 760px;
}

.widget-large {
    height: 1050px;
}

@media (max-width: 900px) {
    .widget-small {
        height: 520px;
    }

    .widget-medium,
    .widget-large {
        height: 760px;
    }
}


.modules-page {
    padding-bottom: 40px;
}

.module-card {
    max-width: 1320px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: 520px 1fr;
    gap: 42px;
    align-items: stretch;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(125,211,252,0.10);
    border-radius: 32px;
    overflow: hidden;
    box-shadow:
        0 18px 60px rgba(0,0,0,0.30),
        0 0 50px rgba(125,211,252,0.04);
}

.module-image {
    background: rgba(255,255,255,0.03);
    min-height: 420px;
}

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

.module-content {
    padding: 42px 42px 42px 0;
}

.module-status {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(125,211,252,0.10);
    border: 1px solid rgba(125,211,252,0.18);
    color: #7dd3fc;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.module-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 40px;
    line-height: 1.1;
}

.module-lead {
    font-size: 22px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 28px;
}

.module-content p {
    color: #cdd7e0;
    line-height: 1.9;
    font-size: 17px;
}

@media (max-width: 1100px) {

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

    .module-content {
        padding: 34px;
    }


    .module-image {
        background: rgba(255,255,255,0.03);
        min-height: 420px;
        overflow: hidden;
        position: relative; 
    }

.module-image img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

}


.ymbox-hero {
    padding: 110px 28px 80px;
}

.ymbox-hero-grid {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 56px;
    align-items: center;
}

.ymbox-hero-image {
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(125,211,252,0.14);
    background: rgba(255,255,255,0.04);
    box-shadow: 0 18px 60px rgba(0,0,0,0.32);
}

.ymbox-hero-image img,
.architecture-image img {
    width: 100%;
    display: block;
}

.narrow-content {
    max-width: 980px;
}

.section-text {
    color: #cdd7e0;
    font-size: 20px;
    line-height: 1.8;
}

.ym-architecture-section {
    background: rgba(255,255,255,0.018);
}

.architecture-image {
    margin-top: 42px;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(125,211,252,0.14);
    background: rgba(255,255,255,0.04);
    box-shadow: 0 18px 60px rgba(0,0,0,0.30);
}

@media (max-width: 1100px) {
    .ymbox-hero-grid {
        grid-template-columns: 1fr;
    }
}

.ymbox-tech-section {
    background: rgba(255,255,255,0.015);
}

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

.ymbox-tech-card {
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(125,211,252,0.12);
    border-radius: 24px;
    padding: 30px;
}

.ymbox-tech-card h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 22px;
}

.ymbox-tech-card p {
    color: #cdd7e0;
    font-size: 16px;
    line-height: 1.8;
}

@media (max-width: 1100px) {
    .ymbox-tech-grid {
        grid-template-columns: 1fr;
    }
}

.ymportal-hero {
    padding: 110px 28px 80px;
}

.ymportal-hero-grid {
    display: grid;
    grid-template-columns: 1fr 560px;
    gap: 56px;
    align-items: center;
}

.ymportal-hero-image {
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(125,211,252,0.14);
    background: rgba(255,255,255,0.04);
    box-shadow: 0 18px 60px rgba(0,0,0,0.32);
}

.ymportal-hero-image img {
    width: 100%;
    display: block;
}

@media (max-width: 1100px) {
    .ymportal-hero-grid {
        grid-template-columns: 1fr;
    }
}

.ymportal-section-image {
    margin-top: 36px;
    min-height: 420px;
}

.ymportal-section-image img {
    width: 100%;
    display: block;
    min-height: 420px;
    object-fit: contain;
}



.faq-list {
    margin-top: 56px;
    display: grid;
    gap: 22px;
}

.faq-item {
    padding: 30px;
    border-radius: 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(125,211,252,0.10);
}

.faq-item h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

.faq-item p {
    margin: 0;
    color: #cdd7e0;
    font-size: 17px;
    line-height: 1.8;
}

.contact-card {
    margin-top: 50px;
    padding: 34px;
    border-radius: 26px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(125,211,252,0.12);
}

.contact-label {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 10px;
}

.contact-mail {
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
}

.contact-mail:hover {
    color: #7dd3fc;
}

.contact-note {
    margin-top: 28px;
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.7;
}


.widget-track {
    height: 620px;
}


.widget-anchorages-list {
    height: 720px;
}

.demo-widget-block-anchorages_list {
    margin-top: 14px;
}


/* Footer */

.ym-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.ym-footer-links a {
    color: #cdd7e0;
    text-decoration: none;
}

.ym-footer-links a:hover {
    color: #ffffff;
}

.ym-footer-links {
    white-space: nowrap;
}

