:root {
    --bg-color: #0e111a;
    --text-color: #e4e8f0;
    --accent: #3ab0ff;
    --accent-secondary: #4e6ef2;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: 1px solid rgba(255, 255, 255, 0.08);
    --muted: #9CA3AF;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 30px;
    --shadow-deep: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    transition: background 0.3s ease-in-out;
    overflow-x: hidden;
}
body.hidden{
    overflow: hidden !important;
}

body.hiden {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: var(--accent);
    transition: color 0.15s ease;
}

a:hover {
    color: var(--accent-secondary);

}

.container {
    width: 90%;
    max-width: 1440px;
    margin: auto;
}

/* Header */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Header */
.header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 15, 26, 0.9);
    backdrop-filter: blur(18px) saturate(180%);
    border-bottom: var(--card-border);
    box-shadow: var(--shadow-deep);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation: fadeIn 0.4s ease-out;
}

.header.scrolled {
    padding: 15px 0;
    background: rgba(13, 15, 26, 0.95);
    box-shadow: var(--shadow-deep);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    font-size: 30px;
    letter-spacing: 1.2px;
    color: #fff;
    transition: all 0.15s ease-in-out;
    animation: slideInFromBottom 0.15s ease-out 0.075s backwards;
}
.logo img{
    width: 35px;
    flex: 0 0 55px;
}
.logo:hover {
    transform: scale(1.05);
}

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

.nav a {
    margin: 0 20px;
    color: var(--text-color);
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 8px;
    transition: all 0.15s ease-in-out;
    animation: slideInFromRight 0.25s ease-out backwards;
}

.nav a:nth-child(1) {
    animation-delay: 0.1s;
}
.nav a:nth-child(2) {
    animation-delay: 0.1s;
}
.nav a:nth-child(3) {
    animation-delay: 0.1s;
}
.nav a:nth-child(4) {
    animation-delay: 0.1s;
}
.nav a:nth-child(5) {
    animation-delay: 0.1s;
}
.nav a:nth-child(6) {
    animation-delay: 0.1s;
}

.nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transform: translateX(-50%);
    transition: width 0.15s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.nav a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.nav a:hover::after {
    width: 100%;
}

.btn {
    display: inline-block;
    color: var(--bg-color);
    padding: 9px 35px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.7px;
    border: 2px solid transparent;
    transition: all 0.2s  cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    animation: scaleIn 0.2s     ease-out 0.4s backwards;
    box-shadow: none;
    background: linear-gradient(45deg, var(--accent) 0%, var(--accent-secondary) 100%);
}


.btn:hover::before {
    transform: rotate(45deg) translate(20%, 20%);
    opacity: 0;
}

.btn:hover {
    background: linear-gradient(
        45deg,
        color-mix(in srgb, var(--accent) 85%, white 15%) 0%,
        color-mix(in srgb, var(--accent-secondary) 85%, white 15%) 100%
    );
    color: var(--bg-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
    transform: translateY(-3px) scale(1.02);
}

.btn--outline {
    background: transparent;
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: none;
}

.btn--outline:hover {
    background: linear-gradient(
        45deg,
        color-mix(in srgb, var(--accent) 85%, white 15%) 0%,
        color-mix(in srgb, var(--accent-secondary) 85%, white 15%) 100%
    );
    color: var(--bg-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
    border-color: var(--accent-secondary);
}

@media (max-width: 768px) {
    .header__inner {
        flex-direction: row;
        gap: 25px;
    }
    .header {
        padding: 10px 0;
    }
    .nav a {
        margin: 6px 12px;
        font-size: 15px;
    }

    .nav a:nth-child(1),
    .nav a:nth-child(2),
    .nav a:nth-child(3),
    .nav a:nth-child(4) {
        animation-delay: 0.4s;
    }
}
.header .tools{
    display: flex;
    gap: 16px;
}
.header .tools button{
    display: inline-block;
    color: var(--bg-color);
    padding: 9px 35px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.7px;
    border: 2px solid transparent;
    transition: all 0.2s
    cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    animation: scaleIn 0.2s  ease-out 0.4s backwards;
    box-shadow: none;
    cursor: pointer;
    background: linear-gradient(45deg, var(--accent) 0%, var(--accent-secondary) 100%);
}

/* Hero */
.hero {
    padding: 110px 0 120px;
    position: relative;
    overflow: hidden;
    display: flex ;
    align-items: center;
    text-align: left;
}

@keyframes floatingGlow {
    0% {
        transform: translate(0, 0) scale(0.95);
        opacity: 0.08;
    }

    50% {
        transform: translate(20px, 30px) scale(1.05);
        opacity: 0.12;
    }

    100% {
        transform: translate(0, 0) scale(0.95);
        opacity: 0.08;
    }
}

.hero__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    gap: 80px;
}

.hero__text {
    flex: 1;
    min-width: 320px;
    max-width: 650px;
    opacity: 1;
}

.hero h1 {
    font-size: 61px;
    line-height: 1.15;
    margin-bottom: 30px;
    font-weight: 800;
    animation: fadeInUp 0.4s ease-out 0.1s backwards;
}

.hero h1 span {
    color: var(--accent);
    position: relative;
    display: inline-block;
    animation: textWave 0.5s infinite alternate;
}

@keyframes textWave {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-5px);
    }
}

.hero p {
    font-size: 19px;
    color: var(--muted);
    margin-bottom: 40px;
    max-width: 550px;
    animation: fadeInUp 0.2s ease-out 0.2s backwards;
}

.hero__buttons {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    animation: fadeInUp 0.4s ease-out 0.3s backwards;
}

.hero__image {
    flex: 1;
    min-width: 350px;
    height: 480px;
    background-image: url("../img/welcom-img.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    animation: scaleIn 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards 0.4s;
    opacity: 0;
}

.hero__image::after {
    content: "";
    position: absolute;
    inset: 0;
}

.hero__image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    pointer-events: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.section-title-animate {
    animation: fadeInUp 0.5s ease-out 0.1s backwards;
}

@media (max-width: 992px) {
    .header .tools button{
        display: none;
    }
    .hero__buttons{
        width: 100%;
    }
    .hero__buttons a{
        font-size: 14px;
        width: 100%;
        padding: 10px 35px;
    }
    .hero {
        padding: 50px 0;
        text-align: center;
    }

    .hero__inner {
        flex-direction: column;
        gap: 20px;
    }

    .hero__text {
        order: 2;
    }

    .hero__image {
        order: 1;
        margin-bottom: 20px;
        height: 319px;
        flex: 0 0 239px;
        width: 100%;
    }

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

    .hero p {
        font-size: 15px;
        line-height: 140%;
    }

    .hero__buttons {
        justify-content: center;
    }
}

section {
    padding: 100px 0;
}

h2 {
    font-weight: 800;
    font-size: 48px;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 25px;
    animation: fadeInUp 0.4s ease-out 0.1s backwards;
}

.section-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 850px;
    margin: 0 auto 70px auto;
    text-align: center;
    animation: fadeInUp 0.4s ease-out 0.15s backwards;
}


/* About Section */
.about-grid {
    display: grid;
    gap: 80px;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 50px;
    }
}

.about-grid .img {
    height: 500px;
    background: linear-gradient(45deg, rgba(0, 230, 230, 0.1), rgba(255, 51, 204, 0.1));
    border-radius: var(--radius-lg);
    border: var(--card-border);
    position: relative;
    box-shadow: var(--shadow-deep);
    transform: rotate(-3deg);
    transition: transform 0.1s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
    background-image: url("../img/UnionLogo.png");
    background-position: center;
    background-size: cover;
}

.about-grid .img:hover {
    transform: rotate(0deg) scale(1.02);
}


.about-grid .img:hover::before {
    opacity: 0.8;
}

.about-grid p {
    text-align: left;
    line-height: 2;
    color: var(--muted);
    margin: 0;
    font-size: 17px;
}




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

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 50px;
        gap: 40px;
    }
    .about.active .about__features div{
        line-height: 140% !important;
        font-size: 15px !important;
        text-align: center !important;
    }
    .about.active .about__features div span{
        display: none;
    }
    p {
        line-height: 140% !important;
        font-size: 15px !important;
        text-align: center !important;
    }
}

.about-grid .img {
    height: 500px;
    background: linear-gradient(45deg, rgba(0,230,230,0.15), rgba(255,51,204,0.15));
    border-radius: var(--radius-lg);
    border: var(--card-border);
    box-shadow: var(--shadow-deep);
    background-image: url("../img/UnionLogo.png");
    background-position: center;
    background-size: cover;
    transform: rotate(-3deg);
    transition: transform 0.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.about-grid .img:hover {
    transform: rotate(0deg) scale(1.03);
}

.about-grid p {
    text-align: left;
    line-height: 1.9;
    color: var(--muted);
    margin: 0 0 15px;
    font-size: 17px;
}

.about__features {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 16px;
    color: var(--text);
}

.about__features span {
    margin-right: 8px;
}

.about__btn {
    margin-top: 20px;
    display: inline-block;
}
.about h2 {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.about-grid .img,
.about-grid .info,
.about-grid p,
.about__features div,
.about__btn {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.about.active h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.about.active .img {
    opacity: 1;
    transform: rotate(0deg) scale(1) translateY(0);
    transition-delay: 0.15s;
    animation: float-in 1s ease-out forwards;
}

.about.active .info {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.about.active p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.about.active .about__features div {
    opacity: 1;
    transform: translateY(0);
}

.about.active .about__features div:nth-child(1) { transition-delay: 0.35s; }
.about.active .about__features div:nth-child(2) { transition-delay: 0.5s; }
.about.active .about__features div:nth-child(3) { transition-delay: 0.65s; }

.about.active .about__btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
}

@keyframes float-in {
    0% {
        transform: translateY(60px) rotate(-5deg) scale(0.95);
        opacity: 0;
    }
    70% {
        transform: translateY(-5px) rotate(-2deg) scale(1.02);
        opacity: 1;
    }
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
}


/* Projects Section */
.projects .project {
    background: linear-gradient(145deg, rgba(18, 20, 35, 0.7) 0%, rgba(25, 28, 43, 0.7) 100%);
    backdrop-filter: blur(12px) saturate(150%);
    border-radius: var(--radius-lg);
    padding: 50px;
    margin-bottom: 60px;
    border: var(--card-border);
    transition: all 0.1s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: var(--shadow-deep);
    overflow: hidden;
}

.projects p {
    margin-bottom: 38px;
    text-align: center;
    color: #9CA3AF;
}

.projects .project:hover {
    transform: translateY(-10px) scale(1.005);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 230, 230, 0.15);
}

.project-info {
    display: grid;
    gap: 50px;
    grid-template-columns: 1fr 1.3fr;
    align-items: center;
}

@media (min-width: 1024px) {
    .projects .project.left .project-info {
        grid-template-columns: 1.3fr 1fr;
    }

    .projects .project.left .project-info>div:nth-child(1) {
        order: 2;
    }

    .projects .project.left .project-info>div:nth-child(2) {
        order: 1;
    }
}

@media (max-width: 992px) {
    .project-info {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    .about-grid .img{
        height: 350px;
    }
    .projects .project .project-img {
        order: -1;

    }
}

.projects .project h3 {
    font-weight: 700;
    font-size: 35px;
    color: var(--accent);
    margin-bottom: 20px;
    text-shadow: var(--accent-glow);
}

.projects .project p {
    text-align: left;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.projects .project strong {
    color: #FF3C6A;
}

.projects .project ul {
    margin-bottom: 24px;
}

.projects .project ul li {
    list-style: none;
    text-align: left;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.projects .project .project-img {
    height: 420px;
    background: linear-gradient(45deg, rgba(0, 230, 230, 0.08), rgba(255, 51, 204, 0.08));
    border-radius: var(--radius-md);
    border: var(--card-border);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6);
    transition: transform 0.1s ease;
    position: relative;
    overflow: hidden;
}

.projects .project .project-img img {
    width: 100%;
    min-height: 430px;
    position: absolute;
    border-radius: var(--radius-md);
}

.projects .project:hover .project-img {
    transform: scale(0.98);
}

.projects .project .galery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 15px;
    margin-top: 35px;
}

.projects .project .galery .img {
    position: relative;
    overflow: hidden;
    height: 120px;
    width: 100%;
    background: var(--card-bg);
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.075s ease-out, box-shadow 0.3s ease-out;
}

.projects .project .galery .img img {
    position: absolute;
    left: 0;
    width: 100%;
    min-height: 124px;
}

.projects .project .galery .img:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 0 15px var(--accent-secondary);
}
@media (max-width: 992px) {
    .projects .project .project-img {
        height: 270px;
    }
    .projects .project.show h4{
        font-size: 18px;
        line-height: 140%;
        margin-bottom: 16px;
    }
    .projects .project h3{
        margin-bottom: 0;
    }
    .projects .project:last-child{
        margin-bottom: 0;
    }
    .projects .project{
        padding: 25px;
    }
    .projects .project .galery {
        display: grid ;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 35px;
    }
    .projects .project .project-img img {
        width: 100%;
        min-height: 270px;
        position: absolute;
        left: 0;
        border-radius: var(--radius-md);
    }
}
.projects h2 {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.projects.active h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.projects .project {
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.projects .project.show {
    opacity: 1;
    transform: translateY(0);
}
.project__more {
    display: inline-block;
    margin-top: 24px;
    background: linear-gradient(45deg, var(--accent) 0%, var(--accent-secondary) 100%);
    color: var(--bg-color);
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.6px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    transition: 0.075s;
}
.project__more:hover{
    background: linear-gradient(
        45deg,
        color-mix(in srgb, var(--accent) 85%, white 15%) 0%,
        color-mix(in srgb, var(--accent-secondary) 85%, white 15%) 100%
    );
    color: var(--bg-color);
    transform: translateY(-3px);
}

.projects .project:nth-child(1).show { transition-delay: 0.2s; }
.projects .project:nth-child(2).show { transition-delay: 0.2s; }
.projects .project:nth-child(3).show { transition-delay: 0.2s; }
.projects .project:nth-child(4).show { transition-delay: 0.2s; }
.projects .project:nth-child(5).show { transition-delay: 0.2s; }
.projects .project:nth-child(6).show { transition-delay: 0.2s; }

.projects .project h3,
.projects .project h4,
.projects .project p {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.projects .project.show h3,
.projects .project.show h4,
.projects .project.show p {
    opacity: 1;
    transform: translateY(0);
}

.projects .project.show h3 { transition-delay: 0.2s; }
.projects .project.show h4 { transition-delay: 0.3s; }
.projects .project.show p { transition-delay: 0.4s; }

.projects .project.show .project-img {
    animation: fadeZoom 1s ease-out forwards;
    transition-delay: 0.2s;
}

@keyframes fadeZoom {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(40px);
    }
    50% {
        opacity: 1;
        transform: scale(1.03) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* How */
.how {
    padding: 80px 0;
}

.how p {
    text-align: center;
    font-size: 18px;
    color: #9CA3AF;
}

.how__steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: center;
    gap: 50px;
    margin-top: 80px;
    position: relative;
}

.how__steps .step {
    flex: 1;
    min-width: 220px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

.how__steps .circle {
    width: 140px;
    height: 140px;
    /*background: linear-gradient(135deg, var(--accent) 0%, #00b0b0 100%);*/
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 56px;
    color: var(--bg-color);
    box-shadow: 0 0 0 12px rgba(58, 176, 255, 0.25), 0 0 25px rgba(58, 176, 255, 0.5) !important;
    margin-bottom: 30px;
    transition: all 0.1s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
}

.how__steps .circle::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.how__steps .step p {
    font-weight: 700;
    font-size: 20px;
    color: var(--text-color);
    opacity: 1;
    margin: 0;
}
@media (min-width: 1024px) {
    .how__steps::before {
        content: '';
        position: absolute;
        top: 70px;
        left: 50%;
        width: calc(100% - 49px);
        max-width: 1120px;
        transform: translateX(-50%);
        height: 4px;
        background: linear-gradient(to right, transparent 5%, rgba(0, 230, 230, 0.5) 20%, rgba(255, 51, 204, 0.5) 80%, transparent 95%);
        z-index: 5;
    }

}

.how {
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.how.active {
    opacity: 1;
    transform: translateY(0);
}

.how__steps .step {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.how.active .step {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.how.active .step:nth-child(1) { transition-delay: 0.15s; }
.how.active .step:nth-child(2) { transition-delay: 0.25s; }
.how.active .step:nth-child(3) { transition-delay: 0.35s; }
.how.active .step:nth-child(4) { transition-delay: 0.45s; }

.how.active .circle {
    animation: pulseIn 0.9s ease-out forwards;
}

@keyframes pulseIn {
    0% {
        opacity: 0;
        transform: scale(0.6);
        box-shadow: 0 0 0 0 rgba(255, 51, 204, 0.3);
    }
    60% {
        opacity: 1;
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(0, 230, 230, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 12px rgba(0, 230, 230, 0.15), 0 0 25px rgba(0, 230, 230, 0.4);
    }
}




.why__grid {
    gap: 40px;
    margin-top: 50px;
    display: flex ;
    flex-wrap: wrap;
    justify-content: center;
}

.why p {
    text-align: center;
    color: #9CA3AF;
}

.why-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background: rgba(18, 20, 35, 0.6);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: var(--card-border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.1s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 25%;
}

.why-card p {
    text-align: center;
    font-size: 14px;
    color: #9CA3AF;
}

.why-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 230, 230, 0.05) 0%, transparent 50%, rgba(255, 51, 204, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
    pointer-events: none;
}

.why-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), var(--accent-glow);
}

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

.why-card .placeholder.small {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    border-radius: 50%;
    margin-bottom: 25px;
    box-shadow: 0 0 0 8px rgba(0, 230, 230, 0.1), var(--accent-glow);
    transition: all 0.1s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;


    display: flex ;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
}

.why-card .placeholder.small::after {
    content: "";
    position: absolute;
    inset: 10px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.why-card:hover .placeholder.small {
    transform: rotate(360deg);
    box-shadow: 0 0 0 10px rgba(255, 51, 204, 0.15), var(--accent-secondary-glow);
}

.why-card h4 {
    font-weight: 700;
    line-height: 112%;
    font-size: 20px;
    color: var(--text-color);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    transition: color 0.075s ease;
    margin-bottom: 16px;
}

.why-card:hover h4 {
    color: var(--accent);
}

@media (max-width: 1024px) {
    .how__steps {
        justify-content: center;
        text-align: center;
        align-items: center;
    }
    .how__steps .step p{
        font-size: 18px !important;
    }
    h2 {
        line-height: 140%;
        font-size: 35px;
    }
    section {
        padding: 60px 0 !important;
    }
    .why__grid{
        display: flex  ;
        flex-direction: column;
    }
    .why__grid .why-card{
        width: 100%;
    }
}

.why {
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.why.active {
    opacity: 1;
    transform: translateY(0);
}

.why-card {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.why.active .why-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.why.active .why-card:nth-child(1) { transition-delay: 0.1s; }
.why.active .why-card:nth-child(2) { transition-delay: 0.2s; }
.why.active .why-card:nth-child(3) { transition-delay: 0.3s; }
.why.active .why-card:nth-child(4) { transition-delay: 0.4s; }
.why.active .why-card:nth-child(5) { transition-delay: 0.5s; }

.why.active .why-card .placeholder.small {
    animation: spinPulse 1s ease-out forwards;
}

@keyframes spinPulse {
    0% {
        opacity: 0;
        transform: scale(0.6) rotate(-90deg);
        box-shadow: 0 0 0 0 rgba(255, 51, 204, 0.3);
    }
    60% {
        opacity: 1;
        transform: scale(1.1) rotate(10deg);
        box-shadow: 0 0 15px rgba(0, 230, 230, 0.5);
    }
    100% {
        transform: scale(1) rotate(0);
        box-shadow: 0 0 0 8px rgba(0, 230, 230, 0.1), var(--accent-glow);
    }
}



/*Кому подойдёт*/
.forwho {
    padding: 100px 0;
    background: linear-gradient(145deg, rgba(18, 20, 35, 0.6) 0%, rgba(25, 28, 43, 0.6) 100%);
    backdrop-filter: blur(12px) saturate(160%);
    border-top: var(--card-border);
    border-bottom: var(--card-border);
    position: relative;
    overflow: hidden;
}

.forwho::before,
.forwho::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.08;
    z-index: 0;
}

.forwho::before {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 10%;
    left: -5%;
}

.forwho::after {
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
    bottom: 5%;
    right: -5%;
}

.forwho h2 {
    font-size: 48px;
    text-align: center;
    color: var(--text-color);
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.forwho p {
    text-align: center;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 60px auto;
    position: relative;
    z-index: 2;
}

.forwho__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.forwho-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: var(--card-border);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.1s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: var(--shadow-deep);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 200px;
}

.forwho-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 230, 230, 0.08) 0%, rgba(255, 51, 204, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.1s ease;
}

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

.forwho-card:hover {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), var(--accent-glow);
}

.forwho-card h4 {
    font-size: 22px;
    color: var(--accent);
    text-shadow: var(--accent-glow);
    margin-bottom: 16px;
    line-height: 120%;
    display: flex ;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.forwho-card p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
}


.forwho-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    opacity: 1;
    transition: opacity 0.075s ease;
}

@media (max-width: 992px) {
    .forwho {
        padding: 60px 0;
    }

    .forwho h2 {
        font-size: 35px;
        line-height: 1.1;
        margin-bottom: 35px;
    }

    .forwho p {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .forwho-card {
        padding: 30px 20px;
    }
}
.forwho {
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.forwho.active {
    opacity: 1;
    transform: translateY(0);
}

.forwho h2,
.forwho p {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.forwho.active h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.forwho.active p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
}

.forwho-card {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.forwho.active .forwho-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.forwho.active .forwho-card:nth-child(1) { transition-delay: 0.15s; }
.forwho.active .forwho-card:nth-child(2) { transition-delay: 0.225s; }
.forwho.active .forwho-card:nth-child(3) { transition-delay: 0.3s; }

.forwho.active .forwho-card::before {
    animation: slideInLine 1s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes slideInLine {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    60% {
        transform: translateX(5%);
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}



/* Технологии */

.color-green {
    color: #4ade80;
}

.color-yellow {
    color: #facc15;
}

.color-blue {
    color: #60a5fa;
}

.color-pink {
    color: #f472b6;
}

.color-purple {
    color: #c084fc;
}

.color-cyan {
    color: #22d3ee;
}

.color-orange {
    color: #fb923c;
}

.color-amber {
    color: #fbbf24;
}

.color-lime {
    color: #a3e635;
}

.color-indigo {
    color: #818cf8;
}

.tech-container {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
}

.tech-header {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 24px;
    color: white;
}

.tech-description {
    text-align: center;
    font-size: 18px;
    max-width: 768px;
    margin: 0 auto 64px auto;
    color: #9CA3AF;
}

.tech__logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 640px) {
    .tech__logos {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .tech__logos {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (min-width: 1280px) {
    .tech__logos {
        grid-template-columns: repeat(8, 1fr);
    }
}

.tech-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: rgba(10, 10, 10, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(55, 65, 81, 0.5);
    transform: scale(1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: all 0.075s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.tech-card:hover {
    transform: scale(1.05);
}

.tech-icon {
    font-size: 40px;
    margin-bottom: 8px;
    line-height: 1;
}

.tech-icon img {
    width: 100%;
    height: 50px;
}

.tech-title {
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: #d1d5db;
    transition: color 0.075s ease;
}

.tech-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(45deg, #38BDF8, #A78BFA, #EC4899);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.075s;
}

.tech-card:hover::before {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.8));
}

.tech-card:hover .tech-title {
    color: #38BDF8;
}
@media (max-width:1000px) {
    .tech-header {
        font-size: 35px;
        font-weight: 800;
        line-height: 120%;
        text-align: center;
        color: white;
        margin-bottom: 35px;
    }
}

.tech {
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tech.active {
    opacity: 1;
    transform: translateY(0);
}

.tech-header,
.tech-description {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tech.active .tech-header {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.tech.active .tech-description {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
}

.tech-card {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tech.active .tech-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.tech.active .tech-card:nth-child(1)  { transition-delay: 0.175s; }
.tech.active .tech-card:nth-child(2)  { transition-delay: 0.20s; }
.tech.active .tech-card:nth-child(3)  { transition-delay: 0.225s; }
.tech.active .tech-card:nth-child(4)  { transition-delay: 0.25s; }
.tech.active .tech-card:nth-child(5)  { transition-delay: 0.275s; }
.tech.active .tech-card:nth-child(6)  { transition-delay: 0.30s; }
.tech.active .tech-card:nth-child(7)  { transition-delay: 0.325s; }
.tech.active .tech-card:nth-child(8)  { transition-delay: 0.35s; }
.tech.active .tech-card:nth-child(9)  { transition-delay: 0.375s; }
.tech.active .tech-card:nth-child(10) { transition-delay: 0.40s; }
.tech.active .tech-card:nth-child(11) { transition-delay: 0.425s; }
.tech.active .tech-card:nth-child(12) { transition-delay: 0.45s; }
.tech.active .tech-card:nth-child(13) { transition-delay: 0.475s; }
.tech.active .tech-card:nth-child(14) { transition-delay: 0.50s; }
.tech.active .tech-card:nth-child(15) { transition-delay: 0.525s; }
.tech.active .tech-card:nth-child(16) { transition-delay: 0.55s; }
.tech.active .tech-card:nth-child(17) { transition-delay: 0.575s; }
.tech.active .tech-card:nth-child(18) { transition-delay: 0.60s; }
.tech.active .tech-card:nth-child(19) { transition-delay: 0.625s; }
.tech.active .tech-card:nth-child(20) { transition-delay: 0.65s; }
.tech.active .tech-card:nth-child(21) { transition-delay: 0.675s; }
.tech.active .tech-card:nth-child(22) { transition-delay: 0.70s; }
.tech.active .tech-card:nth-child(23) { transition-delay: 0.725s; }
.tech.active .tech-card:nth-child(24) { transition-delay: 0.75s; }


/* Join */
.join {
    background: linear-gradient(145deg, rgba(18, 20, 35, 0.85) 0%, rgba(25, 28, 43, 0.85) 100%);
    backdrop-filter: blur(18px) saturate(150%);
    border-radius: var(--radius-lg);
    max-width: 1460px;
    margin: 100px auto;
    padding: 70px;
    border: var(--card-border);
    box-shadow: var(--shadow-deep);
    position: relative;
    overflow: hidden;
}

.join::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(0, 230, 230, 0.05) 0%, transparent 40%),
    radial-gradient(circle at bottom right, rgba(255, 51, 204, 0.05) 0%, transparent 40%);
    animation: bgPulse 12s infinite alternate ease-in-out;
    pointer-events: none;
    z-index: 0;
}

@keyframes bgPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.05);
        opacity: 1;
    }
}



.join h2 {
    font-size: 40px;
    margin-bottom: 15px;
    color: white;
    text-shadow: var(--accent-glow);
}

.join p {
    font-weight: 300;
    font-size: 21px;
    line-height: 1.7;
    color: #9CA3AF;
    text-align: center;
    margin-bottom: 50px;
}

.join__form .join__inputs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .join__form .join__inputs {
        grid-template-columns: repeat(2, 1fr);
    }
}

.join__form input,
.join__form textarea {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 20px 28px;
    font-size: 17px;
    color: var(--text-color);
    outline: none;
    transition: all 0.075s ease-in-out;
}
.join__form textarea{
    resize: none !important;
    margin-bottom: 32px;
}
.join__form input::placeholder,
.join__form textarea::placeholder {
    color: var(--muted);
    opacity: 0.7;
}

.join__form input:focus,
.join__form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(0, 230, 230, 0.6);
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-2px);
}

.join__form textarea {
    grid-column: 1 / -1;
    min-height: 180px;
    resize: vertical;
    border-radius: var(--radius-md);
}

.join button {
    width: 100%;
    height: 60px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-secondary) 100%);
    border-radius: 50px;
    border: 0;
    font-weight: 700;
    font-size: 18px;
    color: var(--bg-color);
    margin: 30px auto 0;
    cursor: pointer;
    /*box-shadow: 0 8px 30px rgba(0, 230, 230, 0.4), 0 0 20px rgba(255, 51, 204, 0.2);*/
    transition: all 0.1s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}

.join button:hover {
    /*background: linear-gradient(90deg, var(--accent-secondary) 0%, var(--accent) 100%);*/
    /*transform: translateY(-5px) scale(1.03);*/
    /*box-shadow: 0 12px 40px rgba(0, 230, 230, 0.6), 0 0 30px rgba(255, 51, 204, 0.4);*/
}
@media (max-width: 1023px) {
    .join {
        border-radius: var(--radius-md);
        padding: 30px 10px;
        margin: 60px 20px;
    }
    .join h2{
        font-size: 32px;
    }
    .btn::before {
        content: '';
        display: none;
    }
}

.join {
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.join.active {
    opacity: 1;
    transform: translateY(0);
}

.join h2,
.join p {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.join.active h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.join.active p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.join__inputs input,
.join__inputs textarea,
.join button {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.join.active .join__inputs input:nth-child(1)  { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
.join.active .join__inputs input:nth-child(2)  { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }
.join.active .join__inputs input:nth-child(3)  { opacity: 1; transform: translateY(0); transition-delay: 0.55s; }
.join.active .join__inputs input:nth-child(4)  { opacity: 1; transform: translateY(0); transition-delay: 0.65s; }
.join.active .join__inputs textarea             { opacity: 1; transform: translateY(0); transition-delay: 0.8s; }
.join.active button                            { opacity: 1; transform: translateY(0); transition-delay: 1s; }



/* Footer */
.footer {
    text-align: center;
    padding: 60px 20px;
    border-top: var(--card-border);
    margin-top: 80px;
    color: var(--muted);
    font-size: 15px;
    background: rgba(13, 15, 26, 0.7);
    backdrop-filter: blur(10px);
}
.footer .logo{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.footer__nav {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer__nav a {
    color: var(--muted);
    margin: 0 18px;
    font-weight: 500;
    letter-spacing: 0.4px;
    position: relative;
    transition: color 0.075s ease-in-out;
}

.footer__nav a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.footer__copy {
    opacity: 0.6;
    letter-spacing: 0.8px;
}
.footer__links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer__links span.ref {
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.15s ease;
    cursor: pointer;
}

.footer__links span.ref:hover {
    color: var(--accent);
}
.footer__links span.ref{
    color: #9CA3AF;
    opacity: 1;
}

.footer__links span {
    color: var(--muted);
    opacity: 0.6;
}













.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    cursor: pointer;
    z-index: 110;
}

.burger span {
    display: block;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
    transition: all 0.1s ease;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
    position: relative;
    top: 5px;
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

.join-mob {
    display: none;
}



.modal {
    display: none;
    position: fixed;
    z-index: 10160;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.modal.active{
    display: flex;
    z-index: 10000;
}
.modal__content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.modal__close {
    position: absolute;
    top: 25px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.05s;
}

.modal__close:hover {
    opacity: 0.7;
}



/* Мобильная версия */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .logo {
        position: relative;
        z-index: 10;
    }

    .join-mob {
        display: inline;
    }

    .header .join-scroll {
        display: none;
    }

    .nav {
        position: fixed;
        top: -11007%;
        right: 0;
        width: 100%;
        height: calc(100vh - 0px);
        background: rgba(13, 15, 26, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: right 0.1s ease;
    }

    .nav.active {
        top: 0;
        gap: 16px;
        padding-top: 74px;
    }

    .nav a {
        font-size: 20px;
        margin: 0;
    }

    body.hiden {
        overflow: hidden;
    }
    .modal__content{
        width: 100%;
        max-width: none;
    }
}



/* === PRICING === */
.pricing {
    padding: 100px 0;
    background: linear-gradient(145deg, rgba(18, 20, 35, 0.8) 0%, rgba(25, 28, 43, 0.8) 100%);
    backdrop-filter: blur(12px) saturate(160%);
    border-top: var(--card-border);
    border-bottom: var(--card-border);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.pricing::before,
.pricing::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.08;
    z-index: 0;
}

.pricing::before {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 15%;
    left: -5%;
}

.pricing::after {
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
    bottom: 10%;
    right: -5%;
}

.pricing h2 {
    font-size: 48px;
    font-weight: 800;
    color: white;
    text-shadow: var(--accent-glow);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.pricing p,
.pricing .section-description {
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

/* Форма */
.pricing__form {
    max-width: 720px;
    margin: 0 auto;
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: var(--radius-lg);
    padding: 40px 50px;
    box-shadow: var(--shadow-deep);
    display: flex;
    flex-direction: column;
    gap: 35px;
    position: relative;
    z-index: 2;
    display: none;
}

.form-group h4 {
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 600;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
}

.options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.options label {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 10px 18px;
    cursor: pointer;
    transition: all 0.075s ease;
    color: var(--text-color);
    display: flex;
    align-items: center;
    font-size: 15px;
}

.options input {
    margin-right: 8px;
    accent-color: var(--accent);
    cursor: pointer;
}

.options label:hover {
    border-color: var(--accent);
    background: rgba(0, 230, 230, 0.08);
    box-shadow: 0 0 10px rgba(0, 230, 230, 0.3);
    transform: translateY(-2px);
}

textarea#comment {
    width: 100%;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 16px;
    transition: all 0.075s ease;
    outline: none;
    height: 150px;
    resize: none;
}

textarea#comment:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(0, 230, 230, 0.6);
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-2px);
}

/* Результат */
.form-result {
    text-align: center;
    font-size: 18px;
    color: var(--muted);
}

.form-result p{
    margin-bottom: 0;
}

.form-result strong {
    color: var(--accent);
    text-shadow: var(--accent-glow);
    font-size: 22px;
}

#calcBtn {
    width: 100%;
    display: inline-block;
    background: linear-gradient(45deg, var(--accent) 0%, #00a3a3 100%);
    color: var(--bg-color);
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.7px;
    border: 2px solid transparent;
    box-shadow: 0 6px 20px rgba(0, 200, 200, 0.35);
    transition: all 0.1s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

#calcBtn:hover {
    background: linear-gradient(90deg, var(--accent-secondary) 0%, var(--accent) 100%);
    color: var(--text-color);
    box-shadow: 0 0 35px rgba(255, 51, 204, 0.4), 0 0 25px rgba(0, 230, 230, 0.3);
    transform: translateY(-3px) scale(1.03);
}

.pricing .options {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 25px;
}

.pricing .options label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    transition: all 0.075s ease;
}

.pricing .options label:hover {
    background: rgba(0, 230, 230, 0.08);
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(0, 230, 230, 0.2);
    transform: translateY(-2px);
}

.pricing .options input[type="checkbox"],
.pricing .options input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    position: relative;
    transition: all 0.075s ease;
    flex-shrink: 0;
}

.pricing .options input[type="checkbox"]:hover,
.pricing .options input[type="radio"]:hover {
    border-color: var(--accent);
    box-shadow: 0 0 8px rgba(0, 230, 230, 0.3);
}

.pricing .options input[type="checkbox"]:checked,
.pricing .options input[type="radio"]:checked {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 0 12px rgba(0, 230, 230, 0.6), inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.pricing .options input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    font-size: 13px;
    color: var(--bg-color);
    font-weight: 700;
}

.pricing .options input[type="radio"] {
    border-radius: 50%;
}

.pricing .options input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 52%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #232635;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.pricing .options input:checked + span {
    color: var(--accent);
    text-shadow: var(--accent-glow);
}

@media (max-width: 768px) {
    .pricing .options {
        flex-direction: column;
        gap: 15px;
    }
    .form-result{
        font-size: 15px;
    }
    .pricing.active p {
        line-height: 200% !important;
        margin-bottom: 36px;
    }
    .pricing__form {
        padding: 25px 20px;
    }
    .pricing {
        padding: 50px 0;
    }
    .options {
        flex-direction: column;
        gap: 10px;
    }
    .options label {
        width: 100%;
        justify-content: flex-start;
    }
    .pricing h2 {
        font-size: 33px;
        line-height: 110%;
        margin-bottom: 30px;
        color: white;
    }
    .form-group h4{
        font-size: 18px;
        line-height: 110%;
        margin-bottom: 30px;
    }
}
/* ====== Анимация появления секции Pricing ====== */
.pricing {
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pricing.active {
    opacity: 1;
    transform: translateY(0);
}

.pricing h2,
.pricing p {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pricing.active h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.pricing.active p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.pricing__form {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pricing.active .pricing__form {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.pricing__form .form-group,
.pricing__form .form-result,
.pricing__form button {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pricing.active .pricing__form .form-group:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.55s; }
.pricing.active .pricing__form .form-group:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.65s; }
.pricing.active .pricing__form .form-group:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.75s; }
.pricing.active .pricing__form .form-result               { opacity: 1; transform: translateY(0); transition-delay: 0.9s; }
.pricing.active .pricing__form button                    { opacity: 1; transform: translateY(0); transition-delay: 1.05s; }



.fixed-cta {
    position: fixed;
    bottom: 130px;
    right: 35px;
    z-index: 1200;
    background: linear-gradient(45deg, var(--accent) 0%, var(--accent-secondary) 100%);
    color: var(--bg-color);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 16px 32px;
    border-radius: 50px;
    transition: all 0.075s ease;
    text-decoration: none;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}
.fixed-cta img{
    width: 30px;
}
.fixed-cta:hover {
    background: transparent;
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-4px) scale(1.03);
}

@media (max-width: 768px) {
    .fixed-cta {
        bottom: 20px;
        right: 20px;
        padding: 14px 26px;
        font-size: 15px;
        border-radius: 40px;
    }
}

@media (max-width: 480px) {
    .fixed-cta {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        text-align: center;
        padding: 16px 0;
        border-radius: 50px;
    }
}






.fixed-cta {
    position: fixed;
    bottom: 130px;
    right: 35px;
    z-index: 1200;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent) 0%, var(--accent-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-color);
    cursor: pointer;
    transition: all 0.1s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.cta-icon {
    width: 28px;
    height: 28px;
    transform: rotate(-30deg);
    transition: transform 0.1s ease;
}

.fixed-cta:hover {
    background: linear-gradient(45deg, var(--accent) 0%, var(--accent-secondary) 100%);
    transform: scale(1.08);
    color: var(--accent);
    border-color: var(--accent);
}

.fixed-cta:hover .cta-icon {
    transform: rotate(0deg) translateX(3px);
}

@media (max-width: 768px) {
    .fixed-cta {
        width: 56px;
        height: 56px;
        bottom: 30px;
        right: 20px;
        z-index: 10;
    }
    .cta-icon {
        width: 26px;
        height: 26px;
    }
}

/* Плавное появление при скролле (если хочешь добавить) */
.fixed-cta {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}
.fixed-cta.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}



.join__actions {
    display: grid;
    margin-top: 20px;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

#quizContainer {
    margin-top: 50px;
}

#openQuiz.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 20px rgba(0,230,230,0.4);
}

.quiz-container {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
}
.quiz-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-deep);
    text-align: center;
    max-width: 1200px;
    margin: 60px auto;
    backdrop-filter: blur(12px) saturate(140%);
}
.quiz-container .btn{
    width: 100%;
    height: 60px;
    font-size: 16px;
}
.quiz-container .btn::before{
    content: "";
    display: none;
}
.quiz-step {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.quiz-step.active {
    display: block;
}

.quiz-step h3 {
    color: var(--accent);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
}

.quiz-step .options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-bottom: 40px;
}

.quiz-step .options input[type="radio"] {
    display: none;
}

.quiz-step .options label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all 0.075s cubic-bezier(0.2, 0.8, 0.2, 1);
    backdrop-filter: blur(10px);
    user-select: none;
}

.quiz-step .options label:hover {
    border-color: var(--accent);
    background: rgba(0,230,230,0.08);
    box-shadow: 0 0 10px rgba(0,230,230,0.25);
    transform: translateY(-3px);
}

.quiz-step .options label:active {
    transform: scale(0.97);
    box-shadow: 0 0 8px rgba(0,230,230,0.25);
}

.quiz-step .options label:has(input[type="radio"]:checked) {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    color: var(--bg-color);
    transform: translateY(-2px) scale(1.02);
}

@media (max-width: 768px) {
    .quiz-step .options {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .join__actions{
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .join__actions button{
        font-size: 14px;
    }
    .quiz-step .options label {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }
}

.quiz__inputs input {
    width: 100%;
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: var(--text-color);
    font-size: 16px;
}

.quiz__inputs input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(0,230,230,0.4);
}

.quiz__nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.quiz__result {
    font-size: 34px;
    font-weight: 800;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(58,176,255,0.3);
    margin: 30px 0;
}

.quiz__desc {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .quiz-container {
        padding: 25px 20px;
    }
    .quiz-step h3 {
        font-size: 22px;
    }
    .quiz__result {
        font-size: 26px;
    }
}
.quiz-progress {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
    text-align: center;
}

.quiz-progress__line {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
}

.quiz-progress__fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-secondary) 100%);
    box-shadow: 0 0 12px rgba(0,230,230,0.4), 0 0 25px rgba(255,51,204,0.25);
    border-radius: 4px;
    transition: width 0.1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.quiz-progress__steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    width: 85%;
    margin: 0 auto;
    z-index: 2;
}

.quiz-progress__dot {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-weight: 700;
    font-size: 16px;
    position: relative;
    transition: all 0.1s ease;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.quiz-progress__dot.active {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    border-color: var(--accent);
    color: var(--bg-color);
    transform: scale(1.1);
}

.quiz-progress__dot.completed {
    background: linear-gradient(135deg, rgba(0, 230, 230, 1), rgba(255, 51, 204, 1));
    border-color: var(--accent);
    color: var(--bg-color);
    opacity: 1;
}

@media (max-width: 768px) {
    .quiz-progress__dot {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    .quiz-progress__line {
        top: 15px;
        width: 90%;
    }
    .quiz-progress__steps {
        width: 90%;
    }
}

.quiz-container-wrapper{
    position: fixed;
    left: 0;
    top: 0;
    align-items: center;
    justify-content: center;
    display: none;
    z-index: 1000;
    width: 100%;
    height: 100%;
}
.quiz-container-wrapper.active{
    display: flex;
}
.quiz-container-wrapper .bg{
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
}
.quiz-container {
    left: 0;
    top: 0;
    position: relative;
    z-index: 1002;
    background: linear-gradient(145deg, rgba(18, 20, 35, 0.85) 0%, rgba(25, 28, 43, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.6);
    text-align: center;
    max-width: 1000px;
    width: 90%;
    backdrop-filter: blur(12px) saturate(140%);
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 !important;
    display: block !important;
}

/* активное состояние */
.quiz-container.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* затемнение фона */
.quiz-container::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* активное затемнение */
.quiz-container.active::before {
    opacity: 1;
    pointer-events: all;
}

/* кнопка закрытия */
.quiz-container .quiz-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 26px;
    color: var(--muted);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.quiz-container .quiz-close:hover {
    color: var(--accent);
}

/* отключаем прокрутку страницы при активной модалке */
body.quiz-open {
    overflow: hidden;
}

/* адаптив */
@media (max-width: 768px) {
    .quiz-container {
        padding: 30px 20px;
        width: 95%;
    }
    .quiz-container .quiz-close {
        top: 12px;
        right: 15px;
        font-size: 22px;
    }
}




.project-modal {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.project-modal.active {
    display: flex;
    animation: fadeIn 0.4s ease;
}

.project-modal__overlay {
    position: absolute;
    inset: 0;
}

.project-modal__content {
    position: relative;
    background: rgba(18,20,35,0.9);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px;
    max-width: 900px;
    width: 100%;
    z-index: 2;
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
    color: var(--text-color);
    animation: scaleIn 0.4s ease;
}

.project-modal__close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 36px;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.075s;
    z-index: 3;
}

.project-modal__close:hover {
    color: var(--accent);
}

.project-modal__title {
    font-size: 30px;
    color: var(--accent);
    margin-bottom: 15px;
}

.project-modal__desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 25px;
}

.project-modal__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.project-modal__gallery img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.075s ease;
    cursor: pointer;
}

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


.captcha-container{
    background: transparent;
}




#contactForm input.error,
#contactForm textarea.error {
    border: 1px solid #ff4d4d;
    background-color: rgba(255, 77, 77, 0.05);
    transition-delay: 0s !important;
}

#contactForm input.error::placeholder,
#contactForm textarea.error::placeholder {
    color: #ff4d4d;
    transition-delay: 0s !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}



#captcha-container.error {
    border: 2px solid #ff4d4d;
    border-radius: 8px;
    padding: 5px;
}
.modal-success {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 9999;
}

.modal-success.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-success__content {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    animation: scaleIn 0.35s ease;
    background: linear-gradient(145deg, rgba(18, 20, 35, 0.85) 0%, rgba(25, 28, 43, 0.85) 100%);
}
.modal-success .success_icon{
    width: 150px;
}
.modal-success__content h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.modal-success__content p {
    font-size: 1rem;
    margin-bottom: 20px;
}
.modal-success .btn{
    width: 100%;
}
@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 1000px) {
    .quiz__nav {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
        flex-direction: column;
    }
    .modal-success__content{
        width: 100%;
        max-width: none;
        height: 100%;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }
}



.fixed-cta {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}
.fixed-cta.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.phone-cta {
    bottom: 50px;
    cursor: pointer;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* модальное окно */
.call-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
}
.call-modal.active {
    display: flex;
}
.call-modal__content {
    background: linear-gradient(145deg, rgba(18, 20, 35, 0.85) 0%, rgba(25, 28, 43, 0.85) 100%);
    padding: 24px 30px;
    border-radius: 16px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.call-modal__content strong{
    font-size: 24px;
}
.call-modal__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}
.call-btn, .cancel-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
.call-btn {
    color: #fff !important;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-secondary) 100%);
    border-radius: 50px;
    border: 0;
    font-weight: 700;
    font-size: 18px;
    color: var(--bg-color);
    margin: 30px auto 0;
    cursor: pointer;
    margin-top: 10px;
}
.call-btn:hover{
    color: #fff !important;
}
.call-btn .cta-icon{
    transform: rotate(0deg);
    transition:  none !important;
}
.cancel-btn {
    display: inline-block;
    padding: 9px 35px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.7px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    background: transparent;
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: none;
    height: 50px;
    margin-top: auto;
}
@media (max-width: 768px) {
    .phone-cta{
        bottom: 130px;
    }
}









.info-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.7);
    z-index: 3000;
    padding: 20px;
}

.info-modal.active { display: flex; }
.info-modal h2{
    margin-bottom: 0;
}
.info-modal__content {
    background: linear-gradient(145deg, rgba(18, 20, 35, 0.95) 0%, rgba(25, 28, 43, 0.95) 100%);
    border-radius: 16px;
    color: #fff;
    max-width: 1000px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
.info-modal__header{
    position: relative;
}
.info-modal__header,
.info-modal__footer {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.info-modal__footer {
    border-bottom: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: right;
}

.info-modal__body {
    padding: 20px 25px;
    overflow-y: auto;
    flex: 1;
    max-height: calc(100vh - 300px);
}
.info-modal__close{
    position: absolute;
    right: 20px;
    top: 20px;
}
.info-modal__body::-webkit-scrollbar { width: 6px; }
.info-modal__body::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

.info-modal__close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 50px;
    line-height: 1;
    right: 15px;
    top: 15px;
}

.footer__links span {
    color: var(--muted);
    cursor: pointer;
    font-size: 14px;
    transition: color 0.2s;
    opacity: 1;
}
.footer__links span:hover {
    color: var(--accent);
}


@media (max-width: 1000px) {
    .info-modal__content p{
        text-align: left !important;
    }
    .info-modal__close {
        top: 7px;
    }
    .info-modal__content h2{
        font-size: 22px;
    }
    #termsModal .info-modal__header {
        padding: 30px 25px;
    }
    #privacyModal .info-modal__header {
        padding: 30px 25px;
    }
}





.projectModalMore{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    display: none;
}
.projectModalMore.active{
    display: flex;
}
.projectModalMore .bg{
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}
.projectModalMore .project-container{
    position: relative;
    z-index: 10000;
    background: linear-gradient(145deg, rgba(18, 20, 35, 0.85) 0%, rgba(25, 28, 43, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.6);
    text-align: center;
    max-width: 1200px;
    width: 90%;
    backdrop-filter: blur(12px) saturate(140%);
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 !important;
    display: block !important;
}
.projectModalMore .modal__wrapper{
    display: flex;
    flex-direction: column;
    gap: 36px;
}
.projectModalMore .modal__wrapper .galery{
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 14px;
    display: none;
}
.projectModalMore .modal__wrapper .galery.active{
    display: grid;
}
.projectModalMore .modal__wrapper .description{
    max-height: 400px;
    overflow-y: scroll;
    padding-right: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 247px;
}
.projectModalMore .modal__wrapper h3{
    margin-bottom: 0 !important;
}
.projectModalMore .modal__wrapper .description *{
    text-align: left;
}
.projectModalMore .modal__wrapper .description::-webkit-scrollbar { width: 6px; }
.projectModalMore .modal__wrapper .description::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}
.projectModalMore .modal__wrapper .galery .img{
    width: 100%;
    height: 110px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.5s;
    border: 2px solid transparent;
}
.projectModalMore .modal__wrapper .galery .img:hover{
    transform: translateY(-6px);
    border-color: #3ab0ff;
}

.projectModalMore .modal__wrapper .galery .img img{
    width: 100%;
    min-height: 110px;
}
.projectModalMore h3.title{
    font-weight: 700;
    font-size: 35px;
    color: var(--accent);
    margin-bottom: 20px;
    text-shadow: var(--accent-glow);
    text-transform: capitalize;
}

@media (max-width: 1000px) {
    .projectModalMore .project-container{
        padding: 20px;
        height: 100%;
        width: 100%;
        left: 0;
        top: 0;
    }
    .projectModalMore .project-container p{
        text-align: left !important;
    }
    .projectModalMore .modal__wrapper{
        overflow-y: scroll;
        height: calc(100vh - 40px);
    }
    .projectModalMore .modal__wrapper::-webkit-scrollbar{
        width: 0;
    }
}



#contactForm input.error,
#contactForm textarea.error,
#quizForm input.error,
#quizForm textarea.error {
    border: 1px solid #ff4d4d;
    background-color: rgba(255, 77, 77, 0.05);
    transition-delay: 0s !important;
}

#contactForm input.error::placeholder,
#contactForm textarea.error::placeholder,
#quizForm input.error::placeholder,
#quizForm textarea.error::placeholder {
    color: #ff4d4d;
    transition-delay: 0s !important;
}

.quiz-step label.error {
    border: 1px solid #ff4d4d;
    background-color: rgba(255, 77, 77, 0.05);
    border-radius: 6px;
}

.quiz__result.success {
    color: #2ecc71;
    font-weight: 600;
}
.mobile-calculate{
    display: none;
}
@media (max-width: 1000px) {
    .mobile-calculate{
        display: block;
        font-size: 14px;
        width: 100%;
        padding: 15px 35px;
        border-radius: 50px;
        font-weight: 600;
        letter-spacing: 0.7px;
        transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
        position: relative;
        overflow: hidden;
        text-transform: uppercase;
        animation: scaleIn 0.2s   ease-out 0.4s backwards;
        box-shadow: none;
        background: linear-gradient(45deg, var(--accent) 0%, var(--accent-secondary) 100%);
        background: transparent;
        border-color: var(--accent);
        color: var(--accent);
    }
}
.quiz__result.error-text {
    color: #ff4d4d;
    font-weight: 600;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.join__captcha.hidden {
    display: none;
}
.join__captcha.error {
    border: 2px solid #e74c3c;
    border-radius: 8px;
    padding: 10px;
}
