.hero-banner {
    background-color: #000;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    color: #fff;
    transform: translateY(-10%);
}

.logo-animation {
    position: relative;
    font-size: 180px;
    font-weight: 900;
    line-height: 1;
}

.logo-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.letter-static {
    display: inline-block;
    color: #fff;
    font-size: inherit;
    font-weight: inherit;
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
    transition: transform 0.8s ease-out;
}

.letter-static:first-child {
    transform: translateX(2em);
}

.letter-static:last-child {
    transform: translateX(-2em);
}

.logo-line.split .letter-static:first-child {
    transform: translateX(0);
}

.logo-line.split .letter-static:last-child {
    transform: translateX(0);
}

.typing-container {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 0 0.5em;
    min-width: 5em;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.typing-container.show {
    opacity: 1;
}

.letter {
    display: inline-block;
    position: relative;
    opacity: 0;
    color: #fff;
    font-size: inherit;
    font-weight: inherit;
    width: 1em;
    text-align: center;
}

.letter[data-letter=" "] {
    width: 0.5em;
}

.letter::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 5px;
    background: #fff;
    opacity: 0;
}

.letter.typing::after {
    opacity: 1;
    animation: blink 0.7s infinite;
}

.letter.typed {
    opacity: 1;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.letter::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 5px;
    background: #fff;
    opacity: 0;
}

.letter.typing::after {
    opacity: 1;
    animation: blink 0.7s infinite;
}

.letter.typed {
    opacity: 1;
}

.letter.typed::after {
    opacity: 0;
    animation: none;
}

.logo-bottom {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out 0.3s forwards;
    margin-top: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes moveI {
    to { transform: translateX(-50px); }
}

@keyframes moveT {
    to { transform: translateX(50px); }
}

@keyframes showCursor {
    to {
        opacity: 1;
        visibility: visible;
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-animation {
        font-size: 120px;
    }
    .logo-middle {
        font-size: 60px;
    }
    .letter-i { animation: moveI 0.8s ease-out 1s forwards; }
    .letter-t { animation: moveT 0.8s ease-out 1s forwards; }
    @keyframes moveI { to { transform: translateX(-30px); } }
    @keyframes moveT { to { transform: translateX(30px); } }
}

@media (max-width: 480px) {
    .logo-animation {
        font-size: 80px;
    }
    .logo-middle {
        font-size: 40px;
    }
    .letter-i { animation: moveI 0.8s ease-out 1s forwards; }
    .letter-t { animation: moveT 0.8s ease-out 1s forwards; }
    @keyframes moveI { to { transform: translateX(-20px); } }
    @keyframes moveT { to { transform: translateX(20px); } }
}
