@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
    --hero-primary: #672C7E;
    --hero-accent: #FE4601;
    --hero-font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --hero-font-title: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.premium-hero-wrapper {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-top: 0 so the purple background fills from the very top */
    margin-top: 0 !important;
    /* padding-top pushes the CONTENT (text+form) below the sticky header */
    padding-top: var(--header-offset, 110px);
    padding-bottom: 35px;
    color: white;
    background: #672C7E;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
}

.hero-content-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.hero-text-col {
    flex: 1;
    min-width: 300px;
}

.hero-form-col {
    flex: 0 0 450px;
    max-width: 100%;
}

@media (max-width: 991px) {
    .hero-form-col {
        flex: 1;
        min-width: 300px;
    }
}

/* LEFT COLUMN STYLES */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #4ade80; /* Green dot as in image */
    border-radius: 50%;
    position: relative;
}

.badge-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

.hero-title {
    font-family: var(--hero-font-title);
    font-size: 54px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff; /* Reverted back to white */
}

.hero-description {
    font-family: var(--hero-font-main);
    font-size: 20px; /* md:text-xl */
    font-weight: 400;
    line-height: 1.625; /* leading-relaxed */
    color: rgba(255, 255, 255, 0.85); /* Soft light white */
    margin-bottom: 12px;
    max-width: 550px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 10px 20px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: var(--hero-accent);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--hero-accent);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    box-shadow: 0 4px 10px rgba(254, 70, 1, 0.3);
}

/* RIGHT COLUMN (FORM) STYLES */
.hero-form-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 22px 24px 20px; /* Compact form card */
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    color: #1a1a1a !important; /* Override parent white */
}

/* === CRITICAL: Force ALL text inside form card to be dark === */
.hero-form-card,
.hero-form-card *,
.hero-form-card input,
.hero-form-card select,
.hero-form-card textarea,
.hero-form-card label,
.hero-form-card span,
.hero-form-card p,
.hero-form-card div {
    color: #1a1a1a !important;
}

/* Fix placeholders */
.hero-form-card input::placeholder,
.hero-form-card textarea::placeholder {
    color: #9ca3af !important;
    opacity: 1 !important;
}

/* Fix select option text */
.hero-form-card select option {
    color: #1a1a1a !important;
    background: #ffffff !important;
}

/* ============================ */

.discount-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FE4601 0%, #d63900 100%);
    color: #ffffff !important;
    padding: 6px 18px 6px 12px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(254, 70, 1, 0.45);
    border: 1.5px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(6px);
    z-index: 2;
}

/* Force badge text white despite form card reset */
.discount-badge,
.discount-badge * {
    color: #ffffff !important;
}

.discount-dot {
    width: 7px;
    height: 7px;
    background-color: #ffffff;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 0 0 0 rgba(255,255,255,0.6);
    animation: badge-pulse 1.8s ease-out infinite;
}

@keyframes badge-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
    70%  { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.form-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    text-align: center;
    color: #0d2924;
}

.form-body {
    margin-bottom: 8px;
}

/* FORMINATOR OVERRIDES */
.hero-form-card .forminator-ui.forminator-custom-form {
    margin: 0 !important;
}

/* Compact row & field vertical spacing */
.hero-form-card .forminator-row {
    margin-bottom: 6px !important;
}
.hero-form-card .forminator-field {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.hero-form-card .forminator-col {
    padding-bottom: 0 !important;
}

/* ── Labels: clean, readable, professional ── */
.hero-form-card .forminator-label,
.hero-form-card .forminator-label *,
.hero-form-card label,
.hero-form-card label * {
    font-size: 10.5px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    color: #6b7280 !important;          /* Muted gray — professional */
    margin-bottom: 3px !important;
    margin-top: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    line-height: 1.2 !important;
}

/* ── Inputs: clean white, professional compact ── */
.hero-form-card .forminator-input, 
.hero-form-card .forminator-select2,
.hero-form-card .forminator-select,
.hero-form-card input[type="text"],
.hero-form-card input[type="email"],
.hero-form-card input[type="tel"],
.hero-form-card input[type="number"],
.hero-form-card input[type="url"],
.hero-form-card textarea,
.hero-form-card select {
    background-color: #ffffff !important;   /* White, not grey */
    border: 1px solid #dde1e7 !important;
    border-radius: 8px !important;
    padding: 7px 12px !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    height: auto !important;
    min-height: unset !important;
    line-height: 1.4 !important;
    color: #111827 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
    -webkit-text-fill-color: #111827 !important;
    opacity: 1 !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* Focus: brand left-accent glow */
.hero-form-card .forminator-input:focus,
.hero-form-card input[type="text"]:focus,
.hero-form-card input[type="email"]:focus,
.hero-form-card input[type="tel"]:focus,
.hero-form-card input[type="number"]:focus,
.hero-form-card textarea:focus,
.hero-form-card select:focus {
    border-color: var(--hero-primary, #672C7E) !important;
    box-shadow: 0 0 0 3px rgba(103, 44, 126, 0.1) !important;
    background-color: #ffffff !important;
    outline: none !important;
}

/* ── Submit Button: premium gradient pill CTA ── */
.hero-form-card .forminator-button-submit {
    background: linear-gradient(135deg, #FE4601 0%, #d63900 100%) !important;
    color: #ffffff !important;
    width: 100% !important;
    border-radius: 99px !important;     /* Full pill shape */
    padding: 10px 20px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    border: none !important;
    margin-top: 10px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: 0 4px 14px rgba(254, 70, 1, 0.35) !important;
    cursor: pointer !important;
    display: block !important;
}

.hero-form-card .forminator-button-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(254, 70, 1, 0.45) !important;
}

/* Hide Forminator "Edit form" link for logged-in admins */
.hero-form-card .forminator-edit-module {
    display: none !important;
}


.form-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: #888;
    margin-top: 15px;
}

/* RESPONSIVENESS */
@media (max-width: 767px) {
    .premium-hero-wrapper {
        margin-top: 0 !important;
        padding-top: var(--header-offset-mobile, 70px);
        padding-bottom: 24px;
    }
    .hero-title {
        font-size: 36px;
    }
    .hero-description {
        font-size: 18px; /* text-lg on mobile */
    }
    .hero-form-card {
        padding: 18px 16px;
    }
    .hero-features {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .feature-item {
        width: auto;
    }
}
