/*!
 * TESTSEEK — Hero (landing) styles v4.2 · Blue Light Professional
 * White + Blue combination · Elementor / Gutenberg / Classic Editor safe
 * Depends on frontend.css tokens & .tsk-btn helpers (loaded first).
 */

/* ── Extra hero tokens ── */
.tsk-hero-shell {
    --tsk-hero-radius:  24px;
    --tsk-hero-panel:   #ffffff;
    --tsk-hero-soft:    #eff6ff;    /* Blue-50 — very soft wash */
    --tsk-hero-ink:     #0f172a;
    --tsk-hero-ink-2:   #1e293b;
    --tsk-hero-muted:   #64748b;
    --tsk-hero-border:  #e2e8f0;
    --tsk-hero-border-b:#bfdbfe;    /* Blue border */
    padding: 0;
}

/* ═══════════════════════════════════════════════════════════════
 * HERO SECTION
 * ═══════════════════════════════════════════════════════════════ */
.tsk-hero-shell .tsk-hero {
    position: relative;
    padding: clamp(30px, 4.5vw, 64px) clamp(20px, 3vw, 48px);
    /* White background with subtle blue wash gradient */
    background: linear-gradient(145deg, #eff6ff 0%, #ffffff 55%, #f0f7ff 100%);
    color: var(--tsk-hero-ink);
    overflow: hidden;
    border-radius: var(--tsk-hero-radius);
    border: 1px solid var(--tsk-hero-border-b);
    box-shadow: 0 4px 24px rgba(37,99,235,.08), 0 1px 4px rgba(15,23,42,.04);
    box-sizing: border-box;
    width: 100%; margin: 0;
}
.tsk-hero-shell .tsk-hero * { box-sizing: border-box; }
.tsk-hero-shell .tsk-hero--tall { min-height: 520px; display: flex; align-items: center; }

/* Subtle blue decorative blobs */
.tsk-hero-shell .tsk-hero::before,
.tsk-hero-shell .tsk-hero::after {
    content: ""; position: absolute; pointer-events: none;
    filter: blur(70px); z-index: 0; border-radius: 50%;
}
.tsk-hero-shell .tsk-hero::before {
    width: 360px; height: 360px;
    background: rgba(37,99,235,.10);
    top: -140px; right: -100px; opacity: 1;
}
.tsk-hero-shell .tsk-hero::after {
    width: 460px; height: 460px;
    background: rgba(96,165,250,.08);
    bottom: -240px; left: -160px; opacity: 1;
}

.tsk-hero-shell .tsk-hero__inner {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(24px, 4vw, 60px);
    align-items: center;
    max-width: 1200px; margin: 0 auto;
}
.tsk-hero-shell .tsk-hero--center .tsk-hero__inner { grid-template-columns: 1fr; text-align: center; }

.tsk-hero-shell .tsk-hero__content { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

/* ── Brand row: logo tile + eyebrow ── */
.tsk-hero-shell .tsk-hero__brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.tsk-hero-shell .tsk-hero__logo-tile {
    display: inline-flex; align-items: center; justify-content: center;
    width: 80px; height: 80px;
    background: #ffffff;
    border: 2px solid var(--tsk-hero-border-b);
    border-radius: 20px; padding: 8px;
    box-shadow: 0 6px 18px rgba(37,99,235,.12);
    flex-shrink: 0; overflow: hidden;
}
.tsk-hero-shell .tsk-hero__logo {
    display: block; max-width: 100%; max-height: 100%;
    width: auto; height: auto;
    background: transparent !important; padding: 0 !important;
    border-radius: 10px; object-fit: contain;
}

.tsk-hero-shell .tsk-hero__eyebrow {
    display: inline-flex; align-items: center;
    font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
    padding: 6px 13px; border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe; line-height: 1;
}

.tsk-hero-shell .tsk-hero__heading {
    font-size: clamp(28px, 4.4vw, 54px);
    font-weight: 900; line-height: 1.05; letter-spacing: -.025em;
    margin: 0; color: var(--tsk-hero-ink);
    text-decoration: none !important;
}

/* Blue gradient text on the heading highlight */
.tsk-hero-shell .tsk-hero__heading em,
.tsk-hero-shell .tsk-hero__heading strong {
    font-style: normal;
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tsk-hero-shell .tsk-hero__subheading {
    font-size: clamp(15px, 1.4vw, 17px);
    color: var(--tsk-hero-ink-2);
    max-width: 58ch; margin: 0; line-height: 1.65;
}

/* ── CTAs ── */
.tsk-hero-shell .tsk-hero__ctas {
    display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; align-items: center;
}
.tsk-hero-shell .tsk-hero__btn.tsk-btn {
    padding: 13px 28px; font-size: 15px; min-height: 48px;
    text-decoration: none !important; border-radius: 999px; line-height: 1.2;
}
.tsk-hero-shell .tsk-hero--center .tsk-hero__ctas { justify-content: center; }

/* ── Stats ── */
.tsk-hero-shell .tsk-hero__stats {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px; margin-top: 24px; max-width: 520px;
}
.tsk-hero-shell .tsk-hero--center .tsk-hero__stats { margin-left: auto; margin-right: auto; }

.tsk-hero-shell .tsk-hero__stat {
    padding: 14px 10px; background: #ffffff;
    border: 1.5px solid var(--tsk-hero-border-b);
    border-radius: 14px; text-align: center;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    box-shadow: 0 1px 4px rgba(37,99,235,.06);
}
.tsk-hero-shell .tsk-hero__stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37,99,235,.12);
    border-color: #93c5fd;
}
.tsk-hero-shell .tsk-hero__stat-value {
    font-size: 22px; font-weight: 900; color: #2563eb;
    letter-spacing: -.01em; line-height: 1.1; font-feature-settings: "tnum";
}
.tsk-hero-shell .tsk-hero__stat-label {
    font-size: 11px; color: var(--tsk-hero-muted);
    text-transform: uppercase; letter-spacing: .07em; font-weight: 700;
    margin-top: 4px; line-height: 1.2;
}

/* ── Media / preview card ── */
.tsk-hero-shell .tsk-hero__media {
    position: relative; min-width: 0;
    display: flex; align-items: center; justify-content: center;
}
.tsk-hero-shell .tsk-hero__media img {
    max-width: 100%; height: auto; border-radius: 20px;
    box-shadow: 0 16px 40px rgba(37,99,235,.14); display: block;
}

.tsk-hero-shell .tsk-hero__preview {
    position: relative; width: 100%; max-width: 400px;
    background: #ffffff; border-radius: 20px;
    padding: 20px 20px 18px;
    border: 1.5px solid var(--tsk-hero-border-b);
    box-shadow: 0 16px 40px rgba(37,99,235,.12);
    transform: rotate(-1.5deg);
}
.tsk-hero-shell .tsk-hero__preview-head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-bottom: 14px;
}
.tsk-hero-shell .tsk-hero__pill {
    display: inline-flex; align-items: center;
    font-size: 11px; font-weight: 800; letter-spacing: .08em;
    padding: 5px 11px; border-radius: 999px;
    background: #eff6ff; color: #2563eb;
    border: 1px solid #bfdbfe; text-transform: uppercase;
}
.tsk-hero-shell .tsk-hero__timer {
    background: #2563eb; color: #fff;
    padding: 5px 11px; border-radius: 999px;
    font-size: 12px; font-weight: 800; font-feature-settings: "tnum";
}
.tsk-hero-shell .tsk-hero__preview-q {
    font-size: 14.5px; font-weight: 700; line-height: 1.45;
    color: var(--tsk-hero-ink); margin-bottom: 12px;
}
.tsk-hero-shell .tsk-hero__preview-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tsk-hero-shell .tsk-hero__preview-opts span {
    font-size: 13px; font-weight: 600;
    color: var(--tsk-hero-ink-2);
    padding: 8px 11px; background: #f8fafc;
    border-radius: 10px; border: 1px solid var(--tsk-hero-border); line-height: 1.3;
}
.tsk-hero-shell .tsk-hero__preview-opts span.is-correct {
    color: #065f46; font-weight: 800;
    background: #d1fae5; border-color: #a7f3d0;
}

/* ═══════════════════════════════════════════════════════════════
 * FEATURED GRID (below hero)
 * ═══════════════════════════════════════════════════════════════ */
.tsk-hero-shell .tsk-featured { margin-top: clamp(28px, 4vw, 52px); }
.tsk-hero-shell .tsk-featured__head {
    text-align: center; max-width: 640px;
    margin: 0 auto clamp(20px, 3vw, 32px);
}
.tsk-hero-shell .tsk-featured__title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 900; letter-spacing: -.02em; color: var(--tsk-hero-ink);
    margin: 0 0 6px; text-decoration: none !important;
}
.tsk-hero-shell .tsk-featured__subtitle { font-size: 15px; color: var(--tsk-hero-muted); margin: 0; line-height: 1.5; }
.tsk-hero-shell .tsk-card--featured .tsk-card__title { padding-right: 0; }

/* ═══════════════════════════════════════════════════════════════
 * TRUST BADGES ROW (optional horizontal strip)
 * ═══════════════════════════════════════════════════════════════ */
.tsk-hero-shell .tsk-trust-row {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
    margin-top: 18px; padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}
.tsk-hero-shell .tsk-trust-badge {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; color: #64748b;
}
.tsk-hero-shell .tsk-trust-badge svg { color: #2563eb; width: 18px; height: 18px; }

/* ═══════════════════════════════════════════════════════════════
 * ELEMENTOR / THEME OVERRIDES
 * ═══════════════════════════════════════════════════════════════ */
.elementor .tsk-hero-shell,
.elementor-widget-container .tsk-hero-shell,
.wp-block-shortcode .tsk-hero-shell { width: 100%; max-width: 100%; }

.tsk-hero-shell a,
.tsk-hero-shell a:hover,
.tsk-hero-shell a:focus,
.tsk-hero-shell a:visited { text-decoration: none !important; }

.tsk-hero-shell .tsk-hero__heading,
.tsk-hero-shell .tsk-featured__title { text-shadow: none; }

.tsk-hero-shell .tsk-btn--primary,
.tsk-hero-shell .tsk-btn--primary:visited { color: #ffffff !important; }
.tsk-hero-shell .tsk-btn--outline,
.tsk-hero-shell .tsk-btn--outline:visited { color: #2563eb !important; }
.tsk-hero-shell .tsk-btn--primary:hover { color: #ffffff !important; }
.tsk-hero-shell .tsk-btn--outline:hover  { color: #2563eb !important; }

/* ═══════════════════════════════════════════════════════════════
 * RESPONSIVE
 * ═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .tsk-hero-shell .tsk-hero__inner { grid-template-columns: 1fr; }
    .tsk-hero-shell .tsk-hero__media { order: 2; }
    .tsk-hero-shell .tsk-hero__content { order: 1; }
    .tsk-hero-shell .tsk-hero__preview { max-width: 100%; transform: none; }
}

@media (max-width: 600px) {
    .tsk-hero-shell .tsk-hero { padding: 24px 18px; border-radius: 18px; }
    .tsk-hero-shell .tsk-hero__stats { gap: 8px; }
    .tsk-hero-shell .tsk-hero__stat { padding: 12px 8px; }
    .tsk-hero-shell .tsk-hero__stat-value { font-size: 19px; }
    .tsk-hero-shell .tsk-hero__stat-label { font-size: 10px; }
    .tsk-hero-shell .tsk-hero__ctas { gap: 8px; }
    .tsk-hero-shell .tsk-hero__btn.tsk-btn { flex: 1 1 45%; padding: 12px 16px; font-size: 14px; }
    .tsk-hero-shell .tsk-hero__preview-opts { grid-template-columns: 1fr; }
    .tsk-hero-shell .tsk-hero__logo-tile { width: 56px; height: 56px; padding: 6px; }
}

@media (max-width: 380px) {
    .tsk-hero-shell .tsk-hero__stats { grid-template-columns: 1fr 1fr; }
    .tsk-hero-shell .tsk-hero__stat:last-child { grid-column: span 2; max-width: 200px; margin: 0 auto; }
}
