.hero-form-widget {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
}

.hero-form-widget p,
.hero-form-widget h1,
.hero-form-widget h2,
.hero-form-widget h3 {
    margin: 0;
}

/* Left Column: Content */
.hero-form-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 34px;
    background: var(--Gray-Gray-100, #161616);
    border-radius: 24px;
    padding: 30px 48px 40px 48px;
}

/* Tags */
.hero-form-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-form-tag {
    padding: 8px 16px;
    background: var(--Gray-Gray-400, #484848);
    border-radius: 20px;
    color: var(--Gray-Gray-700, #DDD);
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 150%;
}

/* Headings */
.hero-form-headings {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-form-title {
    color: var(--Default-White, #FFF);
    font-family: Urbanist, sans-serif;
    font-size: 40px;
    font-weight: 900;
    line-height: 115%;
}

.hero-form-subtitle {
    color: var(--Default-White, #FFF);
    font-family: Urbanist, sans-serif;
    font-size: 26px;
    font-weight: 900;
    line-height: 115%;
}

.hero-form-description {
    color: var(--Gray-Gray-700, #DDD);
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
}

/* Benefits */
.hero-form-benefits {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.hero-form-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-form-benefit .benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-form-benefit .benefit-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.hero-form-benefit .benefit-text {
    color: var(--Gray-Gray-700, #DDD);
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 150%;
}

/* Logos Section */
.hero-form-logos-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 16px;
}

.hero-form-logos-section .logos-title {
    color: var(--Default-White, #FFF);
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 120%;
}

.hero-form-logos {
    display: contents;
}

.hero-form-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    height: 130px;
    border: 1px solid var(--Gray-Gray-300, #333);
    border-radius: 12px;
    padding: 12px;
}

.hero-form-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.hero-form-logo .logo-placeholder {
    color: var(--Gray-Gray-500, #606060);
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 700;
}

/* Buttons */
.hero-form-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.hero-form-btn {
    padding: 12px 32px;
    border-radius: 27px;
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 150%;
    text-decoration: none;
    transition: 0.3s;
}

.hero-form-btn.primary-btn {
    padding: 12px 32px;
    background-color: var(--Color-Palette-Yellow-Yellow-500, #FFC432);
    color: var(--Default-Black, #000);
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 150%;
    border-radius: 27px;
}

.hero-form-btn.primary-btn:hover {
    background-color: var(--Color-Palette-Blue-Blue-500, #25B1E1);
}

.hero-form-btn.secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.hero-form-btn.secondary-btn span {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border: 1px solid var(--Color-Palette-Yellow-Yellow-500, #FFC432);
    color: var(--Color-Palette-Yellow-Yellow-500, #FFC432);
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 150%;
    border-radius: 27px;
    transition: all 0.3s ease;
}

.hero-form-btn.secondary-btn::after {
    content: '';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--Color-Palette-Yellow-Yellow-500, #FFC432);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23FFC432' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M14 5l7 7m0 0l-7 7m7-7H3'/%3E%3C/svg%3E");
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

.hero-form-btn.secondary-btn:hover span {
    border-color: var(--Color-Palette-Blue-Blue-500, #25B1E1);
    color: var(--Color-Palette-Blue-Blue-500, #25B1E1);
}

.hero-form-btn.secondary-btn:hover::after {
    border-color: var(--Color-Palette-Blue-Blue-500, #25B1E1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2325B1E1' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M14 5l7 7m0 0l-7 7m7-7H3'/%3E%3C/svg%3E");
}

/* Right Column: Form Card */
.hero-form-card {
    width: 360px;
    min-width: 360px;
    background-color: var(--Gray-Gray-100, #161616);
    border-radius: 24px;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-form-card .form-card-title {
    color: var(--Default-White, #FFF);
    font-family: Urbanist, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 130%;
    margin-bottom: -16px;
}

.hero-form-card .form-card-subtitle {
    color: var(--Gray-Gray-600, #999);
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
}

.hero-form-card .form-placeholder {
    color: var(--Gray-Gray-500, #606060);
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

.hero-form-card .form-legal-text {
    color: var(--Gray-Gray-500, #606060);
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 150%;
}

/* HubSpot Form Styling */
.hero-form-card .hubspot-form-container form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-form-card .hubspot-form-container .hs-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-form-card .hubspot-form-container label {
    color: var(--Gray-Gray-700, #DDD);
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
}

.hero-form-card .hubspot-form-container input,
.hero-form-card .hubspot-form-container select,
.hero-form-card .hubspot-form-container textarea {
    background-color: transparent;
    border: 1px solid var(--Gray-Gray-400, #444);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--Gray-Gray-700, #DDD);
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    width: 100%;
}

.hero-form-card .hubspot-form-container input::placeholder,
.hero-form-card .hubspot-form-container textarea::placeholder {
    color: var(--Gray-Gray-500, #606060);
}

.hero-form-card .hubspot-form-container input:focus,
.hero-form-card .hubspot-form-container select:focus,
.hero-form-card .hubspot-form-container textarea:focus {
    outline: none;
    border-color: var(--Color-Palette-Yellow-Yellow-500, #FFC432);
}

.hero-form-card .hubspot-form-container select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.hero-form-card .hubspot-form-container [type=submit] {
    background-color: var(--Color-Palette-Yellow-Yellow-500, #FFC432);
    color: var(--Default-Black, #000);
    border: none;
    border-radius: 27px;
    padding: 12px 32px;
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 150%;
    cursor: pointer;
    transition: 0.3s;
    width: fit-content;
}

.hero-form-card .hubspot-form-container [type=submit]:hover {
    background-color: var(--Color-Palette-Blue-Blue-500, #25B1E1);
}

.hero-form-card .hubspot-form-container .hs-submit {
    position: relative;
    display: flex;
    align-items: center;
}

.hero-form-card .hubspot-form-container .hs-submit::after {
    content: "";
    position: absolute;
    left: calc(100% - 32px);
    width: 40px;
    height: 40px;
    background-color: var(--Color-Palette-Yellow-Yellow-500, #FFC432);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12H19M19 12L12 5M19 12L12 19'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: 0.3s;
    pointer-events: none;
}

.hero-form-card .hubspot-form-container .hs-submit:hover::after {
    background-color: var(--Color-Palette-Blue-Blue-500, #25B1E1);
}

.hero-form-card .hubspot-form-container .hs-error-msgs {
    list-style: none;
    padding: 0;
    margin: 4px 0 0 0;
}

.hero-form-card .hubspot-form-container .hs-error-msg {
    color: var(--Color-Palette-Red-Red-500, #FF4647);
    font-size: 12px;
}

.hero-form-card .hubspot-form-container .hs_recaptcha {
    display: none !important;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-form-widget {
        gap: 24px;
    }

    .hero-form-content {
        padding: 24px 32px 32px 32px;
    }

    .hero-form-card {
        padding: 32px;
    }

    .hero-form-title {
        font-size: 36px;
    }

    .hero-form-subtitle {
        font-size: 22px;
    }
}

@media (max-width: 992px) {
    .hero-form-widget {
        flex-direction: column;
        gap: 48px;
    }

    .hero-form-card {
        width: 100%;
        min-width: unset;
    }

    .hero-form-logos-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hero-form-logos-section .logos-title {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .hero-form-tags {
        gap: 8px;
    }

    .hero-form-content {
        gap: 24px;
        padding: 16px 24px;
    }

    .hero-form-title {
        font-size: 32px;
    }

    .hero-form-subtitle {
        font-size: 20px;
    }

    .hero-form-benefits {
        flex-direction: column;
        gap: 16px;
    }

    .hero-form-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-form-btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    .hero-form-card {
        padding: 24px;
    }

    .hero-form-card .form-card-title {
        font-size: 20px;
    }

    .hero-form-logos-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hero-form-logos-section .logos-title {
        grid-column: span 2;
    }

    .hero-form-logo {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}
