﻿/* Auto-generated from mockups/06-itx-case-tier3.html */
(function(){

const { useState, useEffect, useRef } = React;

    /* WhatsApp href per brief — real number for Tier 3 CTA */
    const WA_TIER3 = 'https://wa.me/972534200984?text=' + encodeURIComponent("Hi BoldBrandz, I'm interested in the Branding & Product Design tier");

    /* ── Icons ── */
    const Icon = ({ size = 16, children, style }) => (
      <svg viewBox="0 0 24 24" width={size} height={size} fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" style={{ flex:'none', ...style }}>{children}</svg>
    );
    const Check = (p) => <Icon {...p}><path d="M20 6L9 17l-5-5"/></Icon>;
    const ArrowDown = (p) => <Icon {...p}><path d="M12 5v14M5 12l7 7 7-7"/></Icon>;
    const ArrowRight = (p) => <Icon {...p}><path d="M5 12h14M13 5l7 7-7 7"/></Icon>;
    const WA = ({ size = 18 }) => (
      <svg viewBox="0 0 24 24" width={size} height={size} fill="currentColor" style={{ flex:'none' }}>
        <path d="M17.5 14.4c-.3-.1-1.7-.9-2-1-.3-.1-.5-.1-.7.1-.2.3-.8 1-1 1.2-.2.2-.4.2-.7.1-.3-.1-1.3-.5-2.4-1.5-.9-.8-1.5-1.8-1.7-2.1-.2-.3 0-.5.1-.6l.5-.5c.2-.2.2-.3.3-.5 0-.2 0-.4 0-.5 0-.1-.7-1.6-.9-2.2-.2-.6-.5-.5-.7-.5h-.6c-.2 0-.5.1-.8.4-.3.3-1 1-1 2.4 0 1.4 1 2.8 1.2 3 .1.2 2 3 4.7 4.2 1.7.7 2.3.8 3.1.7.5-.1 1.7-.7 1.9-1.4.2-.7.2-1.3.2-1.4-.1-.1-.3-.2-.5-.2zM12 2C6.5 2 2 6.5 2 12c0 1.9.5 3.7 1.5 5.3L2 22l4.8-1.5c1.5.8 3.3 1.3 5.2 1.3 5.5 0 10-4.5 10-10S17.5 2 12 2z"/>
      </svg>
    );
    const Play = (p) => <Icon {...p}><polygon points="5 3 19 12 5 21 5 3" fill="currentColor"/></Icon>;

    /* ── Hooks ── */
    function useReveal(threshold = 0.15) {
      const ref = useRef(null);
      useEffect(() => {
        if (!ref.current) return;
        const el = ref.current;
        const r = el.getBoundingClientRect();
        if (r.top < window.innerHeight * 0.92 && r.bottom > 0) { el.classList.add('in'); return; }
        const io = new IntersectionObserver(([e]) => {
          if (e.isIntersecting) { el.classList.add('in'); io.disconnect(); }
        }, { threshold });
        io.observe(el);
        return () => io.disconnect();
      }, [threshold]);
      return ref;
    }
    function useInViewBoolean(threshold = 0.25) {
      const ref = useRef(null);
      const [inView, setInView] = useState(false);
      useEffect(() => {
        if (!ref.current) return;
        const r = ref.current.getBoundingClientRect();
        if (r.top < window.innerHeight * 0.9 && r.bottom > 0) { setInView(true); return; }
        const io = new IntersectionObserver(([e]) => {
          if (e.isIntersecting) { setInView(true); io.disconnect(); }
        }, { threshold });
        io.observe(ref.current);
        return () => io.disconnect();
      }, [threshold]);
      return [ref, inView];
    }
    /* ── Metric reveal (pop + fade). DOM default = final number so static
       exports (PDF, screenshots) capture the real value. On `active`,
       pop from scale(0.9) → scale(1) with opacity 0 → 1 over 600ms. ── */
    function useMetricPop({ active, delay = 0 } = {}) {
      const [popped, setPopped] = useState(false);
      useEffect(() => {
        if (!active) { setPopped(false); return; }
        const reduce = window.matchMedia?.('(prefers-reduced-motion: reduce)')?.matches;
        if (reduce) { setPopped(true); return; }
        const id = setTimeout(() => setPopped(true), delay);
        return () => clearTimeout(id);
      }, [active, delay]);
      return {
        display: 'inline-block',
        opacity: popped ? 1 : 0,
        transform: popped ? 'scale(1)' : 'scale(0.9)',
        transition: 'opacity 600ms cubic-bezier(0.34, 1.56, 0.64, 1), transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1)',
        transformOrigin: 'left center',
        willChange: 'transform, opacity',
      };
    }
    const fmt = (n) => n.toLocaleString('en-US');

    /* ── Button (same API as other sections) ── */
    function Button({ size = 'lg', glow = false, children, onClick, href }) {
      const [hover, setHover] = useState(false);
      const base = {
        display: 'inline-flex', alignItems: 'center', justifyContent: 'center', gap: 10,
        fontFamily: 'var(--font-display)', fontWeight: 600,
        borderRadius: 10, border: '1px solid transparent', cursor: 'pointer',
        letterSpacing: '-0.005em', whiteSpace: 'nowrap', textDecoration: 'none',
        transition: 'all 180ms var(--ease-out)',
        background: hover ? '#0035cc' : '#0047ff', color: '#fff',
        boxShadow: glow ? (hover ? '0 0 40px rgba(0,71,255,0.65)' : '0 0 24px rgba(0,71,255,0.45)') : 'none',
      };
      const sizes = {
        sm: { height: 36, padding: '0 16px', fontSize: 13 },
        lg: { height: 54, padding: '0 32px', fontSize: 15 },
      };
      const Tag = href ? 'a' : 'button';
      const extra = href ? { href, target: '_blank', rel: 'noopener noreferrer',
        'data-gtm-event': 'Lead_WhatsApp_Tier3CTA' } : { onClick };
      return (
        <Tag {...extra}
          onMouseEnter={() => setHover(true)} onMouseLeave={() => setHover(false)}
          style={{ ...base, ...sizes[size] }}>
          {children}
        </Tag>
      );
    }

    /* ── Reusable tag pill (brand blue eyebrow style) ── */
    function Eyebrow({ children, accentDot = '#0047ff' }) {
      return (
        <div style={{
          display: 'inline-flex', alignItems: 'center', gap: 10,
          fontFamily: 'var(--font-mono)', fontSize: 14, color: 'var(--text-dim)',
          letterSpacing: '0.16em', textTransform: 'uppercase',
        }}>
          <span style={{ width: 6, height: 6, borderRadius: 9999, background: accentDot, boxShadow: `0 0 8px ${accentDot}` }}/>
          {children}
        </div>
      );
    }
    function CardTag({ children }) {
      return (
        <div style={{
          display: 'inline-flex', alignItems: 'center', gap: 8,
          padding: '7px 13px', borderRadius: 9999,
          background: 'rgba(0,71,255,0.10)', border: '1px solid rgba(0,71,255,0.30)',
          fontFamily: 'var(--font-display)', fontSize: 14, fontWeight: 600,
          letterSpacing: '0.12em', textTransform: 'uppercase', color: '#9fb8ff',
        }}>
          <span style={{ width: 6, height: 6, borderRadius: 9999, background: '#0047ff', boxShadow: '0 0 8px #0047ff' }}/>
          {children}
        </div>
      );
    }

    /* ── Meta bullet row ── */
    function MetaRow({ items }) {
      return (
        <div style={{
          display: 'flex', flexWrap: 'wrap', alignItems: 'center', gap: 14,
          fontFamily: 'var(--font-mono)', fontSize: 14, color: 'var(--text-dim)',
          letterSpacing: '0.12em', textTransform: 'uppercase',
        }}>
          {items.map((it, i) => (
            <React.Fragment key={i}>
              {i > 0 && <span style={{ width: 4, height: 4, borderRadius: 9999, background: 'var(--border-subtle)' }}/>}
              <span>
                <span style={{ color: 'var(--text-faint)' }}>{it.k} · </span>
                <span style={{ color: 'var(--text-muted)' }}>{it.v}</span>
              </span>
            </React.Fragment>
          ))}
        </div>
      );
    }

    /* ── Image frame (consistent for all three ITX images) ── */
    function ImageFrame({ eyebrow, src, alt, caption, maxW = 680, aspect = '4 / 5' }) {
      const ref = useReveal(0.1);
      return (
        <div ref={ref} className="reveal" style={{ margin: '56px auto 0', maxWidth: maxW, width: '100%' }}>
          {eyebrow && (
            <div style={{ marginBottom: 16, textAlign: 'center' }}>
              <Eyebrow accentDot="#FEBE24">{eyebrow}</Eyebrow>
            </div>
          )}
          <div className="image-frame">
            <img src={src} alt={alt}
              style={{ display: 'block', width: '100%', aspectRatio: aspect, objectFit: 'cover' }}/>
          </div>
          {caption && (
            <div style={{
              marginTop: 16, textAlign: 'center',
              fontFamily: 'var(--font-mono)', fontSize: 14, color: 'var(--text-faint)',
              letterSpacing: '0.16em', textTransform: 'uppercase',
            }}>
              {caption}
            </div>
          )}
        </div>
      );
    }

    /* ────────────────────────────────────────────────────────────────────
       LAYER 1 — THE CHALLENGE
       ──────────────────────────────────────────────────────────────────── */
    function Challenge() {
      const ref = useReveal();
      const t = window.useCopy();
      return (
        <div ref={ref} className="reveal" style={{ maxWidth: 880, margin: '0 auto', textAlign: 'center' }}>
          <div style={{ marginBottom: 18 }}>
            <Eyebrow>{t.itx.challenge.badge}</Eyebrow>
          </div>
          {/* Pullquote */}
          <div style={{
            fontFamily: 'var(--font-display)', fontWeight: 400, fontStyle: 'italic',
            fontSize: 32, lineHeight: 1.35, letterSpacing: '-0.02em',
            color: 'var(--text-secondary)', marginBottom: 28, textWrap: 'balance',
            maxWidth: 720, margin: '0 auto 28px',
          }}>
            {t.itx.challenge.quote}
          </div>
          {/* Sub-head */}
          <h3 style={{
            margin: '0 0 22px',
            fontFamily: 'var(--font-display)', fontWeight: 600,
            fontSize: 36, lineHeight: 1.15, letterSpacing: '-0.03em',
            color: 'var(--text-primary)',
          }}>
            {t.itx.challenge.h}
          </h3>
          {/* Body */}
          <p style={{
            margin: '0 auto 24px', maxWidth: 720,
            fontFamily: 'var(--font-display)', fontWeight: 400,
            fontSize: 20, lineHeight: 1.7, color: 'var(--text-secondary)',
          }}>
            {t.itx.challenge.body}
          </p>
          {/* Framing line */}
          <p style={{
            margin: '0 auto', maxWidth: 760,
            fontFamily: 'var(--font-display)', fontWeight: 500, fontStyle: 'italic',
            fontSize: 19, lineHeight: 1.65, color: '#5b7adc',
            textWrap: 'pretty',
          }}>
            {t.itx.challenge.mission}
          </p>
        </div>
      );
    }

    /* ────────────────────────────────────────────────────────────────────
       LAYER 2 — 4-PILLAR ARCHITECTURE
       ──────────────────────────────────────────────────────────────────── */
    function PillarCard({ n, title, body }) {
      return (
        <div className="pillar-card" style={{
          position: 'relative',
          background: 'var(--bg-elevated)',
          border: '1px solid var(--border-subtle)',
          borderRadius: 18,
          padding: '32px 32px 32px 100px',
          display: 'flex', flexDirection: 'column',
          minHeight: 220,
        }}>
          {/* Side-gutter ghost numeral */}
          <div style={{
            position: 'absolute', left: 16, top: 24, bottom: 24,
            display: 'flex', alignItems: 'flex-start', justifyContent: 'center',
            pointerEvents: 'none',
          }}>
            <span style={{
              fontFamily: 'var(--font-display)', fontWeight: 700,
              fontSize: 84, lineHeight: 0.85, letterSpacing: '-0.06em',
              color: 'rgba(0,71,255,0.20)',
              fontVariantNumeric: 'tabular-nums',
              direction: 'ltr', unicodeBidi: 'isolate',
            }}>{n}</span>
          </div>

          <h4 style={{
            margin: '0 0 14px',
            fontFamily: 'var(--font-display)', fontWeight: 600,
            fontSize: 13, letterSpacing: '0.16em', textTransform: 'uppercase',
            color: '#0047ff',
          }}>
            {title}
          </h4>
          <p style={{
            margin: 0,
            fontFamily: 'var(--font-display)', fontWeight: 400,
            fontSize: 18, lineHeight: 1.6, color: 'var(--text-secondary)',
          }}>
            {body}
          </p>
        </div>
      );
    }

    function Architecture() {
      const ref = useReveal();
      const t = window.useCopy();
      return (
        <div ref={ref} className="reveal" style={{ margin: '120px auto 0', maxWidth: 1080 }}>
          <div style={{ textAlign: 'center', marginBottom: 48 }}>
            <div style={{ marginBottom: 16 }}>
              <Eyebrow>{t.itx.arch.badge}</Eyebrow>
            </div>
            <h3 style={{
              margin: 0,
              fontFamily: 'var(--font-display)', fontWeight: 600,
              fontSize: 42, lineHeight: 1.1, letterSpacing: '-0.035em',
              color: 'var(--text-primary)', textWrap: 'balance',
            }}>
              {t.itx.arch.h}
            </h3>
          </div>
          <div className="pillar-grid" style={{
            display: 'grid',
            gridTemplateColumns: 'repeat(2, 1fr)',
            gap: 20,
          }}>
            {t.itx.arch.layers.map((layer, i) => (
              <PillarCard key={i} n={String(i + 1).padStart(2, '0')} title={layer.title} body={layer.body}/>
            ))}
          </div>
        </div>
      );
    }

    /* ────────────────────────────────────────────────────────────────────
       LAYER 3 — THE RESULT (three metric cards with count-up)
       ──────────────────────────────────────────────────────────────────── */
    function MetricCard({ label, pillText, num, unit, format = 'comma', accent = '#0047ff', delay, active }) {
      const popStyle = useMetricPop({ active, delay });
      const display = format === 'comma' ? fmt(num) : num;
      return (
        <div style={{
          position: 'relative',
          padding: '34px 30px',
          background: 'var(--bg-card)',
          border: '1px solid var(--border-subtle)',
          borderRadius: 18,
          overflow: 'hidden',
        }}>
          {/* Accent top stripe */}
          <div style={{
            position: 'absolute', top: 0, left: 0, right: 0, height: 2,
            background: accent,
          }}/>

          {/* Pill */}
          <div style={{
            display: 'inline-flex', alignItems: 'center', gap: 6,
            padding: '5px 11px', borderRadius: 9999,
            background: 'rgba(34,197,94,0.12)', border: '1px solid rgba(34,197,94,0.25)',
            fontFamily: 'var(--font-mono)', fontSize: 13, fontWeight: 600,
            letterSpacing: '0.16em', textTransform: 'uppercase', color: '#86efac',
            marginBottom: 24,
          }}>
            <span style={{ width: 5, height: 5, borderRadius: 9999, background: '#22c55e' }}/>
            {pillText}
          </div>

          {/* Number */}
          <div style={{ display: 'flex', alignItems: 'baseline', gap: 12, flexWrap: 'wrap', marginBottom: 14 }}>
            <span style={{
              fontFamily: 'var(--font-display)', fontWeight: 700, fontSize: 68,
              color: accent, letterSpacing: '-0.045em', fontVariantNumeric: 'tabular-nums',
              lineHeight: 0.95, textShadow: `0 0 28px ${accent}55`,
              direction: 'ltr', unicodeBidi: 'isolate',
            }}><span style={popStyle}>{display}</span></span>
            {unit && (
              <span style={{
                fontFamily: 'var(--font-display)', fontWeight: 600, fontSize: 14,
                color: 'var(--text-muted)', letterSpacing: '0.16em', textTransform: 'uppercase',
              }}>{unit}</span>
            )}
          </div>

          {/* Label */}
          <div style={{
            fontFamily: 'var(--font-display)', fontWeight: 400, fontSize: 18,
            color: 'var(--text-muted)', lineHeight: 1.5,
          }}>
            {label}
          </div>
        </div>
      );
    }

    function Results() {
      const [ref, inView] = useInViewBoolean();
      const t = window.useCopy();
      const nums = [22600, 21000, 30];
      const formats = ['comma', 'comma', 'plain'];
      return (
        <div style={{ margin: '120px auto 0', maxWidth: 1080 }}>
          <div style={{ textAlign: 'center', marginBottom: 48 }}>
            <div style={{ marginBottom: 16 }}>
              <Eyebrow accentDot="#22c55e">{t.itx.proof.badge}</Eyebrow>
            </div>
            <h3 style={{
              margin: 0,
              fontFamily: 'var(--font-display)', fontWeight: 600,
              fontSize: 42, lineHeight: 1.1, letterSpacing: '-0.035em',
              color: 'var(--text-primary)', textWrap: 'balance',
            }}>
              {t.itx.proof.h}
            </h3>
          </div>
          <div ref={ref} className="metric-row" style={{
            display: 'grid', gridTemplateColumns: 'repeat(3, 1fr)', gap: 20,
          }}>
            {t.itx.proof.metrics.map((m, i) => (
              <MetricCard
                key={i}
                num={nums[i]}
                label={m.label}
                pillText={m.badge}
                unit={m.unit}
                format={formats[i]}
                delay={i * 80} active={inView}
              />
            ))}
          </div>
        </div>
      );
    }

    /* ────────────────────────────────────────────────────────────────────
       LAYER 4 — TRANSITION
       ──────────────────────────────────────────────────────────────────── */
    function Transition() {
      const ref = useReveal();
      const t = window.useCopy();
      return (
        <div ref={ref} className="reveal" style={{
          margin: '120px auto 0', maxWidth: 760, textAlign: 'center',
        }}>
          {/* thin divider above */}
          <div style={{ height: 1, background: 'var(--border-subtle)', marginBottom: 48 }}/>
          <p style={{
            margin: '0 auto 14px',
            fontFamily: 'var(--font-display)', fontWeight: 400, fontStyle: 'italic',
            fontSize: 18, lineHeight: 1.5, color: 'var(--text-muted)',
          }}>
            {t.itx.tier3.transition_p1}
          </p>
          <p style={{
            margin: '0 auto 24px',
            fontFamily: 'var(--font-display)', fontWeight: 600,
            fontSize: 22, lineHeight: 1.35, letterSpacing: '-0.015em',
            color: 'var(--text-primary)', textWrap: 'balance',
          }}>
            {t.itx.tier3.transition_p2}
          </p>
          <a className="cta-link" onClick={(e) => {
            e.preventDefault();
            const el = document.getElementById('tier-3');
            if (el) el.scrollIntoView({ behavior: 'smooth', block: 'start' });
          }}>
            {t.itx.tier3.link} <ArrowRight size={14}/>
          </a>
        </div>
      );
    }

    /* ────────────────────────────────────────────────────────────────────
       TIER 3 SERVICE CARD
       ──────────────────────────────────────────────────────────────────── */
    function Tier3Card() {
      const ref = useReveal(0.1);
      const t = window.useCopy();
      const { lang } = window.useLang();
      return (
        <div ref={ref} className="reveal svc-card tier-card" style={{
          position: 'relative',
          background: 'var(--bg-card)',
          border: '1px solid var(--border-subtle)',
          borderRadius: 20,
          padding: '44px 48px 40px',
          boxShadow: '0 18px 48px -16px rgba(0,0,0,0.55)',
          overflow: 'hidden',
        }}>
          {/* Accent top stripe */}
          <div style={{
            position: 'absolute', top: 0, left: 24, right: 24, height: 2,
            background: '#0047ff',
            boxShadow: '0 0 14px rgba(0,71,255,0.55)',
          }}/>

          {/* Tag + Arabic */}
          <div style={{
            display: 'flex', alignItems: 'flex-start', justifyContent: 'space-between',
            gap: 24, marginBottom: 26, flexWrap: 'wrap',
          }}>
            <div>
              <div style={{ marginBottom: 14 }}>
                <CardTag>{t.t3.pill}</CardTag>
              </div>
              {lang === 'ar' && (
              <div style={{
                fontFamily: 'var(--font-arabic)', fontWeight: 500,
                fontSize: 22, lineHeight: 1.3, color: 'var(--text-muted)',
                direction: 'rtl', textAlign: 'left',
              }}>
                {t.t3.ar_sub}
              </div>
              )}
            </div>
          </div>

          {/* Tagline */}
          <h3 style={{
            margin: '0 0 40px',
            fontFamily: 'var(--font-display)', fontWeight: 600,
            fontSize: 36, lineHeight: 1.18, letterSpacing: '-0.03em',
            color: 'var(--text-primary)', textWrap: 'balance', maxWidth: 760,
          }}>
            {t.t3.title}
          </h3>

          {/* Section divider */}
          <div style={{
            display: 'flex', alignItems: 'center', gap: 12, marginBottom: 22,
          }}>
            <div style={{
              fontFamily: 'var(--font-mono)', fontSize: 13, color: 'var(--text-dim)',
              letterSpacing: '0.16em', textTransform: 'uppercase',
            }}>{t.tiers.whats_included}</div>
            <div style={{ flex: 1, height: 1, background: 'var(--border-subtle)' }}/>
          </div>

          {/* Two-column inclusions */}
          <div className="inclusions-grid" style={{
            display: 'grid', gridTemplateColumns: '1fr 1fr', gap: '14px 36px',
          }}>
            {t.t3.features.map((line, i) => (
              <div key={i} style={{
                display: 'flex', alignItems: 'flex-start', gap: 12,
                fontFamily: 'var(--font-display)', fontSize: 15, fontWeight: 400,
                lineHeight: 1.5, color: 'var(--text-secondary)',
              }}>
                <span style={{
                  flex: 'none', width: 22, height: 22, borderRadius: 9999,
                  background: 'rgba(34,197,94,0.12)',
                  display: 'inline-flex', alignItems: 'center', justifyContent: 'center',
                  color: '#22c55e', marginTop: 1,
                }}>
                  <Check size={13}/>
                </span>
                <span>{line}</span>
              </div>
            ))}
          </div>

          {/* Price + CTA */}
          <div style={{
            marginTop: 40, paddingTop: 32, borderTop: '1px solid var(--border-subtle)',
            display: 'flex', alignItems: 'center', justifyContent: 'space-between',
            gap: 32, flexWrap: 'wrap',
          }}>
            <div>
              <div style={{
                fontFamily: 'var(--font-mono)', fontSize: 13, color: 'var(--text-dim)',
                letterSpacing: '0.16em', textTransform: 'uppercase', marginBottom: 8,
              }}>{t.tiers.investment}</div>
              <div style={{
                fontFamily: 'var(--font-display)', fontSize: 18, fontWeight: 500,
                color: 'var(--text-muted)', lineHeight: 1.4,
              }}>
                <span style={{ color: 'var(--text-muted)' }}>{t.tiers.from}{' '}</span>
                <span style={{
                  fontFamily: 'var(--font-display)', fontWeight: 700,
                  color: '#0047ff', fontSize: 32, letterSpacing: '-0.025em',
                  fontVariantNumeric: 'tabular-nums',
                  textShadow: '0 0 18px var(--accent-primary-glow)',
                  direction: 'ltr', unicodeBidi: 'isolate', display: 'inline-block',
                }}>20,000&nbsp;₪</span>
                <span style={{ color: 'var(--text-muted)' }}>{' '}{t.tiers.setup}</span>
                <div style={{ color: 'var(--text-muted)', fontSize: 16, marginTop: 4 }}>{t.tiers.monthly_retainer}</div>
              </div>
            </div>
            <Button glow href={WA_TIER3}>
              <WA size={16}/> {t.t3.cta}
            </Button>
          </div>
        </div>
      );
    }

    /* ────────────────────────────────────────────────────────────────────
       PAGE
       ──────────────────────────────────────────────────────────────────── */
    function Page() {
      const t = window.useCopy();
      return (
        <>
          {/* ── SECTION: ITX CASE STUDY ───────────────────────────────── */}
          <section style={{
            position: 'relative', background: 'var(--bg-base)',
            padding: '120px 48px', overflow: 'hidden',
          }}>
            {/* Horizon streak */}
            <div style={{
              position: 'absolute', left: 0, right: 0, top: '50%',
              height: 240, pointerEvents: 'none',
              background: 'linear-gradient(180deg, transparent, rgba(0,71,255,0.05), transparent)',
            }}/>

            <div style={{ maxWidth: 1200, margin: '0 auto', position: 'relative' }}>
              {/* Header */}
              <div style={{ textAlign: 'center', marginBottom: 40 }}>
                <div style={{ marginBottom: 22 }}>
                  <Eyebrow>{t.itx.badge}</Eyebrow>
                </div>
                <h2 className="section-h2" style={{
                  margin: '0 auto',
                  fontFamily: 'var(--font-display)', fontWeight: 600,
                  fontSize: 56, lineHeight: 1.08, letterSpacing: '-0.035em',
                  color: 'var(--text-primary)', textWrap: 'balance', maxWidth: 980,
                }}>
                  {t.itx.h1_pre}{' '}
                  <span style={{
                    color: '#0047ff', letterSpacing: '-0.045em',
                    textShadow: '0 0 32px rgba(0,71,255,0.55)',
                    direction: 'ltr', unicodeBidi: 'isolate', display: 'inline-block',
                  }}>{t.itx.h1_metric}</span>{t.itx.h1_post}
                </h2>
              </div>

              {/* Client meta row */}
              <div style={{
                display: 'flex', justifyContent: 'center', marginBottom: 96,
                paddingTop: 22, borderTop: '1px solid var(--border-subtle)',
                paddingBottom: 22, borderBottom: '1px solid var(--border-subtle)',
              }}>
                <span style={{
                  fontFamily: 'var(--font-mono)', fontSize: 14, color: 'var(--text-dim)',
                  letterSpacing: '0.12em', textTransform: 'uppercase',
                }}>{t.itx.meta}</span>
              </div>

              {/* LAYER 1 — Challenge */}
              <Challenge/>

              {/* Brand shift image */}
              <ImageFrame
                eyebrow={t.itx.shift.badge}
                src="mockups/assets/itx-brand-shift.png"
                alt="ITX Academy — old logo vs. new identity system"
                caption={t.itx.shift.meta}
                maxW={520}
              />

              {/* LAYER 2 — Architecture */}
              <Architecture/>

              {/* Multi-device image */}
              <ImageFrame
                eyebrow="Shipped in 30 days · laptop · tablet · mobile"
                src="mockups/assets/itx-multidevice.png"
                alt="ITX platform rendered across laptop, tablet, and phone"
                caption="Marketing site + LMS · responsive build"
                maxW={600}
              />

              {/* LAYER 3 — Results */}
              <Results/>

              {/* Trust-building image (reinforces metric 1 + 2) */}
              <ImageFrame
                eyebrow={t.itx.trust.badge}
                src="mockups/assets/itx-trust-building.png"
                alt="ITX student and founder testimonial videos, 22.6K and 21K views"
                caption={t.itx.trust.tagline}
                maxW={600}
              />

              {/* LAYER 4 — Transition */}
              <Transition/>
            </div>
          </section>

          {/* ── SECTION: TIER 3 ──────────────────────────────────────── */}
          <section id="tier-3" style={{
            position: 'relative', background: 'var(--bg-base)',
            padding: '64px 48px 120px', overflow: 'hidden',
          }}>
            <div style={{ maxWidth: 1024, margin: '0 auto', position: 'relative' }}>
              <div style={{ marginBottom: 40, maxWidth: 880 }}>
                <div style={{ marginBottom: 22 }}>
                  <Eyebrow>{t.t3.badge}</Eyebrow>
                </div>
                <h2 className="section-h2" style={{
                  margin: 0,
                  fontFamily: 'var(--font-display)', fontWeight: 600,
                  fontSize: 44, lineHeight: 1.1, letterSpacing: '-0.035em',
                  color: 'var(--text-primary)', textWrap: 'balance',
                }}>
                  {t.t3.h}
                </h2>
              </div>
              <Tier3Card/>
            </div>
          </section>
        </>
      );
    }

    /* ── Mockup chrome wrapper ── */

window.ItxTier3Section = Page;
})();
