html {
  scroll-behavior: smooth;
}

body {
    padding: 0;
    margin: 0;

    font-family: "Inter", "Inter Placeholder", sans-serif;
}

a {
    text-decoration: none;
}

.dp-flex {
    display: flex;
}


/* ===== Section1 ===== */

.left-box {
    max-width: 530px;
}

#section1 {
    padding: 60px 0px 48px;
}


.section {
    padding: 60px 0;
    width: 100%;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    padding: 0px 20px;
    margin: 0 auto;
}

.hero-wrap {
    display: flex;
    gap: 48px;
    height: min-content;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.topheadspan {
    color: #388eff;
    font-size: 26px;
    display: block;
    opacity: 1;
    font-weight: 600;
}

.middle-span {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
}

.bottp {
    color: #565d7e;
    font-size: 18px;
    width: 500px;
}

.hero-button {
    background: #388eff;
    color: #fff;
    font-size: 16px;
    padding: 12px 34px;
    border-radius: 25px;
    margin-top: 16px;
    display: inline-block;
}

.dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.bot-numbers .left-numbers {
    font-size: 30px;
    font-family: Satoshi, "Satoshi Placeholder", sans-serif;
}

.bot-numbers {
    gap: 25px;
    align-items: center;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: #2f80ed;
    color: #fff;
    font-weight: 400;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 999px;
}

.arrow {
    font-size: 18px;
    line-height: 1;
}

.white-box {
    background-color: var(--token-aeaf4ade-33a5-4232-a922-6957ac12f6a0, #ffffff);
    border-radius: 28px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 50px 0px;
    display: flex;
    flex: 0 0 auto;
    flex-flow: column;
    gap: 45px;
    height: min-content;
    max-width: 350px;
    overflow: hidden;
    padding: 38px;
    position: relative;
    width: 100%;
}

.hero-img {
    width: 100%;
}

.blue-wrapper {
    position: relative;
    display: inline-block;
    padding: 60px;
    border-radius: 34px;
    background: linear-gradient(322deg, var(--token-7fddd045-a815-4367-93d6-827738b19575, #d4e5ff) 0%, var(--token-3972802c-3478-42b5-8ef5-e1e1712a2d5e, rgb(69, 143, 255)) 100%);

}

.top-dots {
    justify-content: space-between;
}

.oracle {
    z-index: 999;
    position: absolute;
    width: 24%;
    bottom: 254px;
    left: 46px;
}



/* ===== Header ===== */

.site-header {
    margin: 0 auto;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
}

.header__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.btn--dark {
    background: #111;
    color: #fff;
}

.btn--dark:hover {
    background: #333;
}

/* ===== Risks Section ===== */
.risks {
    background: #f7f8fa;
    text-align: center;
    padding: 80px 0;
}

.risks__title {
    font-size: 33px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 12px;
    color: #111;
}

.risks__subtitle {
    font-size: 22px;
    color: #388eff;
    margin: 0 0 40px;
}

.risks__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.risk-card {
    border-radius: 16px;
    padding: 28px;
    text-align: left;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.risk-card__icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: #fbfbfb;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 4px 12px 0px;
    font-size: 16px;
}

.risk-card p {
    margin: 0;
    font-size: 18px;
    color: #333;
    line-height: 1.5;
    font-weight: 500;
}

.risk-card img {
    width: 100%;
}

.risks__footer {
    max-width: 780px;
    margin: 0 auto;
    font-size: 27px;
    line-height: 1.3;
    color: #2d2d2d;
}

.risks__footer p {
    margin-bottom: 27px;
    color: #388eff;
}

.risks__footer b {
    color: #111;
}

/* ===== Features Tabs ===== */
.features {
    padding-top: 40px;
}

.features__title {
    text-align: center;
    margin: 0 0 20px;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    color: #0f1222;
}

.features__subtitle {
    text-align: center;
    margin: 0 0 36px;
    font-size: 33px;
    color: #388eff;
    font-weight: 600;
}

.ft-grid {
    display: grid;
    gap: 36px;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

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

.ft-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.ft-item {
    width: 100%;
    text-align: left;
    cursor: pointer;
    border: 1px solid #e6e8ee;
    background: #fff;
    border-radius: 16px;
    padding: 18px 20px;
    position: relative;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
    overflow: hidden;
}

.ft-item:hover {
    border-color: #cdd3e0;
    box-shadow: 0 6px 16px rgba(15, 18, 34, .06);
}

.ft-item.is-active {
    background: #f6f9ff;
    border-color: #388eff;
    box-shadow: 0 6px 20px rgba(56, 142, 255, .15);
}

.ft-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: #388eff;
}

.ft-item.is-active .ft-progress {
    animation: progressBar 5s linear forwards;
}

@keyframes progressBar {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.ft-icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    font-size: 14px;
    line-height: 1;
    color: #fff;
    background: #0ea5e9;
    margin-top: 2px;
}

.ft-text {
    color: #0f1222;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 600;
}

.ft-item .ft-underline {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: -14px;
    height: 1px;
    background: #e6e8ee;
    border-radius: 1px;
}

.ft-item:last-child .ft-underline {
    display: none;
}

.ft-visual {
    display: block;
    height: 100%;
}

.ft-screen {
    width: 90%;
    height: 90%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    border-radius: 24px;
    background: #e9f1ff;
    border: 1px solid #d9e6ff;
    padding: 40px 0 0 40px;
}

.ft-img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    transform: scale(1.18);
    transform-origin: top left;
}

.ft-img.is-visible {
    display: block;
}


.features-top {
    max-width: 650px;
    margin: 0 auto;
}


.img-box {
    border: 1px solid #78aeff;
    border-radius: 24px;
    max-width: 1140px;
    padding: 40px 32px 80px;
    margin: 0 auto;
    background-color: #fafcff;
}

.img-box img {
    width: 100%;
    margin-bottom: 30px;
}

.imgbox-top {
    max-width: 766px;
    margin: 0 auto;
}

.imgbox-top h2 {
    font-size: 33px;
    text-align: center;
    font-weight: 500;
}

.imgbox-h22 {
    color: rgb(56, 142, 255);
}

.imgbox-lastimg {
    margin-bottom: 0 !important;
}

/* ===== Governance Section ===== */
.governance {
    background: #f7f8fa;
    text-align: center;
    padding: 80px 0;
}

.governance__title {
    font-size: 33px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 12px;
    color: #0f1222;
}

.governance__subtitle {
    font-size: 20px;
    color: #388eff;
    margin: 0 0 48px;
}

.governance__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}

.gov-card {
    border: 1px solid #e6e8ee;
    border-radius: 16px;
    padding: 28px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gov-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 16px;
    background: #fff;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 8px;
    padding: 12px;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 4px 12px 0px;
}

.gov-card__icon img {
    width: 86%;
}

.gov-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    color: #0f1222;
}

.gov-card p {
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
    color: #333;
}

.governance__footer {
    max-width: 880px;
    margin: 0 auto;
    font-size: 27px;
    line-height: 1.5;
    color: #2d2d2d;
}

.governance__footer p {
    margin-bottom: 24px;
    color: #388eff;
}

.governance__footer b {
    color: #111;
}

/* ===== FAQ Section ===== */
.faq {
    background: linear-gradient(to bottom, #dbe8ff, #5ca3ff);
    padding: 10px 0;
    text-align: center;
    border-radius: 0;
}

.faq__label {
    color: #388eff;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 28px;
}

.faq__title {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 40px;
    color: #0f1222;
}

.faq__list {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 10px 24px;
    font-size: 18px;
    font-weight: 500;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    font-size: 20px;
    color: #555;
    transition: transform .3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    color: #444;
    font-size: 16px;
    line-height: 1.5;
    transition: max-height .4s ease, padding .3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ===== Cost Section ===== */
.cost {
    padding: 80px 0;
}

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

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

.cost-img-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.cost-img {
    width: 100%;
    display: block;
    border-radius: 24px;
}

.cost-label {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    font-weight: 600;
    color: #111;
}

.cost-label span {
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin-top: 4px;
}

.cost-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0f1222;
}

.cost-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #444;
}

/* ===== Demo Section ===== */

.demo {
    background: #f7f8fa;
    padding: 80px 0;
}

.demo-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 64px;
}

.demo-left {
    flex: 0 1 560px;
}

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

.demo-text h2 {
    font-size: 62px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
    color: #0f1222;
}

.demo-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    max-width: 500px;
}

.demo-card {
    background: #fff;
    border-radius: 16px;
    width: 481px;
    height: 793px;
    overflow: hidden;
}

.demo-card iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

.maxcontainer {
    max-width: 1660px !important;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0f0f0f;
    /* черный фон */
    color: #fff;
    padding: 60px 0 30px;
    font-size: 16px;
}

.footer__row {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}


.footer__logo {
    height: 28px;
    margin-bottom: 12px;
    display: block;
}

.footer__tagline {
    color: #ccc;
    font-size: 16px;
    margin: 0;
    padding-left: 8px;
}

.footer__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer__col a {
    color: #cce0ff;
    text-decoration: none;
    transition: color .2s;
}

.footer__col a:hover {
    color: #fff;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer__socials a {
    color: #fff;
    font-size: 20px;
    margin-right: 18px;
    transition: color .2s;
}

.footer__socials a:hover {
    color: #388eff;
}

.footer__copy {
    font-size: 14px;
    color: #bbb;
    margin: 0;
}

/* ===== АДАПТИВ ПОД МОБИЛЬНЫЕ ===== */

/* Планшеты */
@media (max-width: 980px) {
    .hero-wrap {
        flex-direction: column;
    }

    .left-box {
        max-width: 100%;
    }

    .bottp {
        width: 100%;
    }

    .ft-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cost-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cost-content {
        text-align: center;
    }

    .demo-grid {
        flex-direction: column;
        gap: 40px;
    }

    .demo-card {
        width: 100%;
        max-width: 480px;
        height: 600px;
        margin: 0 auto;
    }

    .footer__row {
        flex-direction: column;
        gap: 30px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer__socials {
        justify-content: center;
    }
}

/* Смартфоны */
@media (max-width: 600px) {
    .topheadspan {
        font-size: 20px;
    }

    .middle-span {
        font-size: 20px;
    }

    .bottp {
        font-size: 16px;
    }

    .hero-button {
        font-size: 14px;
        padding: 10px 24px;
    }

    .risks__title,
    .features__title,
    .governance__title,
    .faq__title,
    .cost-content h2,
    .demo-text h2 {
        font-size: 24px;
    }

    .risks__subtitle,
    .features__subtitle,
    .governance__subtitle,
    .cost-content p,
    .demo-text p {
        font-size: 16px;
    }

    .ft-text {
        font-size: 16px;
    }

    .gov-card h3 {
        font-size: 20px;
    }

    .gov-card p {
        font-size: 16px;
    }

    .demo-card {
        height: 500px;
    }

    .footer__title {
        font-size: 16px;
    }

    .footer__tagline,
    .footer__copy {
        font-size: 14px;
    }

    .oracle {
        width: 32%;
        bottom: 227px;
        left: 11px;
    }

    .blue-wrapper {
        padding: 30px;
    }

    .white-box {
        gap: 30px;
        padding: 15px;
        width: auto;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}



.hero-title {
    overflow: hidden;
}

.hero-title.is-visible {
  animation: heroPop .7s cubic-bezier(.22,.7,.22,1) forwards;
  filter: blur(0);
}

.hero-title span {
    opacity: 0;

    transform: translateX(-30px);
    animation: slideIn 0.5s forwards;
}

.hero-title span:nth-child(1) {
    animation-delay: 0.3s;
}

.hero-title span:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-title span:nth-child(3) {
    animation-delay: 0.6s;
}

.hero-title span:nth-child(4) {
    animation-delay: 0.9s;
}

.hero-title span:nth-child(5) {
    animation-delay: 1.0s;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px);
        text-shadow: 0 0 6px rgba(56, 142, 255, 0.9);
    }

    70% {
        opacity: 1;
        transform: translateX(0);
        text-shadow: 0 0 4px rgba(56, 142, 255, 0.6);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
        text-shadow: none;
    }
}




.fade-in {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.animate {
  opacity: 1;
  transform: scale(1);
}

@keyframes fadeInCenter {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.btn-swipe{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.btn-swipe__track{
  position: relative;
  display: inline-block;
  line-height: 1;
}

/* общий вид слоёв */
.btn-swipe__text{
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s ease, text-shadow .2s ease;
  will-change: transform;
  white-space: nowrap;
}

.btn-swipe__text--top{
  position: relative;
  display: block;
  transform: translateY(0%);
  opacity: 1;
}

.btn-swipe__text--bottom{
  position: absolute;
  left: 0; right: 0; top: 0;
  transform: translateY(105%);
  opacity: 0;
}

.btn-swipe:hover .btn-swipe__text--top,
.btn-swipe:focus-visible .btn-swipe__text--top{
  transform: translateY(-105%);
  opacity: 0;
}
.btn-swipe:hover .btn-swipe__text--bottom,
.btn-swipe:focus-visible .btn-swipe__text--bottom{
  transform: translateY(0%);
  opacity: 1;
  text-shadow: 0 0 2px rgba(0,0,0,.25);
}

.btn-swipe:active{ transform: translateY(1px); }

@media (prefers-reduced-motion: reduce){
  .btn-swipe__text{ transition: none; }
}
