.dhi-section {
    --text-color: #ffffff;
    --bg-color: #000000;
    
    background-color: var(--bg-color);
    color: var(--text-color);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.dhi-section.has-bg-pattern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-pattern-url);
    background-repeat: repeat;
    background-size: cover;
    background-position: bottom;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

.dhi-container {
    margin: 0 auto;
    padding: 0 0 0 8%;
    position: relative;
    z-index: 2;
    display: flex;
    gap: 140px;
    align-items: center;
}

/* Signup Column */
.dhi-signup {
    flex: 0 0 40%;
    max-width: 600px;
}

.dhi-signup h2 {
    font-size: 4.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    line-height: 1.1;
}

.dhi-signup h2 .title-prefix {
    font-size: 2.1rem;
    font-family: 'IBM Plex Mono', monospace;
    display: block;
}

.dhi-tagline {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
}

.dhi-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    justify-content: space-between;
}

.dhi-icon {
    text-align: center;
    width: 140px;
}
.dhi-icon:nth-child(1) {
    width: 119px;
}

.dhi-icon img {
    width: 100%;
    height: auto;
    margin-bottom: 8px;
}

.dhi-icon span {
    font-size: 1.1rem;
    text-transform: uppercase;
}

.dhi-form {
    margin: 0 auto;
}

.dhi-form-input-wrapper {
    background-color: white !important;
    border-radius: 50px;
    height: 55px;
    display: flex;
    align-items: center;
    padding: 0 25px;
    margin-bottom: 15px;
}

.dhi-form-input-wrapper span {
    margin-right: 12px;
    font-size: 20px;
}

.dhi-form-input {
    background: transparent;
    border: none;
    color: #000;
    width: 100%;
    outline: none;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 16px;
}

.dhi-button {
    display: block;
    width: 100%;
    padding: 15px 40px;
    border: 1px solid #fff;
    border-radius: 50px;
    text-decoration: none;
    color: #fff !important;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 400;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.3s ease;
}

.dhi-button:hover {
    background: #fff;
    color: #000 !important;
}

.dhi-form-footer {
    font-size: 0.7rem;
    color: #888;
    margin-top: 15px;
    font-family: 'IBM Plex Mono', monospace;
    text-align: center;
}

@keyframes dhiCircleFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.dhi-circle-word {
    position: absolute;
    bottom: 0;
    right: 12px;
    width: 110%;
}

/* Gallery Column (Figma Styles) */
.dhi-gallery {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    position: relative;
    padding-right: 10px;
}

.dhi-gallery-item {
    aspect-ratio: 9/16;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    background: #111;
    box-shadow: 0 20px 60px rgba(0,0,0,.55);
    transform-origin: center center;
    isolation: isolate;
}

.dhi-gallery-item + .dhi-gallery-item {
    margin-left: -42px;
}

.dhi-gallery-item--1 { transform: rotate(-6deg); z-index: 1; }
.dhi-gallery-item--2 { transform: translateY(-40px); z-index: 3; }
.dhi-gallery-item--3 { transform: rotate(7deg); z-index: 2; }

.dhi-video-card {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #111;
}

.dhi-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.dhi-play-btn {
    pointer-events: auto;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease;
}

.dhi-play-btn:hover {
    transform: scale(1.06);
    background: rgba(0,0,0,.45);
}

.dhi-play-btn svg {
    width: 22px;
    height: 22px;
    margin-left: 2px;
    fill: #fff;
}

.dhi-video-shell.is-playing .dhi-video-overlay {
    display: none;
}

/* Responsive */
@media (max-width: 1469px) {
    .dhi-circle-word {
        right: 50%;
        transform: translateX(50%);
        z-index: -1;
    }
}

@media (max-width: 1200px) {
    .dhi-container {
        gap: 60px;
    }
}

@media (max-width: 1024px) {
    .dhi-signup h2 { font-size: 3.2rem; }
    .dhi-gallery-item { width: 220px; }
    .dhi-gallery-item + .dhi-gallery-item { margin-left: -30px; }
}

@media (max-width: 768px) {
    .dhi-section { padding: 80px 0; }
    .dhi-container {
        flex-direction: column;
        padding: 0 7%;
        gap: 60px;
    }
    .dhi-signup { width: 100%; }
    .dhi-signup h2 { font-size: 2.5rem; }
    .dhi-gallery {
        justify-content: center;
        padding-right: 0;
        gap: 20px;
        flex-wrap: wrap;
    }
    .dhi-gallery-item {
        width: 100%;
        max-width: 280px;
        margin: 0 auto !important;
        transform: none !important;
    }
    .dhi-gallery-item + .dhi-gallery-item { margin-left: auto; }
    .dhi-icons {
        flex-wrap: wrap;
        justify-content: center;
    }
    .dhi-icon{
        width: 120px;
    }
    .dhi-tagline{
        font-size: 0.9rem;
    }
    .dhi-icon span{
        font-size: 0.9rem;
    }
}