
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    min-height: 90vh;
    padding: 60px;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 0.6s ease both;
}


.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}


.hero-content h1 span {
    color: #6c63ff;
}


.hero-content p {
    font-size: 1.05rem;
    color: #9090a8;
    margin-bottom: 12px;
}


.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
}


.hero-image {
    display: flex;
    justify-content: center;
}


.hero-image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #6c63ff;
    box-shadow: 0 0 40px rgba(108, 99, 255, 0.35);
}


.typed-text {
    display: inline-block;
    border-right: 3px solid #6c63ff;
    padding-right: 4px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%   { border-color: #6c63ff; }
    50%  { border-color: transparent; }
    100% { border-color: #6c63ff; }
}



.section-divider {
    border: none;
    border-top: 1px solid #2a2a3a;
    margin: 0 40px;
}



.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 70px 40px;
    animation: fadeIn 0.6s ease both;
}

.container h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}


.container h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #6c63ff;
    border-radius: 2px;
    margin-top: 8px;
}

.container > p {
    color: #9090a8;
    font-size: 1rem;
    max-width: 650px;
    margin-bottom: 28px;
}



.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}


.card {
    background-color: #16161f;
    border: 1px solid #2a2a3a;
    border-radius: 12px;
    padding: 28px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}


.card:hover {
    transform: translateY(-6px);
    border-color: #6c63ff;
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.2);
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #f0f0f8;
}

.card p {
    font-size: 0.9rem;
    color: #9090a8;
    line-height: 1.7;
    margin-bottom: 20px;
}


.project-btn {
    color: #6c63ff;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.2s;
}

.project-btn:hover {
    color: #8b85ff;
}



@media (max-width: 768px) {

    
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 24px;
        gap: 40px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image img {
        width: 220px;
        height: 220px;
        margin: 0 auto;
    }

    .container {
        padding: 50px 24px;
    }
}
