:root {
    --bg: #f8f8f8;
    --bg-alt: #fff;
    --text: #070B14;
    --text-muted: #555;
    --text-light: #444;
    --accent: #000;
    --accent-bg: transparent;
    --card-bg: #ffffff91;
    --btn-bg: #070B14;
    --btn-text: #fff;
    --border: #070B14;
    --hover-bg: #070B14;
    --hover-text: #fff;
    --header-bg: #ffffffd6;
    --step-number-color: #d1d1d1;
    --icon-bg: #a2a2a2;
}


.dark {
    --bg: #101013;
    --bg-alt: #111;
    --text: #fff;
    --text-muted: #aaa;
    --text-light: #ccc;
    --accent: #fff;
    --accent-bg: transparent;
    --card-bg: #1616163d;
    --btn-bg: #fff;
    --btn-text: #000;
    --border: #33333352;
    --hover-bg: #fff;
    --hover-text: #000;
    --header-bg: #12121680;
    --step-number-color:#404042;
    --icon-bg: #6565a2;
}


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

a{color: var(--text);text-decoration:none;}
a:hover{opacity:.6}
h1,h2,h3,h4,h5, strong{font-weight: 400;line-height: 1.4;}
p{line-height: 1.8;opacity: .8;}

.visible-link{border-bottom: 1px solid var(--text)}

html{scroll-behavior: smooth;}
body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Unbounded', sans-serif;
    line-height: 1.6;
    font-weight: 300;
    font-size: 13px;
}

canvas{position: fixed;top:0;left: 0;z-index: -1; opacity: 0;  transition: opacity 1s ease;}

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 5px 40px;
    width: 100%;
}

.header {
    padding: 0px 0;
    border-bottom: 1px solid #8d8d8d0f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    backdrop-filter: blur(21px);
    -webkit-backdrop-filter: blur(21px);
    background: var(--header-bg);
    z-index: 999;
}
.header-inner{width:100%; display:flex; align-items:center; justify-content:space-between}

.logo {
    width: 160px;
    margin-right: 40px;
}
.logo a{

}
.logo svg{width:100%; display:block;}
.logo svg path{fill:var(--text)}


.nav {margin-left:auto;}
.nav a {
    margin: 0 10px;
    color: var(--text);
    text-decoration: none;

}

.site-login{ padding: 40px;
    max-width: 400px;
    margin: 10% auto; background: #fff; border-radius: 20px;}
.login {
    color: var(--text);
    font-size: 14px;
}

.hero {
    padding: 100px 0;
    text-align: center;
    background-size: cover;
    min-height: 100vh;
    align-items: center;
    display: flex;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;

}
.hero h1 svg{}
.hero h1 svg path{fill:var(--text)}
.hero h2{max-width: 620px;margin: 0 auto;margin-bottom: 20px;font-size: 16px;}
.hero p {
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: .8;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn {
    padding: 11px 20px;
    background-color: var(--btn-bg);
    color: var(--btn-text);
    border: 1px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
    font-family: 'Unbounded', sans-serif;
}
.btn:hover{opacity:.6; transition:all .6s}
.btn-inner{display: flex;align-items: center; gap:10px}
.btn-inner svg{}
.btn-inner svg path{fill: var(--bg); stroke: var(--bg);}
.btn-light {
    background: transparent;
    border: 1px solid var(--text);
    color: var(--text);
}

.features {
    padding: 80px 0;
    text-align: center;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 150px;
}

.feature-item img {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
}

.feature-item span {
    font-size: 16px;
    color: white;
}

.portfolio {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 32px;
    margin-bottom: 40px;
}

.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.portfolio-item {
    max-width: 320px;
}

.portfolio-item img {
    width: 100%;
    border-radius: 8px;
}

.caption {
    margin-top: 10px;
    color: #ccc;
}

.about {
    padding: 80px 0;
    background-color: #111;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #ddd;
}

.about-content p + p {
    margin-top: 20px;
}

.contact {
    padding: 80px 0;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    text-align: center;
}

.contact-item {
    font-size: 18px;
}

.contact-item a, .contact-item span {
    color: #ccc;
    display: block;
    margin-top: 5px;
}


/*use-cases*/
.use-cases {
    padding: 60px 0;
    text-align: center;
    background-color: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.section-title {
    font-size: 32px;
    margin-bottom: 20px;
    font-size: 30px;
    line-height: 36px;
}

.section-subtitle {
    color: var(--text);
    margin: 0 auto;
    margin-bottom: 60px;
    max-width: 780px;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 80px 40px;
    text-align: left;
    padding: 20px 0;
}

.use-case {
    /* padding: 30px; */
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
}



.use-case h3 {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 0;
    font-weight: 300;
    max-width: 300px;
}

.use-case-title{display:flex;margin-bottom: 20px;align-items: center;}

.use-case-title svg {
    width: 56px;
    height: 56px;
    margin-bottom: 0px;
    margin-right: 20px;
    display: block;
}

.use-case-title svg path{fill:var(--text)}
.use-case-title svg circle{fill:var(--icon-bg)}

.use-case p {
    flex: 1;
    color: var(--text);
    margin-bottom: 20px;
    opacity: .8;
}

.btn-secondary {
    display: inline-block;
    padding: 11px 20px;
    border: 1px solid var(--border););
    border-radius: 6px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    font-size: 14px;
    line-height: 20px;
    font-weight: 300;
    text-align: center;
    background: none;
    font-family: 'Unbounded', sans-serif;
}

.btn-secondary:hover {
    background-color: var(--text);
    color: var(--bg);
}

.btn-secondary svg path{
    stroke: var(--text);
}
.btn-secondary:hover svg path{
    stroke: var(--bg);
}

/*scan-stats*/
.scan-stats {
    padding: 60px 0;
    text-align: center;
    /* background: var(--card-bg); */
    /* backdrop-filter: blur(20px); */
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid #7d7d7d24;
    border-bottom:  1px solid #7d7d7d24;
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
}

.stat-item {
    min-width: 150px;
}

.stat-value {
    font-size: 30px;
    line-height: 36px;
    font-weight: 400;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 13px;
    line-height: 21px;
    color: var(--text);
}



/*products*/
.products {
    padding: 100px 0;
    background: #fff;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.product-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.tab {
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 999px;
    padding: 10px 20px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.tab.active,
.tab:hover {
    background: #fff;
    color: #000;
}

.product-card {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
}
.product-image{max-width: 400px;  border-radius: 12px; background: #fff;}

.product-image img {
    border-radius: 12px;
    max-width: 100%;
    display: block;
}

.product-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.product-thumbs img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #444;
    cursor: pointer;
}

.product-info {
    flex: 1;
    min-width: 300px;
}

.product-sub {
    color: #888;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

.product-title {
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
}

.badge {
    background: #fff;
    color: #000;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 6px;
    margin-left: 10px;
    position: absolute;
}

.product-features {
    list-style: none;
    margin-bottom: 30px;
}

.product-features li {
    margin-bottom: 10px;
    padding-left: 0;
    position: relative;
    display: flex ;
    gap: 10px;
    padding-left: 30px;
}
.product-features li svg{width: 20px; position: absolute; left: 0; }
.product-features li svg path{fill: #222}

.dark .product-features li svg path{
    fill: #ffffff;
}


.product-features li span{}

.product-price {
    font-size: 24px;
    margin-bottom: 20px;
}

.product-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/**/

.how-to-start {
    padding: 60px 0;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background-color: var(--header-bg);
}

.how-to-start .section-subtitle {
    color: var(--text););
    margin-bottom: 60px;
}

.steps-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    text-align: left;
}

.step {
    position: relative;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    padding: 30px 20px;
    background-color: var(--accent-bg);
    border-radius: 12px;
    overflow: hidden;
}

.step-number {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 260px;
    font-weight: 400;
    color: var(--bg);
    opacity: .2;
    line-height: 1;
    z-index: 0;
    /* -webkit-text-stroke: 1px var(--text-light); */ /* или конкретный цвет, например #ccc */
    line-height: 1;
    color: var(--step-number-color);
    /* text-shadow:
            1px 0 var(--text-light),
            -1px 0 var(--text-light),
            0 1px var(--text-light),
            0 -1px var(--text-light),
            1px 1px var(--text-light),
            -1px -1px var(--text-light),
            1px -1px var(--text-light),
            -1px 1px var(--text-light); */
}

.step h3 {
    position: relative;
    z-index: 1;
    font-size: 20px;
    margin-bottom: 16px;
}

.step p {
    position: relative;
    z-index: 1;
    color: var(--text);
    margin-bottom: 24px;
    opacity: .6;
}

.step .btn-secondary {
    position: relative;
    z-index: 1;
}


/*pricing*/
.pricing {
    padding: 60px 0;
    text-align: center;
}

.pricing .section-subtitle {
    color: var(--text);
    margin-bottom: 60px;
    opacity: .8;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.pricing-card {
    background-color: var(--card-bg);
    color: var(--text);
    padding: 40px;
    border-radius: 12px;
    text-align: left;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid #6565650d;
    display: flex;
    flex-direction: column;
}

.pricing-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.pricing-card p {
    color: var(--text);
    margin-bottom: 30px;
    text-align: center;
    opacity: .8;
}

.pricing-features {
    color: var(--text);
    margin-bottom: 10px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: .8;
    margin-top: auto;
}

.pricing-features svg path{fill:var(--text)}

.pricing-price {
    font-size: 20px;
    text-align: center;
}

.pricing-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 60px;
    justify-content: center;
    text-align: left;
}

.pricing-info, .pricing-why {
    flex: 1;
    min-width: 300px;
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid #6565650d;
}

.pricing-info h4,
.pricing-why h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.pricing-why ul {
    padding-left: 20px;
    color: var(--text);
    opacity: .8;
    list-style: none;
    padding: 0;
    margin: 0;
}
.pricing-why ul li{margin-bottom:10px;position:relative;padding-left: 30px;}
.pricing-why ul li::before {
    /* content: ''; */
    /* position: absolute; */
    /* left: 0; */
    /* color: var(--text); */
    /* background: url(../images/check.svg); */
    /* background-size: cover; */
    /* width: 20px; */
    /* height: 20px; */
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 12px;
    border: solid var(--text);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: opacity 0.2s ease;
}

.pricing-info p {
    color: var(--text););
    margin-bottom: 20px;
    opacity: .6;
}



/*locations*/

.locations {
    padding: 100px 0;
}

.locations-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.location-card {
    background-color: var(--accent-bg);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.location-img {
    position: relative;
    margin-bottom: 16px;
}

.location-img img {
    width: 100%;
    border-radius: 8px;
}

.location-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
}

.location-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.location-address {
    color: var(--text);
    margin-bottom: 10px;
    opacity: .8;
}

.location-desc {
    color: var(--text);
    margin-bottom: 16px;
    opacity: .8;
}

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

.location-price {
    font-size: 18px;
}


/*testimonials*/

.testimonials {
    padding: 100px 0;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.testimonial {
    background-color: var(--accent-bg);
    padding: 0px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.user-info{display: flex;flex-direction: column;}
.user-name{}
.user-role{
    opacity: .8;
    font-size: 12px;
}

.testimonial-user img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.testimonial p {
    color: var(--text););
    flex-grow: 1;
    margin-bottom: 16px;
    opacity: .8;
}


/*projects*/

.projects {
    padding: 100px 0;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.project-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.project-tabs .tab {
    background-color: var(--text);
    border: 1px solid #444;
    border-radius: 999px;
    padding: 8px 16px;
    color: var(--bg);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.project-tabs .tab.active,
.project-tabs .tab:hover {
    background-color: var(--hover-bg);
    color: var(--hover-text);
}

.project-card {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    background-color: var(--accent-bg);
    border-radius: 12px;
}

.project-image img {
    max-width: 100%;
    border-radius: 8px;
}

.project-info {
    flex: 1;
    min-width: 280px;
}

.project-info h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.project-info p {
    color: var(--text);
    margin-bottom: 20px;
    opacity: .8;
}

/*news*/

.news {
    padding: 60px 0;
    backdrop-filter: blur(21px);
    background-color: var(--header-bg);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.news-header .section-title{margin: 0;}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
}

.news-card {
    background-color: var(--accent-bg););
    padding: 0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.news-date {
    margin-bottom: 10px;
    color: var(--text););
    opacity: .8;
}

.news-card h3 {
    font-size: 18px;
    margin-bottom: 14px;
}

.news-card p {
    color: var(--text);
    margin-bottom: 20px;
}


/*partners*/

.partners {
    padding: 60px 0;
    background-color: var(--accent-bg);
    overflow: hidden;
}

.partners-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.partners-track {
    display: flex;
    gap: 60px;
    animation: scroll-logos 30s linear infinite;
}

.partners-track img {
    height: 40px;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

@media (prefers-color-scheme: light) {
    .partners-track img {
        filter: grayscale(100%) brightness(0.2);
    }
}

.partners-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}



/*footer*/
.footer {
    background: var(--accent-bg);
    padding: 60px 0px;
    color: var(--text);););)
revert-layer;)
revert-layer;)-;)
--;)
revert-layer;)
revert-layer;)-;););
    background-color: var(--card-bg);
    padding: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid #7d7d7d24;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-info p {
    margin-bottom: 8px;
}

.footer-meta {
    font-size: 13px;
    color: #777;
}

.footer-copy {
    font-size: 12px;
}

.footer-skolkovo {
    height: 40px;
    margin-bottom: 15px;
    margin: 20px 0;
}

.footer-col-right{text-align: right;}
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col .footer-socials{
    display: flex;
    gap: 10px;
    padding: 10px 0;
    justify-content: flex-end;
}
.footer-col .footer-socials a{
    display: block;
    text-decoration: none;
}
.footer-col .footer-socials a:hover{opacity:.6; transition: all .6s}
.footer-col .footer-socials svg{
    display: block;
    width: 26px;
    height: 26px;
}
.footer-col .footer-socials svg path{fill:var(--text);}
.footer-col .footer-social{}


.footer-col li strong {
    color: var(--text);
    opacity: .4;
    font-weight: 300;
    margin-bottom: 15px;
    display: block;
}

.footer-contact {
    margin-top: 20px;
}

.footer-socials img {
    height: 20px;
    margin-right: 10px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-socials img:hover {
    opacity: 1;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}
.footer-bottom-inner{border-top: 1px solid #8383832b;width: 100%;padding: 20px 0 ;display: flex;justify-content: space-between;}
.footer-brand {color: var(--text););)revert-layer;)revert-layer;)-;);opacity: 0.1;}
.footer-bottom-inner a{color: var(--text););text-decoration: none;}


/*preview*/
.video-preview {
    position: relative;

    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.video-play {
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play svg {
    width: 24px;
    height: 24px;
    margin-left: 4px;
}

.video-brand {
    position: absolute;
    bottom: 20px;
    right: 30px;
    text-align: right;
    color: white;
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 20px;
    display: block;
    /* overflow: hidden; */
    /* position: relative; */
    /* display: inline-flex; */
    align-items: center;
    gap: 8px;

}
.brand-title svg{
    /* display: block; */
    width: 100%;
    height: 17px;
    /* height: 1em; */
    width: auto;

}
.brand-sub {
    font-size: 11px;
    opacity: 0.6;
}

/*popup*/
.popup-open{overflow: hidden;}
/* 1. Базовая обёртка */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(223, 223, 223, 0.9);
    z-index: 1000;
    padding: 40px 20px;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.dark .popup-overlay {background: rgba(37, 37, 37, 0.9);}

/* 2. Анимация включения */
.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 3. Контейнер формы — анимируем подъём */
.popup-animate {
    transform: translateY(30px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.popup-overlay.active .popup-animate {
    transform: translateY(0);
    opacity: 1;
}

/* 4. Контейнер формы (высота и скролл) */
.popup-form {
    background: var(--bg-alt);
    color: var(--text);
    border-radius: 16px;
    width: 100%;
    max-width: 900px;
    max-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}


.popup-form {
    background: var(--bg);
    padding: 0px;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    color: var(--text);
    position: relative;
}

.popup-header {
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: inherit;
    z-index: 1;
}


.popup-header h2 {
    font-size: 20px;
    margin: 0;
}

.popup-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
}



.popup-body::-webkit-scrollbar {
    width: 6px;               /* Chrome/Safari */
}
.popup-body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

/* Скроллим только контент */
.popup-body {
    padding: 40px;
    overflow: auto;
    scrollbar-width: none;         /* Firefox */
    -ms-overflow-style: none;
    flex-grow: 1;/* IE/Edge */
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.2) transparent;
}

.form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-column {
    flex: 1;
    /* min-width: 280px; */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
    border-radius: 0;

}


input,
select {
    margin-top: 0px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 5px 0 10px;
    color: var(--text);
    font-size: 16px;
    font-family: 'Unbounded', sans-serif;
    width: 100%;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--text);
}
.select-wrapper{
    position: relative;}
.select-wrapper::after {
    content: '▾';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text);
}

.form-check {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.full-width {
    width: 100%;
}

.form-submit {
    margin-top: 20px;
    /* text-align: right; */
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    flex-direction: row;
    align-items: flex-start;
}

/* Стили для кастомной галки */
.custom-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    background-color: transparent;
    display: inline-block;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

/* Галочка (рисуется псевдоэлементом) */
.custom-checkbox::after {
    content: '';
    position: absolute;
    left: 4px;
    top: -2px;
    width: 6px;
    height: 12px;
    border: solid var(--text);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* Стилизация при checked */
.form-check input:checked + .custom-checkbox::after {
    opacity: 1;
}

/* Фокус */
.form-check input:focus + .custom-checkbox {
    outline: 2px solid var(--text-muted);
    outline-offset: 2px;
}

/*Политика*/
.privacy-policy h2 {
    font-size: 20px;
    margin-top: 32px;
    margin-bottom: 6px;
}

.privacy-policy p {
    margin-bottom: 16px;
}

.privacy-policy ul {
    padding-left: 20px;
    margin-bottom: 16px;
    padding-top: 20px;
}

.privacy-policy li {
    margin-bottom: 8px;
}

.privacy-policy strong {
    font-weight: 600;
}



/*scroll-down*/
.mouse-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    text-align: center;
    color: #333;
    font-size: 14px;
    font-family: sans-serif;
    user-select: none;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text);
    border-radius: 14px;
    position: relative;
    margin: 0 auto 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel-move 1.5s infinite;
}

@keyframes wheel-move {
    0% {
        opacity: 1;
        top: 8px;
    }
    50% {
        opacity: 0.3;
        top: 16px;
    }
    100% {
        opacity: 1;
        top: 8px;
    }
}

.scroll-text {
    opacity: 0.7;
}
.special-offer-btn {
    display: inline-block;
    background-color: var(--text););
    color: var(--bg);
    font-size: 16px;
    font-weight: bold;
    padding: 1em 2em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    position: relative;
    font-family: 'Unbounded', sans-serif;
}

.special-offer-btn .old-price {
    text-decoration: line-through;
    opacity: 0.6;
    margin-right: 0.5em;
}

.special-offer-btn .new-price {
    font-size: 20px;
    margin-right: 0.5em;
}

.special-offer-btn .label {
    display: block;
    font-size: 14px;
    margin-top: 0.3em;
    font-weight: normal;
}


.alert-danger{padding-bottom: 20px; color:red;}



@media (max-width: 576px) {

    .form-grid{
        flex-direction:column;
        flex-wrap:wrap;
        display: flex;
    }
    .form-column{width:100%;flex-direction: column;}

    .hero h1{}
    .hero h1 svg{
        width: 80%;
    }
    .nav{
        display: none;
    }
    .toggle-m{display: none;}
    .header .container{padding: 5px 20px;}

    .pricing-grid{grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));}
    .pricing-card{
        width: 100%;
    }
    .footer{
        padding: 20px 0;
    }
    .footer-col-right{
        text-align: center;
    }
    .footer-col .footer-socials{justify-content:center;}
    .stats-grid{
        justify-content: center;
    }
    .popup-body{
        padding: 30px;
    }
    .mouse-scroll{display: none;}
    .popup-overlay{
        padding: 16px;
    }
    .container{
        padding: 5px 24px;
    }
    .pricing-card{
        padding: 40px 24px;
    }
}


@media (min-width: 576px) {
    .nav{
        display: none;
    }
    .toggle-m{display: block;}
    .header .container{padding: 5px 20px;}
    .pricing-card{
        padding: 40px;
    }
    .footer{
        padding: 20px 0;
    }
    .footer-col-right{
        text-align: left;
    }
    .footer-col .footer-socials{justify-content: left;}
    .stats-grid{
        justify-content: space-around;
    }
    .popup-body{}
    .mouse-scroll{
        display: none;
    }
    .popup-overlay{}
    .container{}

    .hero h2{ font-size: 16px;}
    .hero p {
        font-size: 16px;
    }
}

@media (min-width: 768px) {
    .nav{
        display: none;
    }
    .header .container{padding: 5px 40px;}

    .pricing-card{}
    .footer{
        padding: 0;
        padding-top: 20px;
    }
    .footer-col-right{
        text-align: left;
    }
    .stats-grid{
        justify-content: space-around;
    }
    .footer-col .footer-socials{justify-content: left;}
    .popup-body{}
    .mouse-scroll{
        display: block;
    }
    .popup-overlay{}
    .container{}

    .hero h2{ font-size: 18px;}
    .hero p {
        font-size: 18px;
    }


}  /* планшеты */
@media (min-width: 992px) {
    .nav{
        display: block;
    }
    .pricing-card{}
    .footer{
        padding-top: 20px;
    }
    .footer-col-right{
        text-align: right;
    }
    .footer-col .footer-socials{justify-content: right;}
}  /* ноутбуки */
@media (min-width: 1200px) {  .nav{}} /* десктоп */
@media (min-width: 1400px) {  .nav{}} /* большие мониторы */



#themeToggle {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background: none;
    color: var(--text);
    padding: 8px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 9999;
    background: var(--bg);
    border-radius: 50px;
    border: none;
    box-shadow: 0 3px 10px #0000003b;
}