/* Base Styles - Find Quality Insurance Landing */
:root {
	--fqi-blue: #1a73e8;
	--fqi-green: #00a38c;
	--fqi-orange: #ff7a00;
	--fqi-deep: #0b3a6f;
	--text: #1f2937;
	--muted: #6b7280;
	--bg: #ffffff;
	--bg-soft: #f5f7fb;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: var(--text); background: var(--bg); }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.site-header { position: sticky; top: 0; z-index: 50; background: #ffffffea; backdrop-filter: saturate(120%) blur(6px); border-bottom: 1px solid #e5e7eb; transition: all 0.3s ease; }
.site-header.scrolled { background: #ffffff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand img { height: 40px; width: auto; }
.header-phone { color: var(--fqi-deep); font-weight: 600; text-decoration: none; }
.header-phone:hover { text-decoration: underline; }

.hero { position: relative; padding: 56px 0 24px; background: linear-gradient(180deg, #eef5ff 0%, #ffffff 70%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 32px; }
.hero h1 { font-size: 40px; line-height: 1.1; margin: 0 0 12px; color: var(--fqi-deep); }
.hero .subheadline { font-size: 18px; color: var(--muted); margin: 0 0 16px; }
.hero-ctas { display: flex; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; padding: 12px 18px; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--fqi-blue); color: #fff; }
.btn-primary:hover { filter: brightness(0.95); }
.btn-link { color: var(--fqi-deep); text-decoration: underline; font-weight: 600; }
.trust-badges { margin-top: 10px; color: var(--muted); font-size: 14px; }
.hero-visuals { position: relative; }
.hero-visuals img { width: 100%; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.hero-visuals .rates-mock { position: absolute; bottom: -16px; right: -16px; width: 55%; border: 6px solid #fff; }
.hero-wave { position: absolute; inset: auto -40px -20px -40px; height: 140px; background: radial-gradient(120% 60% at 50% 0%, rgba(26,115,232,0.08), transparent 60%); }
.hero-wave-2 { transform: translateY(24px); opacity: .6; }

.value-props { padding: 32px 0 8px; background: var(--bg); }
.value-props h2 { text-align: center; font-size: 28px; margin: 0 0 20px; color: var(--fqi-deep); }
.props-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prop { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 18px; text-align: center; }
.prop img { width: 48px; height: 48px; margin-bottom: 10px; }
.prop h3 { margin: 8px 0 6px; font-size: 18px; }
.prop p { margin: 0; color: var(--muted); }
.section-divider { height: 1px; background: #e5e7eb; margin: 24px 0 0; }

.how-it-works { padding: 28px 0; background: var(--bg-soft); }
.how-it-works h2 { text-align: center; font-size: 24px; margin: 0 0 12px; color: var(--fqi-deep); }
.hiw-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: decimal inside; margin: 0; padding: 0; color: var(--text); }

.lead-form { padding: 28px 0 40px; background: var(--bg); }
.lead-form .container { max-width: 840px; }

/* Gravity Forms adjustments */
.gform_wrapper.gravity-theme .gform_heading .gform_title { font-size: 24px; color: var(--fqi-deep); }
.gform_wrapper.gravity-theme .gform_heading .gform_description { color: var(--muted); }
.gform_wrapper.gravity-theme .gform_page_footer input[type=button],
.gform_wrapper.gravity-theme .gform_page_footer input[type=submit] { background: var(--fqi-blue); color: #fff; border: none; padding: 12px 18px; border-radius: 8px; font-weight: 700; }
.gform_wrapper.gravity-theme .gf_progressbar_percentage { background: var(--fqi-blue) !important; }
.gform_wrapper.gravity-theme .gfield_required { color: var(--fqi-orange); }

/* Form enhancements */
input.error, select.error, textarea.error { border-color: #ef4444 !important; box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important; }
.btn.loading { position: relative; color: transparent !important; }
.btn.loading::after { content: ''; position: absolute; top: 50%; left: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 2px solid transparent; border-top: 2px solid currentColor; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Lazy loading */
img.lazy { opacity: 0; transition: opacity 0.3s; }
img.lazy.loaded { opacity: 1; }

.site-footer { padding: 40px 0 20px; background: #0f172a; color: #cbd5e1; }
.footer-content { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 24px; }
.footer-brand .footer-logo { height: 32px; width: auto; margin-bottom: 8px; }
.footer-brand .footer-tagline { color: #94a3b8; margin: 0; }
.footer-contact h4 { color: #fff; margin: 0 0 8px; font-size: 16px; }
.footer-contact p { margin: 4px 0; color: #cbd5e1; }
.footer-contact a { color: #cbd5e1; text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid #334155; }
.footer-nav .footer-menu { display: flex; gap: 16px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { color: #cbd5e1; text-decoration: none; font-size: 14px; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
	.hero-inner { grid-template-columns: 1fr; }
	.hero-visuals .rates-mock { position: static; width: 100%; margin-top: 10px; }
	.props-grid { grid-template-columns: 1fr; }
	.hiw-steps { grid-template-columns: 1fr; }
	.footer-content { grid-template-columns: 1fr; gap: 20px; }
	.footer-bottom { flex-direction: column; text-align: center; gap: 16px; }
	.footer-nav .footer-menu { justify-content: center; }
}

@media (max-width: 600px) {
	.hero h1 { font-size: 32px; }
	.hero .subheadline { font-size: 16px; }
	.hero-ctas { flex-direction: column; align-items: stretch; }
	.hero-ctas .btn { text-align: center; }
	.container { padding: 0 16px; }
	.value-props h2 { font-size: 24px; }
	.how-it-works h2 { font-size: 20px; }
}


