﻿
.hero-illustration {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blockchain-visual {
    position: relative;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #43BAFF 0%, #2a98d5 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(67, 186, 255, 0.3);
    animation: float 3s ease-in-out infinite;
}

    .node::before {
        content: '';
        width: 30px;
        height: 30px;
        background: white;
        border-radius: 6px;
    }

    .node:nth-child(1) {
        top: 130px;
        left: 150px;
        animation-delay: 0s;
    }

    .node:nth-child(2) {
        top: 130px;
        right: 130px;
        animation-delay: 0.5s;
    }

    .node:nth-child(3) {
        bottom: -150px;
        left: 150px;
        animation-delay: 1s;
    }

    .node:nth-child(4) {
        bottom: -150px;
        right: 130px;
        animation-delay: 1.5s;
    }

    .node:nth-child(5) {
        top: 73%;
        left: 47%;
        transform: translate(-50%, -50%);
        animation-delay: 0.75s;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: #FFFFFF26;
    padding: 40px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, #43BAFF 0%, #2a98d5 100%);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .feature-card:hover {
        transform: translateY(-10px);
        border-color: #43BAFF;
        box-shadow: 0 15px 40px rgba(67, 186, 255, 0.2);
    }

        .feature-card:hover::before {
            transform: scaleX(1);
        }

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #43BAFF 0%, #2a98d5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.7rem;
    margin-bottom: 10px;
    font-weight: 600;
    line-height:1.5;
}

/* Services Section */
.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

    .service-item:nth-child(even) .service-content {
        order: 2;
    }

.service-content h3 {
    margin-bottom: 20px;
    font-weight: 700;
}

.service-content p {
    line-height: 1.8;
}

.service-image {
    height: 320px;
    background: linear-gradient(135deg, #19272B 0%, #2a3f47 100%);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(25, 39, 43, 0.3);
}

    .service-image::before {
        content: '';
        position: absolute;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(67, 186, 255, 0.15) 0%, transparent 70%);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        animation: rotateGlow 20s linear infinite;
    }

@keyframes rotateGlow {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.service-icon-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.service-main-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #43BAFF 0%, #2a98d5 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    box-shadow: 0 15px 40px rgba(67, 186, 255, 0.4);
    position: relative;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.service-main-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #43BAFF, #2a98d5, #43BAFF);
    border-radius: 26px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.service-item:hover .service-main-icon::before {
    opacity: 0.6;
}

.service-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #43BAFF;
    border-radius: 50%;
    opacity: 0.4;
    animation: floatDot 4s ease-in-out infinite;
}

    .dot:nth-child(1) {
        top: 20%;
        left: 15%;
        animation-delay: 0s;
    }

    .dot:nth-child(2) {
        top: 30%;
        right: 20%;
        animation-delay: 0.5s;
    }

    .dot:nth-child(3) {
        bottom: 25%;
        left: 25%;
        animation-delay: 1s;
    }

    .dot:nth-child(4) {
        bottom: 20%;
        right: 15%;
        animation-delay: 1.5s;
    }

    .dot:nth-child(5) {
        top: 50%;
        left: 10%;
        animation-delay: 2s;
    }

    .dot:nth-child(6) {
        top: 60%;
        right: 12%;
        animation-delay: 2.5s;
    }

@keyframes floatDot {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-20px);
        opacity: 0.8;
    }
}

.service-grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.1;
}

.grid-line {
    position: absolute;
    background: #43BAFF;
}

    .grid-line.horizontal {
        width: 100%;
        height: 1px;
    }

    .grid-line.vertical {
        width: 1px;
        height: 100%;
    }

    .grid-line:nth-child(1) {
        top: 25%;
    }

    .grid-line:nth-child(2) {
        top: 50%;
    }

    .grid-line:nth-child(3) {
        top: 75%;
    }

    .grid-line:nth-child(4) {
        left: 25%;
    }

    .grid-line:nth-child(5) {
        left: 50%;
    }

    .grid-line:nth-child(6) {
        left: 75%;
    }

/* Why Choose Us */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: #FFFFFF26;
    padding: 40px 30px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .value-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, #43BAFF 0%, #2a98d5 100%);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }

    .value-card:hover {
        box-shadow: 0 15px 40px rgba(67, 186, 255, 0.15);
    }

        .value-card:hover::after {
            transform: scaleX(1);
        }

.value-icon {
    font-size: 3rem;
    margin-bottom: 0;
    margin-right: 5px;
    color: #43BAFF;
    display: inline-block;
}

.value-card h3 {
    font-size: 2.1rem;
    margin-bottom: 15px;
    font-weight: 600;
    display: inline-block;
    vertical-align: middle;
}

.value-card p {
    line-height: 1.8;
    margin-top: 10px;
}
/* Benefits Section */

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #FFFFFF26;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .benefit-item:hover {
        background: #19272B;
        box-shadow: 0 5px 20px rgba(67, 186, 255, 0.15);
        transform: translateX(10px);
    }

.benefit-check {
    width: 30px;
    height: 30px;
    background: #43BAFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
}

.benefit-item span {
    font-weight: 500;
}

/* Tech Stack */

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.tech-item {
    background: #FFFFFF26;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .tech-item:hover {
        border-color: #43BAFF;
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(67, 186, 255, 0.15);
    }

.tech-logo {
    width: 80px;
    height: 80px;
    background: #43BAFF;
    border-radius: 12px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    transition: all 0.3s ease;
}

.tech-item:hover .tech-logo {
    background: #43BAFF;
    color: white;
}

.tech-item h4 {
    font-size: 2rem;
    font-weight: 600;
}
/* FAQ Section */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 2px solid #E1F2F2;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .faq-item.active {
        border-color: #43BAFF;
    }

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #19272B;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

    .faq-question:hover {
        color: #43BAFF;
    }

.faq-toggle {
    width: 30px;
    height: 30px;
    background: #E1F2F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
    background: #43BAFF;
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 30px 25px;
    color: #555;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* Responsive 1*/
@media (max-width: 968px) {
    .hero-grid, .service-item, .value-grid, .feature-grid, .tech-grid {
        grid-template-columns: 1fr;
    }

        .service-item:nth-child(even) .service-content {
            order: 1;
        }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hero illustration nodes adjustment */
    .hero-illustration {
        height: 300px;
    }

    .node {
        width: 50px;
        height: 50px;
    }

        .node::before {
            width: 25px;
            height: 25px;
        }

        .node:nth-child(1) {
            top: 30px;
            left: 30px;
        }

        .node:nth-child(2) {
            top: 30px;
            right: 30px;
        }

        .node:nth-child(3) {
            bottom: 30px;
            left: 30px;
        }

        .node:nth-child(4) {
            bottom: 30px;
            right: 30px;
        }
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-content .subtitle {
        font-size: 1.1rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Further adjust nodes for mobile */
    .hero-illustration {
        height: 250px;
    }

    .node {
        width: 40px;
        height: 40px;
    }

        .node::before {
            width: 20px;
            height: 20px;
        }

        .node:nth-child(1) {
            top: 20px;
            left: 20px;
        }

        .node:nth-child(2) {
            top: 20px;
            right: 20px;
        }

        .node:nth-child(3) {
            bottom: 20px;
            left: 20px;
        }

        .node:nth-child(4) {
            bottom: 20px;
            right: 20px;
        }

    @keyframes float {
        0%, 100% {
            transform: translateY(0) scale(1);
        }

        50% {
            transform: translateY(-10px) scale(1.05);
        }
    }

    /* Adjust center node transform for mobile */
    .node:nth-child(5) {
        top: 45%;
        left: 45%;
        transform: translate(-50%, -50%) scale(1);
    }
}

