
/* =============================================================================
 * MARKET INTELLIGENCE LANDING  (templates/page-market-intelligence.php)
 * Figma: "Juris Digital - Landing Page" / TEMPLATE. Prefix: mi-
 * ========================================================================== */
.mi-page, .mi-nav, .mi-footer { font-family: Lexend, system-ui, -apple-system, sans-serif; color: #222; }
.mi-page *, .mi-nav *, .mi-footer * { box-sizing: border-box; }
.mi-page svg, .mi-nav svg, .mi-footer svg { display: block; }
.mi-container { max-width: 1344px; margin: 0 auto; padding: 0 24px; width: 100%; }
.mi-page section[id] { scroll-margin-top: 76px; } /* offset for the fixed nav on anchor jumps */

/* ---- Brand utilities ---- */
.mi-hl { background: linear-gradient(90deg, #6fff2c, #01c3c3); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.mi-grad-num { background: linear-gradient(90deg, #6fff2c, #14eeee); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* ---- Buttons ---- */
.mi-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 17px 28px; border-radius: 999px; border: 0; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 15px; letter-spacing: .6px; line-height: 1; text-transform: uppercase; text-decoration: none; transition: .2s ease; }
.mi-btn svg { width: 22px; height: 22px; }
.mi-btn-block { width: 100%; }
.mi-btn-gradient { background: linear-gradient(180deg, #a7ed4f, #14eeee); color: #222; }
.mi-btn-gradient:hover { filter: brightness(1.05); transform: translateY(-1px); }
.mi-btn-dark { background: #1e1e1e; color: #fff; }
.mi-btn-dark:hover { background: #000; }
.mi-btn-bordered { border: 1px solid #656565; }
.mi-or { font-size: 15px; font-weight: 700; letter-spacing: .6px; color: #989898; text-transform: uppercase; text-align: center; }

/* ---- Section heads (left-aligned per design) ---- */
.mi-kicker { display: block; font-size: 14px; font-weight: 700; letter-spacing: 1.44px; text-transform: uppercase; color: #222; margin-bottom: 8px; }
.mi-kicker-pill { display: inline-block; padding: 8px 16px; border-radius: 100px; background: rgba(20,238,238,.08); border: 1px solid rgba(1,195,195,.2); color: #01c3c3; margin-bottom: 0; }
.mi-section-head { margin: 0 0 48px; max-width: none; }
.mi-section-head h2 { font-size: 48px; line-height: 1.15; font-weight: 800; margin: 0 0 20px; color: #222; }
.mi-section-head p { color: #222; font-size: 18px; line-height: 1.6; margin: 0; }

/* ---- Icon chips ---- */
.mi-icon-plain { display: inline-flex; color: #01c3c3; margin-bottom: 16px; }
.mi-icon-plain svg { width: 60px; height: 60px; }
.mi-icon-plain img { width: 60px; height: 60px; object-fit: contain; }
.mi-icon-grad { display: inline-flex; align-items: center; justify-content: center; width: 65px; height: 65px; border-radius: 10px; background: linear-gradient(135deg, #6fff2c, #14eeee); color: #fff; margin-bottom: 24px; }
.mi-icon-grad svg { width: 37px; height: 37px; }
.mi-icon-grad img { width: 37px; height: 37px; object-fit: contain; }

/* ============================ NAV (dark, fixed) ============================ */
.mi-nav { background: #222; border-bottom: 1px solid rgba(255,255,255,.06); position: fixed; top: 0; left: 0; width: 100%; height: 60px; z-index: 1000; }
.mi-nav-inner { width: 100%; max-width: 1620px; height: 100%; margin: 0 auto; padding: 0 24px; display: flex !important; flex-direction: row !important; align-items: center; justify-content: space-between !important; gap: 16px; }
.mi-nav-logo { display: inline-flex; }
.mi-nav-logo img { height: 43px; width: auto; display: block; }
.mi-nav-phone { color: #fff; text-decoration: none; font-size: 20px; font-weight: 400; white-space: nowrap; }
.mi-nav-phone-num { color: #14eeee; }
.mi-body { padding-top: 60px; }
.mi-body.admin-bar .mi-nav { top: 32px; }
@media (max-width: 782px) { .mi-body.admin-bar .mi-nav { top: 46px; } }

/* ============================ HERO ============================ */
.mi-hero { padding: 56px 0 72px; background: #fff; }
.mi-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 518px; gap: 90px; align-items: start; }
.mi-hero-left h1 { font-size: 48px; line-height: 1.25; font-weight: 900; margin: 24px 0; color: #222; }
.mi-hero-intro { color: #222; font-size: 18px; line-height: 1.6; margin: 0 0 28px; }
.mi-checklist { list-style: none; padding: 0; margin: 0 0 40px; display: flex; flex-direction: column; gap: 16px; }
.mi-checklist li { display: flex; gap: 16px; align-items: flex-start; font-size: 18px; color: #222; line-height: 1.5; }
.mi-check { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #6fff2c, #14eeee); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-top: 3px; }
.mi-check svg { width: 14px; height: 14px; }
.mi-recognized-label { display: block; font-size: 14px; color: #222; margin-bottom: 14px; font-weight: 700; letter-spacing: 1.44px; text-transform: uppercase; }
.mi-recognized-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.mi-rating { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #e5e5e5; border-radius: 7px; padding: 8px 10px; }
.mi-stars { display: inline-flex; gap: 2px; color: #f5b301; }
.mi-stars svg { width: 16px; height: 16px; }
.mi-rating-text { font-size: 13px; color: #000; }
.mi-award-logo { height: 26px; width: auto; opacity: .85; }
.mi-award-placeholder { font-size: 13px; color: #b0b0b0; font-weight: 700; }

/* ---- Form card ---- */
.mi-form-card { background: #fff; border-radius: 20px; box-shadow: 0 0 40px rgba(0,0,0,.07); padding: 33px; }
.mi-form-head h3 { font-size: 24px; font-weight: 700; margin: 0 0 6px; line-height: 1.2; color: #222; }
.mi-form-head p { font-size: 14px; color: #444; line-height: 1.45; margin: 0 0 22px; }
.mi-form { display: flex; flex-direction: column; gap: 16px; }
.mi-form-row { display: flex; gap: 15px; }
.mi-field { position: relative; display: block; }
.mi-form-row .mi-field { flex: 1; }
.mi-field input { width: 100%; height: 55px; border: 1px solid #e5e5e5; border-radius: 10px; padding: 0 24px; font-size: 16px; font-family: inherit; color: #222; background: #fff; }
.mi-field input::placeholder { color: #989898; }
.mi-field input:focus { outline: none; border-color: #42d7ef; box-shadow: 0 0 0 3px rgba(66,215,239,.15); }
.mi-form .mi-btn-block { margin-top: 8px; } /* + 16px flex gap = 24px below last input */
.mi-form-alt { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 8px; }
.mi-form-alt .mi-btn { width: 100%; }
.mi-form-fineprint { font-size: 14px; color: #444; margin: 18px 0 12px; }
.mi-form-note { background: #f0fff4; border: 1px solid #b7efc5; color: #1a6e30; border-radius: 10px; padding: 9px 24px; font-size: 14px; font-weight: 500; line-height: 1.4; }
.mi-form-rep { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding-top: 20px; border-top: 1px solid #eee; }
.mi-rep-avatar { flex: 0 0 58px; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, #6fff2c, #14eeee); display: flex; align-items: center; justify-content: center; color: #222; font-weight: 700; font-size: 20px; overflow: hidden; }
.mi-rep-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mi-rep-info strong { display: block; font-size: 14px; color: #222; }
.mi-rep-info span { display: block; font-size: 14px; color: #666; line-height: 1.4; }

/* ---- Gravity Forms skin (GF 2.5+ gravity-theme; used when a shortcode is in the card) ---- */
.mi-form-card .gform_wrapper, .mi-form-card .gform_wrapper form { margin: 0; }
.mi-form-card .gform_heading { display: none; }                                   /* hide "* indicates required" legend */
.mi-form-card .gform_validation_container,
.mi-form-card .gfield--type-honeypot { display: none !important; }                 /* keep honeypot hidden */
/* Own the layout: 2-col grid. Full-width fields span both; First/Last span one each. */
.mi-form-card .gform_wrapper .gform_fields { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 16px 15px; }
.mi-form-card .gform_wrapper .gfield { margin: 0; padding: 0; grid-column: 1 / -1; }
.mi-form-card .gform_wrapper .gfield--width-half,
.mi-form-card .gform_wrapper .gfield.gf_left_half,
.mi-form-card .gform_wrapper .gfield.gf_right_half { grid-column: span 1; }
.mi-form-card .gfield_label, .mi-form-card .gform_wrapper .gfield_required { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mi-form-card .gform_wrapper input[type=text], .mi-form-card .gform_wrapper input[type=email], .mi-form-card .gform_wrapper input[type=tel], .mi-form-card .gform_wrapper input[type=url], .mi-form-card .gform_wrapper textarea, .mi-form-card .gform_wrapper select { width: 100% !important; height: 55px; border: 1px solid #e5e5e5 !important; border-radius: 10px !important; padding: 0 24px !important; font-size: 16px; font-family: inherit; color: #222; background: #fff; box-shadow: none !important; }
.mi-form-card .gform_wrapper textarea { height: auto; min-height: 110px; padding: 16px 24px !important; }
.mi-form-card .gform_wrapper ::placeholder { color: #989898; }
.mi-form-card .gform_wrapper input:focus, .mi-form-card .gform_wrapper textarea:focus, .mi-form-card .gform_wrapper select:focus { outline: none; border-color: #42d7ef !important; box-shadow: 0 0 0 3px rgba(66,215,239,.15) !important; }
.mi-form-card .gform_footer { margin: 24px 0 0 !important; padding: 0 !important; }
.mi-form-card .gform_footer input[type=submit], .mi-form-card .gform_footer button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 17px 28px !important; border-radius: 999px !important; border: 0 !important; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 15px; letter-spacing: .6px; text-transform: uppercase; line-height: 1; background: linear-gradient(180deg, #a7ed4f, #14eeee) !important; color: #222 !important; box-shadow: none !important; }
.mi-form-card .gform_footer input[type=submit]:hover, .mi-form-card .gform_footer button:hover { filter: brightness(1.05); }
.mi-form-card .gform_wrapper .gfield_error input { border-color: #e05252 !important; }
.mi-form-card .gform_wrapper .gfield_validation_message, .mi-form-card .gform_wrapper .validation_message { font-size: 13px; color: #e05252; margin-top: 4px; background: none; border: 0; padding: 0; }

/* ============================ NUMBERS ============================ */
.mi-numbers { background: #222; padding: 36px 0; }
.mi-numbers-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.mi-stat { display: flex; flex-direction: column; gap: 14px; text-align: center; flex: 1; }
.mi-stat-num { font-size: 48px; font-weight: 900; line-height: 1; }
.mi-stat-label { font-size: 16px; color: rgba(255,255,255,.45); font-weight: 500; line-height: 1.3; }
.mi-numbers-div { flex: 0 0 1px; width: 1px; height: 56px; background: rgba(255,255,255,.12); }

/* ======================= WHY CAMPAIGNS FAIL ======================= */
.mi-why { padding: 80px 0; background: #f8f8f8; }
.mi-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 120px; }
.mi-card { background: #fff; border-radius: 20px; }
.mi-why-card { position: relative; overflow: hidden; box-shadow: 0 0 40px rgba(0,0,0,.07); padding: 32px 30px 32px 40px; }
.mi-why-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: linear-gradient(180deg, #14eeee 0%, #6fff2c 100%); }
.mi-why-card h3 { font-size: 20px; margin: 0 0 8px; line-height: 1.4; font-weight: 700; color: #222; }
.mi-why-card p { color: rgba(34,34,34,.5); font-size: 14px; line-height: 1.6; margin: 0; }
.mi-quote-callout { background: #222; border-radius: 20px; padding: 44px 40px; display: flex; gap: 28px; align-items: flex-start; }
.mi-quote-mark { flex: 0 0 auto; color: #42d7ef; }
.mi-quote-mark svg { width: 60px; height: auto; }
.mi-quote-callout blockquote { margin: 0; }
.mi-quote-callout p { font-size: 28px; line-height: 1.5; color: #fff; font-weight: 700; margin: 0 0 16px; }
.mi-quote-callout cite { font-style: normal; font-size: 20px; color: rgba(255,255,255,.85); }

/* ======================= WHAT'S INCLUDED (compare) ======================= */
.mi-compare { padding: 80px 0; background: #fff; }
.mi-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.mi-compare-card { padding: 38px 40px 44px; border-radius: 10px; }
.mi-compare-neg { background: #f8f8f8; border: 1px solid #d9d9d9; }
.mi-compare-pos { background: #222; }
.mi-compare-label { display: block; font-size: 12px; font-weight: 800; letter-spacing: 2.16px; text-transform: uppercase; color: rgba(34,34,34,.5); margin-bottom: 8px; }
.mi-compare-h { font-size: 20px; font-weight: 700; line-height: 1.4; margin: 0 0 24px; color: #222; }
.mi-compare-pos .mi-compare-h { color: #fff; }
.mi-compare-list { list-style: none; padding: 0; margin: 0; }
.mi-compare-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(0,0,0,.08); font-size: 15px; color: #222; line-height: 1.5; }
.mi-compare-list li:first-child { border-top: 0; }
.mi-compare-pos .mi-compare-list li { border-top-color: rgba(255,255,255,.12); color: #fff; }
.mi-mark { flex: 0 0 24px; width: 24px; height: 24px; display: inline-flex; margin-top: 1px; }
.mi-mark svg { width: 24px; height: 24px; }
.mi-compare-neg .mi-mark { color: #222; }
.mi-compare-pos .mi-mark { color: #6fff2c; }

/* ============================ WHAT WE DO ============================ */
.mi-do { padding: 80px 0; background: #fff; }
.mi-do-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mi-do-card { position: relative; overflow: hidden; box-shadow: 0 0 40px rgba(0,0,0,.07); padding: 44px 26px 34px; }
.mi-do-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px; background: linear-gradient(90deg, #6fff2c, #14eeee); }
.mi-do-card h3 { font-size: 20px; margin: 0 0 8px; line-height: 1.4; font-weight: 700; color: #222; }
.mi-do-card p { color: rgba(34,34,34,.5); font-size: 14px; line-height: 1.6; margin: 0; }

/* ============================ RESULT ============================ */
.mi-result { padding: 80px 0; background: #fff; }
.mi-result-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.mi-result-stat { background: #222; border-radius: 20px; padding: 40px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.mi-result-num { font-size: 48px; font-weight: 900; line-height: 1; }
.mi-result-label { color: rgba(255,255,255,.7); font-size: 18px; font-weight: 500; line-height: 1.3; }
.mi-result-sub { font-size: 16px; font-weight: 700; text-transform: uppercase; }
.mi-testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mi-testimonial { background: #fff; border: 1px solid #e2e2e2; border-radius: 20px; box-shadow: 0 0 40px rgba(0,0,0,.07); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.mi-stars-gold { color: #f5b301; }
.mi-stars-gold svg { width: 24px; height: 24px; }
.mi-testimonial-quote { color: #222; font-size: 18px; font-weight: 500; line-height: 1.5; margin: 0; flex: 1; }
.mi-testimonial-by { display: flex; align-items: center; gap: 15px; }
.mi-testimonial-avatar { flex: 0 0 50px; width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #6fff2c, #14eeee); color: #222; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.mi-testimonial-name strong { display: block; color: #222; font-size: 14px; font-weight: 700; }
.mi-testimonial-name span { display: block; color: #989898; font-size: 14px; }

/* ============================ PROCESS ============================ */
.mi-process { padding: 80px 0; background: #fff; }
.mi-process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.mi-step { text-align: center; position: relative; }
.mi-step-num { display: inline-flex; align-items: center; justify-content: center; width: 100px; height: 100px; border-radius: 50%; font-size: 44px; font-weight: 900; color: #222; background: linear-gradient(135deg, #6fff2c 0%, #14eeee 100%); margin-bottom: 32px; position: relative; z-index: 1; }
.mi-step:not(:last-child)::after { content: ""; position: absolute; top: 50px; left: calc(50% + 62px); right: calc(-50% + 62px); height: 0; border-top: 2px dashed #cfcfcf; z-index: 0; }
.mi-step h3 { color: #222; font-size: 20px; margin: 0 0 14px; line-height: 1.3; font-weight: 900; }
.mi-step p { color: rgba(34,34,34,.5); font-size: 15px; line-height: 1.65; margin: 0; }

/* ============================ FAQ ============================ */
.mi-faq { padding: 80px 0; background: #fff; }
.mi-faq-list { display: flex; flex-direction: column; gap: 16px; }
.mi-faq-item { background: #fff; border: 1px solid #ececec; border-radius: 20px; box-shadow: 0 0 30px rgba(0,0,0,.05); padding: 0 40px; }
.mi-faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 0; font-size: 20px; font-weight: 700; color: #222; }
.mi-faq-item summary::-webkit-details-marker { display: none; }
.mi-faq-toggle { flex: 0 0 24px; width: 24px; height: 24px; color: #01c3c3; }
.mi-faq-toggle svg { width: 24px; height: 24px; }
.mi-faq-minus { display: none; }
.mi-faq-item[open] .mi-faq-plus { display: none; }
.mi-faq-item[open] .mi-faq-minus { display: inline-flex; }
.mi-faq-answer { padding: 0 0 32px; margin-top: -8px; color: rgba(34,34,34,.5); font-size: 15px; line-height: 1.65; overflow: hidden; transition: height .3s ease; }
.mi-faq-toggle svg, .mi-faq-item summary { transition: color .2s ease; }
.mi-faq-answer p { margin: 0; font-size: 15px; line-height: 1.65; } /* target the <p> so theme's global "p{font-size:20px}" can't win */

/* ============================ FINAL CTA ============================ */
.mi-final { padding: 90px 0; background: #222; text-align: center; }
.mi-final-inner { max-width: 1070px; margin: 0 auto; }
.mi-final h2 { font-size: 48px; line-height: 1.25; font-weight: 900; color: #fff; margin: 0 0 24px; }
.mi-final-intro { color: rgba(255,255,255,.6); font-size: 18px; line-height: 1.6; max-width: 860px; margin: 0 auto 32px; }
.mi-final-ctas { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 450px; margin: 0 auto 32px; }
.mi-final-ctas .mi-btn { width: 100%; }
.mi-final-call { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; }
.mi-final-call span { color: rgba(255,255,255,.6); font-size: 18px; }
.mi-final-phone { font-size: 32px; font-weight: 700; text-decoration: underline; }

/* ============================ FOOTER ============================ */
.mi-footer { background: #111; padding: 32px 0; }
.mi-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 0 24px; }
.mi-footer-logo img { height: 42px; width: auto; }
.mi-footer-copy { color: #bdbdbd; font-size: 14px; }
.mi-footer-nav { display: flex; gap: 24px; }
.mi-footer-nav a { color: #e0e0e0; text-decoration: none; font-size: 14px; }
.mi-footer-nav a:hover { color: #fff; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1200px) {
	.mi-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.mi-hero-left, .mi-hero-right { min-width: 0; }
	.mi-hero-right { max-width: 560px; }
	.mi-hero-left h1, .mi-section-head h2, .mi-final h2 { font-size: 38px; }
	.mi-why-grid, .mi-do-grid { grid-template-columns: repeat(2, 1fr); }
	.mi-quote-callout p { font-size: 22px; }
}
@media (max-width: 900px) {
	.mi-compare-grid { grid-template-columns: 1fr; }
	.mi-result-stats, .mi-testimonials { grid-template-columns: 1fr; }
	.mi-process-grid { grid-template-columns: 1fr; gap: 32px; }
	.mi-step:not(:last-child)::after { display: none; }
	.mi-numbers-row { flex-wrap: wrap; gap: 28px 12px; }
	.mi-numbers-div { display: none; }
	.mi-stat { flex: 0 0 45%; }
}
@media (max-width: 640px) {
	.mi-container { padding: 0 18px; }
	.mi-hero { padding: 36px 0 48px; }
	section#hero.mi-hero p { max-width: 100%; } /* override theme's global "section#hero p { max-width: 90% }" bleed */
	.mi-hero-left h1, .mi-section-head h2, .mi-final h2 { font-size: 30px; }
	.mi-why, .mi-compare, .mi-do, .mi-result, .mi-process, .mi-faq { padding: 56px 0; }
	.mi-final { padding: 64px 0; }
	.mi-why-grid, .mi-do-grid { grid-template-columns: 1fr; }
	.mi-form-row { flex-direction: column; gap: 16px; }
	.mi-form-card { padding: 24px; }
	.mi-form-card .gform_wrapper .gform_fields { grid-template-columns: 1fr; } /* stack First/Last on mobile */
	.mi-quote-callout { flex-direction: column; gap: 12px; padding: 32px 26px; }
	.mi-quote-callout p { font-size: 20px; }
	.mi-stat { flex: 0 0 100%; }
	.mi-nav { height: 54px; }
	.mi-nav-inner { padding: 0 18px; }
	.mi-nav-logo img { height: 32px; }
	.mi-nav-phone { font-size: 14px; }
	.mi-nav-phone-label { display: none; }
	.mi-body { padding-top: 54px; }
	.mi-footer-inner { flex-direction: column; text-align: center; }
	.mi-faq-item { padding: 0 24px; }
	.mi-faq-item summary { font-size: 16px; }
	.mi-faq-answer p { font-size: 13px; }
	.mi-final-phone { font-size: 26px; }
}
