.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    overflow: hidden;
    text-align: center;
}

.glowBg {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 600px;
    background: var(--gradient-hero);
    filter: blur(120px);
    z-index: -1;
    opacity: 0.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pillWrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.8rem 0.4rem 0.5rem;
    border-radius: 99px;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
}

.newPill {
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pillText {
    color: rgba(255, 255, 255, 0.9);
}

.headline {
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .headline {
        font-size: 4rem;
    }
}

.breakLg {
    display: none;
}

@media (min-width: 768px) {
    .breakLg {
        display: block;
    }
}

.gradientText {
    background: linear-gradient(90deg, #FFFFFF 0%, #1E90FF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subhead {
    font-size: 1.1rem;
    color: #a0a0a0;
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .subhead {
        font-size: 1.25rem;
    }
}

/* Domain Search Styles */
.domainSearchContainer {
    width: 100%;
    max-width: 800px;
    margin-bottom: 4rem;
}

.searchWrapper {
    display: flex;
    background: white;
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 0 50px rgba(30, 144, 255, 0.2);
    margin-bottom: 1rem;
    transition: box-shadow 0.2s, border-color 0.2s;
    border: 1px solid transparent;
    /* Prepare for border change */
}

.errorInput {
    border-color: #ff4d4f;
    box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
}

.errorMessage {
    color: #ff4d4f;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.domainInput {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border-radius: 50px 0 0 50px;
    color: #333;
}

.domainBtn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.domainBtn:hover {
    background: var(--primary-hover);
}

.searchTags {
    display: flex;
    gap: 1rem;
    justify-content: center;
    color: #888;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.tag {
    color: var(--primary);
    cursor: pointer;
    border-bottom: 1px dashed var(--primary);
}

/* Video Styles */
.visuals {
    width: 100%;
    perspective: 1000px;
    padding: 0 1rem;
}

.videoWrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
    background: #000;
    position: relative;
    transform: rotateX(5deg);
}

.imageWrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    /* No border for image */
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
    background: #000;
    position: relative;
    transform: rotateX(5deg);
}

.heroVideo {
    width: 100%;
    display: block;
}

.videoOverlay {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

/* Responsiveness adjustments */
@media (max-width: 768px) {
    .headline {
        font-size: 2.5rem;
    }

    .searchWrapper {
        flex-direction: column;
        padding: 1rem;
        border-radius: 20px;
    }

    .domainInput {
        border-radius: 10px;
        margin-bottom: 1rem;
        text-align: center;
    }

    .domainBtn {
        width: 100%;
        border-radius: 10px;
    }
}