/* ==========================================================================
   Landing Pages (marketing campaigns) - shared layout + section styles
   Used by: resources/views/frontend/layout/template_landing_pages.blade.php
   Page-specific styles live in each page via @push('landing_styles').
   ========================================================================== */

.lp-body { background: #fff; color: #0b193b; font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

.lp-container { width: min(1440px, calc(100% - 96px)); margin-inline: auto; }

.lp-logo { display: block; width: auto; height: 46px; }

.lp-body a:focus-visible,
.lp-body button:focus-visible,
.lp-body input:focus-visible { outline: 3px solid #099b9f; outline-offset: 4px; }

/* Header */
.lp-header { background: #fff; border-bottom: 1px solid #dbe2ec; }
.lp-header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lp-header-cta a { color: #064283; font-size: 17px; font-weight: 700; }
.lp-header-cta a span { margin-left: 10px; font-size: 25px; }

/* Footer */
.lp-footer { border-top: 1px solid #dbe2ec; background: #fff; }
.lp-footer-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lp-footer-logo { height: 37px; }
.lp-footer-nav { display: flex; flex-wrap: wrap; gap: 28px; }
.lp-footer-nav a { color: #535c6c; font-size: 14px; }
.lp-footer-legal { border-top: 1px solid #edf1f6; padding: 16px 0 24px; color: #6b7382; font-size: 12px; line-height: 1.5; }
.lp-footer-legal p { margin: 0 0 6px; }

/* Hero: copy + form card (2 columns), or copy + preview + form card (3 columns) */
.lp-hero { padding: 56px 0; background: radial-gradient(ellipse at 60% 95%, #dceaf8, transparent 50%), linear-gradient(120deg, #f7f9fc, #f0f5fc); }
.lp-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 40px; }
.lp-hero-grid--with-preview { grid-template-columns: 1.3fr .8fr 1.1fr; }
.lp-hero-preview { perspective: 1000px; padding: 12px 0; }
.lp-eyebrow { display: inline-block; padding: 6px 10px; border-radius: 8px; background: #e2efff; color: #004184; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.lp-hero-copy h1 { margin: 16px 0; color: #0b193b; font-size: clamp(32px, 2.9vw, 44px); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.lp-intro { color: #4b5261; font-size: 18px; line-height: 1.55; margin-bottom: 24px; max-width: 560px; }

/* Checklist */
.lp-checklist { list-style: none; padding: 0; margin: 0; }
.lp-checklist li { display: flex; align-items: flex-start; gap: 12px; margin-top: 12px; font-size: 16px; line-height: 1.45; }
.lp-check { flex: 0 0 20px; height: 20px; margin-top: 1px; border: 2px solid #009b7d; border-radius: 50%; color: #009b7d; text-align: center; font-size: 12px; font-weight: 700; line-height: 16px; }

/* Form card */
.lp-form-card { position: relative; background: #fff; border: 1px solid #d9e0e9; border-radius: 14px; padding: 28px; box-shadow: 0 4px 8px #1632520d; }
.lp-form-card h2 { color: #0b193b; font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; margin: 0 0 20px; }
.lp-field { margin-bottom: 16px; }
.lp-field label { display: block; font-size: 14px; font-weight: 600; color: #172033; margin-bottom: 6px; }
.lp-field input { width: 100%; height: 46px; border: 1px solid #bfc7d3; border-radius: 9px; padding: 10px 14px; font-size: 16px; color: #172033; background: #fff; }
.lp-field input::placeholder { color: #646b79; }
.lp-consent { display: flex; align-items: flex-start; gap: 11px; font-size: 13px; line-height: 1.45; color: #424b5c; margin: 4px 0 20px; font-weight: 400; }
.lp-consent input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; accent-color: #064283; }
.lp-submit { width: 100%; padding: 14px 12px; border: 1px solid #003368; border-radius: 10px; background: linear-gradient(#064b96, #003878); color: #fff; font-size: 16px; line-height: 1.3; font-weight: 700; cursor: pointer; }
.lp-submit:hover { background: #002f65; }
.lp-reassurance { text-align: center; font-size: 13px; color: #4b5261; margin: 12px 0 0; }
.lp-error { color: #ad2434; font-size: 14px; margin-top: 6px; }

/* Benefits strip */
.lp-benefits { background: #edf4fb; padding: 28px 0; }
.lp-benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.lp-benefit { display: flex; align-items: center; gap: 16px; padding: 0 32px; }
.lp-benefit + .lp-benefit { border-left: 1px solid #cddcea; }
.lp-benefit svg { width: 32px; height: 32px; flex: 0 0 32px; stroke: #008e96; stroke-width: 1.7; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.lp-benefit h2 { font-size: 16px; color: #0b193b; font-weight: 700; margin: 0 0 5px; }
.lp-benefit p { font-size: 14px; line-height: 1.4; color: #424b5c; margin: 0; }

/* Closing statement */
.lp-closing { text-align: center; padding: 48px 0 56px; }
.lp-closing h2 { color: #0b193b; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; }
.lp-closing p { max-width: 760px; margin: auto; color: #515b6b; font-size: 17px; line-height: 1.5; }

/* Generic content section */
.lp-section { padding: 64px 0; }
.lp-section--tinted { background: #f5f8fc; }
.lp-section-header { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.lp-section-header h2 { color: #0b193b; font-size: 30px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin: 12px 0; }
.lp-section-header p { color: #515b6b; font-size: 17px; line-height: 1.5; margin: 0; }

/* Split: text + image */
.lp-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.lp-split h2 { color: #0b193b; font-size: 30px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin: 12px 0 16px; }
.lp-split p { color: #424b5c; font-size: 17px; line-height: 1.55; }
.lp-split-image { width: 100%; height: auto; border: 1px solid #d9e0e9; border-radius: 14px; box-shadow: 0 12px 28px #19395b26; }

/* Numbered steps / cards */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.lp-step { background: #fff; border: 1px solid #d9e0e9; border-radius: 14px; padding: 24px; }
.lp-step-number { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #e2efff; color: #004184; font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.lp-step h3 { color: #0b193b; font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.lp-step p { color: #424b5c; font-size: 15px; line-height: 1.5; margin: 0; }

/* Link button + CTA band */
.lp-button { display: inline-block; padding: 13px 28px; border: 1px solid #003368; border-radius: 10px; background: linear-gradient(#064b96, #003878); color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; }
.lp-button:hover, .lp-button:focus { background: #002f65; color: #fff; text-decoration: none; }
.lp-cta-band { background: linear-gradient(120deg, #0b2a55, #064283); padding: 56px 0; text-align: center; }
.lp-cta-band h2 { color: #fff; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; }
.lp-cta-band p { color: #c9daf0; font-size: 17px; line-height: 1.5; margin: 0 auto 24px; max-width: 760px; }
.lp-cta-band .lp-button { background: #fff; color: #064283; border-color: #fff; }
.lp-cta-band .lp-button:hover, .lp-cta-band .lp-button:focus { background: #e2efff; color: #064283; }

@media (max-width: 1199px) {
    .lp-container { width: calc(100% - 48px); }
    .lp-split { gap: 32px; }
    .lp-hero-grid, .lp-hero-grid--with-preview { grid-template-columns: 1.15fr .85fr; gap: 32px; }
    .lp-hero-preview { display: none; }
    .lp-benefit { padding: 0 18px; gap: 12px; }
}

@media (max-width: 767px) {
    .lp-container { width: calc(100% - 36px); }
    .lp-hero { padding: 28px 0 32px; }
    .lp-hero-grid, .lp-hero-grid--with-preview { grid-template-columns: 1fr; gap: 24px; }
    .lp-hero-copy h1 { font-size: 30px; margin: 12px 0; }
    .lp-intro { font-size: 16px; margin-bottom: 16px; }
    .lp-checklist li { font-size: 15px; margin-top: 8px; }
    .lp-form-card { padding: 20px; }
    .lp-form-card h2 { font-size: 20px; margin-bottom: 16px; }
    .lp-benefit-grid { grid-template-columns: 1fr; gap: 24px; }
    .lp-benefit { padding: 0; }
    .lp-benefit + .lp-benefit { border: 0; }
    .lp-closing h2 { font-size: 24px; }
    .lp-closing p { font-size: 16px; }
    .lp-section { padding: 44px 0; }
    .lp-closing { padding: 36px 0 40px; }
    .lp-section-header h2, .lp-split h2 { font-size: 24px; }
    .lp-section-header p, .lp-split p { font-size: 16px; }
    .lp-section-header { margin-bottom: 28px; }
    .lp-split, .lp-steps { grid-template-columns: 1fr; }
    .lp-cta-band { padding: 44px 0; }
    .lp-cta-band h2 { font-size: 24px; }
    .lp-cta-band p { font-size: 16px; }
    .lp-logo { height: 37px; }
    .lp-footer-logo { height: 32px; }
    .lp-header-inner { min-height: 60px; gap: 15px; }
    .lp-header-cta a { font-size: 12px; text-align: right; }
    .lp-header-cta a span { margin-left: 0; }
    .lp-footer-inner { flex-direction: column; align-items: flex-start; padding-block: 16px 24px; }
    .lp-footer-nav { gap: 15px 23px; }
}

/* ==========================================================================
   Colour themes - applied as a class on <body> via $landingTheme
   ========================================================================== */

/* Accent CTA: brand blues, high-contrast amber call-to-action */
.lp-theme-accent .lp-submit,
.lp-theme-accent .lp-button,
.lp-theme-accent .lp-cta-band .lp-button { background: #f5a623; border-color: #d98c0a; color: #0b193b; }
.lp-theme-accent .lp-submit:hover,
.lp-theme-accent .lp-button:hover, .lp-theme-accent .lp-button:focus,
.lp-theme-accent .lp-cta-band .lp-button:hover, .lp-theme-accent .lp-cta-band .lp-button:focus { background: #e3920f; color: #0b193b; }
.lp-theme-accent .lp-form-card { border-top: 4px solid #f5a623; }

/* Dark hero: navy hero, white form card, green call-to-action */
.lp-theme-dark .lp-hero { background: radial-gradient(ellipse at 70% 100%, #1d5a9e, transparent 55%), linear-gradient(120deg, #071a38, #0b2a55); }
.lp-theme-dark .lp-hero .lp-eyebrow { background: rgba(255, 255, 255, .12); color: #fff; }
.lp-theme-dark .lp-hero-copy h1 { color: #fff; }
.lp-theme-dark .lp-hero .lp-intro { color: #c9daf0; }
.lp-theme-dark .lp-hero .lp-checklist li { color: #fff; }
.lp-theme-dark .lp-hero .lp-check { border-color: #34d399; color: #34d399; }
.lp-theme-dark .lp-form-card { border-color: transparent; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); }
.lp-theme-dark .lp-submit,
.lp-theme-dark .lp-button { background: #047857; border-color: #065f46; color: #fff; }
.lp-theme-dark .lp-submit:hover,
.lp-theme-dark .lp-button:hover, .lp-theme-dark .lp-button:focus { background: #065f46; color: #fff; }
.lp-theme-dark .lp-consent input { accent-color: #047857; }
.lp-theme-dark .lp-cta-band .lp-button { background: #fff; color: #047857; border-color: #fff; }
.lp-theme-dark .lp-cta-band .lp-button:hover, .lp-theme-dark .lp-cta-band .lp-button:focus { background: #ecfdf5; color: #065f46; }
