:root {
    --cpw-card-radius: 28px;
    --cpw-ink: #f5f5f7;
    --cpw-ink-dim: rgba(245, 245, 247, 0.65);
}

/* Main wrapper */
.product-waitlist {
    width: 100%;
    margin: 30px 0;
}

/* Liquid Glass card */
.product-waitlist__glass {
    position: relative;
    width: min(340px, calc(100vw - 32px));
    margin: 0 auto;

    padding: 20px 24px 24px;

    border-radius: var(--cpw-card-radius);
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(14, 14, 22, 0.18),
            rgba(14, 14, 22, 0.32)
        );

    border: 0;

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.45),
        inset 0 1px 1px rgba(255, 255, 255, 0.5),
        inset 0 -8px 20px rgba(255, 255, 255, 0.06),
        inset 0 0 0 1px rgba(255, 255, 255, 0.13);

    color: var(--cpw-ink);
}

/* Subtle glass glare */
.product-waitlist__glass::after {
    content: "";
    position: absolute;
    inset: 0;

    border-radius: inherit;

    background:
        radial-gradient(
            160px circle at var(--gx, 25%) var(--gy, 15%),
            rgba(255, 255, 255, 0.22),
            rgba(255, 255, 255, 0.04) 45%,
            transparent 70%
        );

    pointer-events: none;
}

/* Keep actual content above glare */
.product-waitlist__glass > * {
    position: relative;
    z-index: 1;
}

/* Heading */
.product-waitlist__glass h3 {
    margin: 0 0 6px;

    color: #ffffff;

    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;

    text-shadow:
        0 1px 6px rgba(0, 0, 0, 0.3);
}

/* Description */
.product-waitlist__glass p {
    margin: 0 0 18px;

    color: var(--cpw-ink-dim);

    font-size: 14px;
    line-height: 1.45;
}

/* Form */
.product-waitlist__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Email + country */
.product-waitlist__form input,
.product-waitlist__form select {
    width: 100%;
    height: auto;

    padding: 13px 16px;

    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);

    background: rgba(255, 255, 255, 0.09);
    color: var(--cpw-ink);

    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;

    outline: none;

    transition:
        border-color 0.15s ease,
        background 0.15s ease;
}

.product-waitlist__form input::placeholder {
    color: rgba(245, 245, 247, 0.45);
}

.product-waitlist__form input:focus,
.product-waitlist__form select:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.13);
}

/* Country dropdown */
.product-waitlist__form select {
    appearance: auto;
    cursor: pointer;
}

.product-waitlist__form select option {
    background: #0e0e16;
    color: #ffffff;
}

/* Button */
.product-waitlist__form button {
    width: 100%;

    margin-top: 0;
    padding: 13px 16px;

    border: none;
    border-radius: 14px;

    background: var(--cpw-ink);
    color: #0a0a12;

    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        opacity 0.15s ease;
}

.product-waitlist__form button:hover {
    transform: scale(1.02);

    box-shadow:
        0 6px 24px rgba(255, 255, 255, 0.22);
}

.product-waitlist__form button:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
}

/* Success state */
.product-waitlist__success {
    min-height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    color: #ffffff;

    font-size: 18px;
    font-weight: 600;
}

/* Mobile */
@media (max-width: 600px) {
    .product-waitlist {
        margin: 20px 0;
    }

    .product-waitlist__glass {
        width: min(340px, calc(100vw - 32px));
    }
}