.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
}

.hero-content {
    width: 100%;
    max-width: 1100px; /* Tăng thêm 20% so với 900px */
    text-align: left;
}

.sub-title {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.main-heading {
    margin-bottom: 2rem;
    height: 160px; /* Khóa chiều cao cố định cho cụm tiêu đề để tránh nhảy layout */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    font-size: 4.5rem; /* Tăng kích thước font một chút cho cân xứng với chiều rộng mới */
    line-height: 1.1;
    margin: 0;
}

.highlight {
    display: inline-block;
    vertical-align: bottom;
    background: linear-gradient(90deg, var(--primary-color), #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    border-right: 3px solid var(--primary-color);
    padding-right: 5px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: var(--primary-color); }
}

.hero-description {
    font-size: 1.3rem; /* Tăng nhẹ kích thước font */
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .main-heading { height: auto; min-height: 120px; }
}

@media (max-width: 576px) {
    .sub-title { font-size: 1rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero-description { font-size: 1rem; }
    .hero-btns { 
        gap: 0.8rem; 
        display: flex; /* Đảm bảo là flex */
        flex-direction: row; /* Ép nằm ngang */
        justify-content: center;
        width: 100%;
        margin-top: 1.5rem;
    }
}
