/* ============================================================
   WizBrand Feature pages — unified professional + creative theme
   Loaded on features/*/index.blade.php via @push('styles').
   Functionality/markup-class names preserved; styling only.
   ============================================================ */

.fp { font-family: 'Inter', system-ui, -apple-system, Arial, sans-serif; color: #41506b; }
.fp * { box-sizing: border-box; }
.fp-container { max-width: 1100px; margin: 0 auto; padding: 0 1.4rem; }

/* ---------- Hero (with animated accents) ---------- */
.fp-hero { position: relative; overflow: hidden; background: linear-gradient(125deg, #0b2350 0%, #1d4ed8 60%, #3b7dff 100%); color: #fff; padding: 2.6rem 1.4rem 2.8rem; text-align: center; }
.fp-hero::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; top: -180px; right: -120px; background: radial-gradient(circle, rgba(59, 130, 246, .55), transparent 70%); animation: fpFloat 9s ease-in-out infinite; }
.fp-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(circle at 50% 35%, #000, transparent 75%); mask-image: radial-gradient(circle at 50% 35%, #000, transparent 75%); }
.fp-hero .inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; animation: fpUp .6s ease both; }
.fp-crumb { font-size: .85rem; color: #cfe0ff; margin-bottom: .9rem; }
.fp-crumb a { color: #cfe0ff; text-decoration: none; }
.fp-crumb a:hover { color: #fff; text-decoration: underline; }
.fp-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #cfe0ff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); padding: .42rem .9rem; border-radius: 999px; }
.fp-hero h1 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-weight: 800; color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); letter-spacing: -.02em; margin: 1rem 0 .9rem; line-height: 1.12; }
.fp-hero p { color: #dbe6f7; font-size: 1.12rem; max-width: 660px; margin: 0 auto 1.8rem; }
.fp-hero .cta { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

@keyframes fpFloat { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(26px) scale(1.06); } }
@keyframes fpUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Buttons ---------- */
.fp-btn { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; padding: .85rem 1.7rem; border-radius: 11px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .18s, background .18s, color .18s, box-shadow .18s; }
.fp-btn:hover { transform: translateY(-2px); }
.fp-btn-light { background: #fff; color: #1d4ed8; box-shadow: 0 14px 34px rgba(15, 27, 52, .18); }
.fp-btn-light:hover { color: #1741b6; box-shadow: 0 18px 40px rgba(15, 27, 52, .26); }
.fp-btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .4); }
.fp-btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.fp-btn-primary { background: #1d4ed8; color: #fff; box-shadow: 0 10px 22px rgba(29, 78, 216, .28); }
.fp-btn-primary:hover { background: #1741b6; color: #fff; }

/* ---------- Section wrappers ---------- */
.fp-section { padding: 3.2rem 0; }
.fp-section.bg { background: #f7f9fd; }
/* tighten gap between hero and first content block (legacy pages use .container.mt-5) */
.fp-hero + .container, .fp-hero + .fp-section { margin-top: 0; padding-top: 1.8rem; }
.fp-hero + .container.mt-5 { margin-top: 1.8rem !important; }
.fp-head { max-width: 720px; margin: 0 auto 2.4rem; text-align: center; }
.fp-head .fp-eyebrow { color: #1d4ed8; background: #ecf2ff; border-color: #d8e4ff; }
.fp-head h2 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; color: #0f1b34; font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: .7rem 0 .6rem; letter-spacing: -.02em; }
.fp-head p { color: #6b7894; font-size: 1.04rem; }
.fp-lead { font-size: 1.15rem; color: #41506b; line-height: 1.85; max-width: 860px; margin: 0 auto; text-align: center; }
.fp-lead strong { color: #1d4ed8; }

/* ---------- Benefits / feature grid ---------- */
.fp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.fp-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .fp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .fp-grid, .fp-grid.cols-2 { grid-template-columns: 1fr; } }
.fp-tile { position: relative; overflow: hidden; background: #fff; border: 1px solid #e6ecf5; border-radius: 16px; padding: 1.6rem 1.4rem; box-shadow: 0 2px 8px rgba(15, 27, 52, .06); transition: transform .22s, box-shadow .22s, border-color .22s; }
.fp-tile::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, #3b82f6, #06b6d4); transform: scaleX(0); transform-origin: left; transition: transform .28s ease; }
.fp-tile:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(15, 27, 52, .14); border-color: #cdddfb; }
.fp-tile:hover::after { transform: scaleX(1); }
.fp-tile .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, #3b82f6, #1d4ed8); margin-bottom: .9rem; box-shadow: 0 10px 20px rgba(29, 78, 216, .28); transition: transform .22s; }
.fp-tile:hover .ic { transform: translateY(-2px) scale(1.06); }
.fp-tile.t2 .ic { background: linear-gradient(135deg, #06b6d4, #0e7490); box-shadow: 0 10px 20px rgba(6, 182, 212, .28); }
.fp-tile.t3 .ic { background: linear-gradient(135deg, #34d399, #2f9e44); box-shadow: 0 10px 20px rgba(52, 211, 153, .28); }
.fp-tile.t4 .ic { background: linear-gradient(135deg, #fbbf24, #d97706); box-shadow: 0 10px 20px rgba(251, 191, 36, .28); }
.fp-tile.t5 .ic { background: linear-gradient(135deg, #a78bfa, #6d28d9); box-shadow: 0 10px 20px rgba(167, 139, 250, .28); }
.fp-tile.t6 .ic { background: linear-gradient(135deg, #f472b6, #be185d); box-shadow: 0 10px 20px rgba(244, 114, 182, .28); }
.fp-tile h3 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 1.05rem; font-weight: 700; color: #0f1b34; margin: 0 0 .45rem; }
.fp-tile p { color: #6b7894; font-size: .94rem; line-height: 1.6; margin: 0; }

/* Staggered entrance for tiles */
.fp-grid .fp-tile { animation: fpUp .5s ease both; }
.fp-grid .fp-tile:nth-child(2) { animation-delay: .06s; }
.fp-grid .fp-tile:nth-child(3) { animation-delay: .12s; }
.fp-grid .fp-tile:nth-child(4) { animation-delay: .18s; }
.fp-grid .fp-tile:nth-child(5) { animation-delay: .24s; }
.fp-grid .fp-tile:nth-child(6) { animation-delay: .3s; }

/* ---------- Prose content cards ---------- */
.fp-card { position: relative; background: #fff; border: 1px solid #e6ecf5; border-radius: 16px; padding: 1.9rem; margin: 0 auto 1.4rem; max-width: 980px; box-shadow: 0 2px 10px rgba(15, 27, 52, .06); }
.fp-card h2 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; color: #0f1b34; font-weight: 700; font-size: 1.3rem; margin: 0 0 1rem; display: flex; align-items: center; gap: .65rem; }
.fp-card h2 i { width: 38px; height: 38px; border-radius: 10px; display: inline-grid; place-items: center; font-size: 1rem; color: #fff; background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.fp-card h3 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 1.05rem; color: #0f1b34; margin: .2rem 0 .25rem; }
.fp-card p { color: #41506b; line-height: 1.8; margin: 0 0 1rem; }
.fp-card p:last-child { margin-bottom: 0; }
.fp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.fp-list li { position: relative; padding-left: 2.2rem; color: #41506b; line-height: 1.65; }
.fp-list li::before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; color: #2f9e44; background: #e7f7ec; }

/* ---------- Numbered steps (creative "how it works") ---------- */
.fp-steps { list-style: none; counter-reset: fpstep; padding: 0; margin: 0; display: grid; gap: 1rem; }
.fp-steps li { counter-increment: fpstep; position: relative; padding: 1rem 1.1rem 1rem 3.6rem; background: #f7f9fd; border: 1px solid #e6ecf5; border-radius: 13px; color: #41506b; line-height: 1.6; }
.fp-steps li::before { content: counter(fpstep); position: absolute; left: 1rem; top: 1rem; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: .95rem; color: #fff; background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.fp-steps li h3 { margin: 0 0 .2rem; font-size: 1.02rem; color: #0f1b34; }

/* ---------- Split (two-column highlight) ---------- */
.fp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; max-width: 980px; margin: 0 auto; }
@media (max-width: 800px) { .fp-split { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.fp-cta { position: relative; overflow: hidden; background: linear-gradient(120deg, #0b2350, #1d4ed8); color: #fff; text-align: center; padding: 3.2rem 1.5rem; border-radius: 24px; max-width: 1040px; margin: 0 auto; box-shadow: 0 30px 70px rgba(15, 27, 52, .18); }
.fp-cta::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; top: -150px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(139, 92, 246, .4), transparent 70%); }
.fp-cta h2 { position: relative; color: #fff; font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 0 0 .8rem; }
.fp-cta p { position: relative; color: #d7e3fb; max-width: 640px; margin: 0 auto 1.6rem; line-height: 1.7; }

@media (prefers-reduced-motion: reduce) { .fp-hero::before, .fp-hero .inner, .fp-grid .fp-tile { animation: none !important; } }

/* ============================================================
   Legacy support — older feature pages still using
   .jumbotron / .section-card / .card-list / .new3 / .footer
   ============================================================ */
.jumbotron { position: relative; overflow: hidden; background: linear-gradient(125deg, #0b2350 0%, #1d4ed8 60%, #3b7dff 100%) !important; color: #fff !important; padding: 3.4rem 1.4rem !important; min-height: 0; height: auto !important; display: flex; align-items: center; justify-content: center; text-align: center; border-radius: 0 !important; margin: 0 0 2.6rem !important; box-shadow: none !important; animation: none !important; }
.jumbotron::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; top: -180px; right: -120px; background: radial-gradient(circle, rgba(59, 130, 246, .5), transparent 70%); }
.jumbotron h1, .jumbotron div { position: relative; z-index: 1; }
.jumbotron h1 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-weight: 800; color: #fff !important; font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.02em; margin: 0; }
.section-card, .label-section { position: relative; background: #fff; border: 1px solid #e6ecf5; border-radius: 16px; padding: 1.8rem; margin: 0 auto 1.4rem; max-width: 1000px; box-shadow: 0 2px 8px rgba(15, 27, 52, .06); transition: transform .2s, box-shadow .2s; animation: fpUp .5s ease both; }
.section-card:hover, .label-section:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15, 27, 52, .1); }
.section-card h4, .label-section h4 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; color: #0f1b34; font-weight: 700; font-size: 1.15rem; line-height: 1.4; margin: 0 0 .6rem; display: flex; align-items: flex-start; gap: .6rem; }
.section-card h4 i, .label-section h4 i { color: #1d4ed8; margin-top: .15rem; }
.section-card p, .label-section p { color: #41506b; line-height: 1.75; margin: 0 0 .85rem; font-size: 1.02rem !important; }
.section-card p:last-child { margin-bottom: 0; }
hr.new3, .new3 { border: none; height: 1px; background: linear-gradient(90deg, #d8e4ff, transparent); margin: .2rem 0 1rem; }
/* short-item lists render as a responsive grid of small boxes */
.card-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .7rem; }
.card-list li { position: relative; padding: .65rem .9rem .65rem 2.4rem; background: #f7f9fd; border: 1px solid #e6ecf5; border-radius: 11px; color: #41506b; line-height: 1.5; font-weight: 500; transition: border-color .2s, transform .2s, box-shadow .2s; }
.card-list li:hover { border-color: #cdddfb; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(15, 27, 52, .08); }
.card-list li::before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: .7rem; top: .65rem; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .64rem; color: #2f9e44; background: #e7f7ec; }
/* items that carry a heading + description span the full width and read as normal rows */
.card-list li:has(h4) { grid-column: 1 / -1; background: #fff; border-color: #eef2f8; padding: 1rem 1.1rem 1rem 2.6rem; font-weight: 400; line-height: 1.65; }
.card-list li h4 { display: block; font-size: 1rem; margin: .1rem 0 .25rem; color: #0f1b34; font-weight: 700; }
.footer { background: linear-gradient(120deg, #0b2350, #1d4ed8) !important; color: #fff !important; text-align: center; padding: 3rem 1.5rem !important; border-radius: 24px !important; margin: 2.6rem auto !important; max-width: 1140px; box-shadow: 0 30px 70px rgba(15, 27, 52, .16); }
.footer h3 { color: #fff !important; font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-weight: 800; }
.footer p { color: #d7e3fb !important; max-width: 640px; margin: 0 auto 1.5rem; }
.btn { display: inline-flex; align-items: center; gap: .5rem; background: #fff; color: #1d4ed8; font-weight: 700; padding: .85rem 1.7rem; border-radius: 11px; text-decoration: none; border: none; box-shadow: 0 10px 22px rgba(0, 0, 0, .18); transition: transform .18s; }
.btn:hover { transform: translateY(-2px); color: #1741b6; }

@media (max-width: 600px) { .fp-card, .section-card, .label-section { padding: 1.3rem 1.2rem; } }

/* Tiles are centered by default across the whole site (user-cases, organizations,
   feature pages) for one consistent look — icon, title, text and button centered. */
.fp-tile { display: flex; flex-direction: column; align-items: center; text-align: center; }
.fp-tile .ic { align-self: center; }
.fp-tile .fp-btn { align-self: center; margin-top: 1.1rem; }
