/* Cro Lead Form Module
 * Block 5
 * ------------------------------------------------------------------------------------------------------------------ */



/* Hero Section - Mobile First */
.cro-lead-form.hero {
background: var(--color-secondary-normal-bg);
color: white;
padding: 100px 1.5rem 60px;
position: relative;
overflow: hidden;
}

.hero::before {
content: '';
position: absolute;
top: -50%;
right: 0;
width: 70%;
height: 220%;
/* background: radial-gradient(circle, color-mix(in srgb, var(--color-secondary-normal-bg) 85%, transparent) 0%, transparent 65%); */
}

.hero-container {
max-width: 1400px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr;
gap: 3rem;
align-items: start;
position: relative;
z-index: 1;
}

.hero-badges {
display: flex;
gap: 0.75rem;
margin-bottom: 1.25rem;
flex-wrap: wrap;
animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.hero-badge {
display: inline-flex;
align-items: center;
gap: 0.5rem;
background: rgba(255, 255, 255, 0.12);
backdrop-filter: blur(12px);
border: 1.5px solid rgba(255, 255, 255, 0.25);
padding: 0.5rem 1rem;
border-radius: 50px;
font-weight: 600;
font-size: 0.75rem;
transition: all 0.3s;
box-shadow: var(--shadow-sm);
}

.hero-badge.primary {
background: var(--warning-light);
color: var(--color-secondary-normal-bg);
border: 2px solid var(--warning);
box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.hero h1 {
font-size: 2.25rem;
font-weight: 900;
line-height: 1.15;
margin-bottom: 1.25rem;
letter-spacing: -0.03em;
animation: fadeInUp 1s ease-out 0.2s both;
}

.hero h1 .highlight {
position: relative;
display: inline-block;
opacity: .8;
}

.hero-subtitle {
font-size: 1.1rem;
color: rgba(255, 255, 255, 0.9);
margin-bottom: 1.75rem;
line-height: 1.6;
font-weight: 500;
animation: fadeInUp 1s ease-out 0.4s both;
border-left: 4px solid var(--color-primary-normal-bg);
padding-left: 1rem;
}

.hero-benefits {
list-style: none;
margin-bottom: 2rem;
display: grid;
gap: 0.875rem;
animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-benefits li {
display: flex;
align-items: center;
gap: 0.875rem;
font-size: 0.95rem;
padding: 0.875rem 1rem;
background: rgba(255, 255, 255, 0.08);
border-radius: 12px;
transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
border: 1.5px solid rgba(255, 255, 255, 0.15);
position: relative;
overflow: hidden;
}

.hero-benefits li::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.12) 100%);
opacity: 0;
transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
z-index: 0;
}

.hero-benefits li.highlight-active {
background: rgba(255, 255, 255, 0.16);
border-color: rgba(16, 185, 129, 0.5);
box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.25), 0 4px 16px rgba(16, 185, 129, 0.2);
transform: translateX(4px);
}

.hero-benefits li.highlight-active::before {
opacity: 1;
}

.hero-benefits li.highlight-active .icon {
transform: scale(1.15);
filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.7));
}

.hero-benefits li > * {
position: relative;
z-index: 1;
}

.hero-benefits li .icon {
color: var(--success);
font-size: 1.5rem;
flex-shrink: 0;
transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes benefitPulse {
0%, 100% {
transform: translateX(4px);
}
50% {
transform: translateX(6px);
}
}

.hero-cta-group {
display: flex;
gap: 1rem;
margin-bottom: 2rem;
flex-wrap: wrap;
animation: fadeInUp 1s ease-out 0.8s both;
}

.btn-primary {
/* background: linear-gradient(135deg, var(--color-primary-normal-bg) 0%, var(--color-primary-hover-bg) 100%); */
background: var(--color-primary-normal-bg);
color: white;
padding: 1rem 2rem;
border-radius: 12px;
text-decoration: none;
font-weight: 700;
font-size: 1rem;
transition: all 0.3s;
box-shadow: var(--shadow-primary);
display: inline-flex;
flex-direction: column;
align-items: center;
gap: 0.25rem;
border: none;
cursor: pointer;
min-height: 48px;
justify-content: center;
}

.btn-primary .btn-main-text {
font-size: 1rem;
font-weight: 700;
}

.btn-primary .btn-sub-text {
font-size: 0.75rem;
opacity: 0.9;
font-weight: 500;
}

.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 15px 25px -5px color-mix(in srgb, var(--color-primary-normal-bg) 60%, transparent);
}

.cro-lead-form .btn-secondary {
background: transparent;
color: white;
padding: 1rem 2rem;
border: 2.5px solid white;
border-radius: 12px;
text-decoration: none;
font-weight: 700;
font-size: 1rem;
transition: all 0.3s;
display: inline-flex;
flex-direction: column;
align-items: center;
gap: 0.25rem;
min-height: 48px;
justify-content: center;
}

.cro-lead-form .btn-secondary:hover {
background: rgba(255, 255, 255, 0.1);
transform: translateY(-2px);
}

.hero-phone-cta {
display: flex;
align-items: center;
gap: 1rem;
padding: 1rem 1.5rem;
background: rgba(255, 255, 255, 0.1);
border-radius: 16px;
border: 2px solid rgba(16, 185, 129, 0.3);
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
animation: fadeInUp 1s ease-out 1s both;
max-width: 70%;
cursor: pointer;
position: relative;
overflow: hidden;
backdrop-filter: blur(8px);
}

@media screen and (max-width: 991px) {
.hero-phone-cta {
max-width: 100%;
}
}

.hero-phone-cta::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.15), transparent);
transition: left 0.7s ease;
}

.hero-phone-cta:hover::before,
.hero-phone-cta:active::before {
left: 100%;
}

.hero-phone-cta:hover,
.hero-phone-cta:active {
background: rgba(255, 255, 255, 0.16);
border-color: rgba(16, 185, 129, 0.6);
transform: translateX(4px) scale(1.02);
box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25), 0 0 0 1px rgba(16, 185, 129, 0.2);
}

.hero-phone-cta .phone-icon {
font-size: 2.5rem;
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.3));
}

.hero-phone-cta:hover .phone-icon,
.hero-phone-cta:active .phone-icon {
transform: scale(1.15) rotate(12deg);
filter: drop-shadow(0 4px 12px rgba(16, 185, 129, 0.6));
}

.hero-phone-cta .phone-text {
font-size: 0.75rem;
color: rgba(255, 255, 255, 0.85);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.hero-phone-cta .phone-number {
font-size: 1.5rem;
font-weight: 900;
color: var(--success);
text-decoration: none;
transition: all 0.3s ease;
letter-spacing: 1px;
}

.hero-phone-cta:hover .phone-number,
.hero-phone-cta:active .phone-number {
color: #34d399;
transform: translateX(2px);
}

.hero-phone-cta .phone-hint {
font-size: 0.7rem;
color: rgba(255, 255, 255, 0.7);
font-style: italic;
transition: color 0.3s ease;
}

.hero-phone-cta:hover .phone-hint,
.hero-phone-cta:active .phone-hint {
color: rgba(16, 185, 129, 0.9);
}

/* Hero Form - Mobile Optimized */
.hero-form-card {
background: white;
padding: 2rem 1.5rem;
border-radius: 20px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
position: relative;
border: 2px solid var(--gray-200);
animation: fadeInRight 1s ease-out 0.4s both;
order: -1;
}

@keyframes fadeInRight {
from {
opacity: 0;
transform: translateX(30px);
}
to {
opacity: 1;
transform: translateX(0);
}
}

.form-urgency-banner {
position: absolute;
top: -14px;
left: 50%;
transform: translateX(-50%);
background: linear-gradient(135deg, var(--warning) 0%, #D97706 100%);
color: var(--color-secondary-normal-bg);
padding: 0.5rem 1.25rem;
border-radius: 50px;
font-weight: 700;
font-size: 0.75rem;
box-shadow: 0 6px 16px rgba(245, 158, 11, 0.45);
border: 2px solid white;
white-space: nowrap;
}

.form-header {
text-align: center;
margin-bottom: 1.5rem;
}

.form-header h3 {
color: var(--color-secondary-normal-bg);
font-size: 1.5rem;
margin-bottom: 0.5rem;
font-weight: 800;
line-height: 1.3;
}

.form-header .form-subheader {
color: var(--gray-600);
font-size: 0.85rem;
display: flex;
justify-content: center;
gap: 0.75rem;
flex-wrap: wrap;
margin-top: 0.75rem;
}

.form-subheader span {
display: flex;
align-items: center;
gap: 0.25rem;
padding: 0.25rem 0.625rem;
background: var(--gray-100);
border-radius: 6px;
font-weight: 600;
font-size: 0.75rem;
}

.form-group {
margin-bottom: 1.25rem;
position: relative;
}

.form-group label {
display: block;
color: var(--gray-900);
font-weight: 600;
margin-bottom: 0.5rem;
font-size: 0.85rem;
}

.form-group label .required {
color: var(--color-primary-normal-bg);
}

.form-input-wrapper {
position: relative;
}

.form-input-icon {
position: absolute;
left: 1rem;
top: 50%;
transform: translateY(-50%);
color: var(--gray-600);
font-size: 1rem;
}

.form-group input,
.form-group select {
width: 100%;
padding: 0.875rem 0.875rem 0.875rem 2.75rem;
border: 2px solid var(--gray-300);
border-radius: 10px;
font-size: 0.95rem;
transition: all 0.3s;
font-family: inherit;
background: white;
min-height: 48px;
}

.form-group input:focus,
.form-group select:focus {
outline: none;
border-color: var(--color-primary-normal-bg);
box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.form-trust-indicators {
display: flex;
gap: 0.5rem;
margin-top: 0.5rem;
font-size: 0.7rem;
color: var(--gray-600);
flex-wrap: wrap;
}

.form-trust-indicators span {
display: flex;
align-items: center;
gap: 0.25rem;
padding: 0.25rem 0.5rem;
background: var(--success-light);
border-radius: 4px;
}

.submit-btn {
width: 100%;
/* background: linear-gradient(135deg, var(--color-primary-normal-bg) 0%, var(--color-primary-hover-bg) 100%); */
background: var(--color-primary-normal-bg);
color: white;
padding: 1.125rem;
border: none;
border-radius: 12px;
font-size: 1rem;
font-weight: 700;
cursor: pointer;
transition: all 0.3s;
box-shadow: var(--shadow-primary);
margin-top: 1rem;
min-height: 52px;
}

.submit-btn:hover {
transform: translateY(-2px);
box-shadow: 0 15px 25px -5px color-mix(in srgb, var(--color-primary-normal-bg) 60%, transparent);
}

.submit-btn .btn-text-main {
font-size: 1rem;
font-weight: 700;
}

.submit-btn .btn-text-sub {
font-size: 0.75rem;
opacity: 0.9;
font-weight: 500;
margin-top: 0.25rem;
}

.form-footer {
margin-top: 1.5rem;
padding-top: 1.5rem;
border-top: 2px solid var(--gray-200);
}

.form-footer-trust {
display: flex;
justify-content: center;
gap: 1rem;
flex-wrap: wrap;
font-size: 0.75rem;
color: var(--gray-600);
}

.form-footer-trust span {
display: flex;
align-items: center;
gap: 0.25rem;
font-weight: 600;
padding: 0.375rem 0.625rem;
background: var(--gray-100);
border-radius: 6px;
}

/* Desktop Responsive */
@media (min-width: 768px) {
.hero {
padding: 120px 2rem 80px;
}

.hero-container {
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
}

.hero-form-card {
order: 0;
}

.hero h1 {
font-size: 3rem;
}

.hero-subtitle {
font-size: 1.2rem;
}

.hero-cta-group {
flex-wrap: nowrap;
}
}

@media (max-width: 767px) {
.hero {
padding: 80px 1.25rem 50px;
}

.hero-cta-group {
flex-wrap: nowrap;
gap: 0.75rem;
}

.btn-primary,
.btn-secondary {
padding: 0.875rem 1.25rem;
font-size: 0.875rem;
min-width: 0;
flex: 1;
}

.btn-primary .btn-main-text,
.btn-secondary .btn-main-text {
font-size: 0.875rem;
}

.btn-primary .btn-sub-text,
.btn-secondary .btn-sub-text {
font-size: 0.65rem;
}
}



/* ------------------------------------------------------------------------------------------------------------------ *
