<?php include __DIR__ . '/../includes/header.php'; ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>About Us — Trader Safety</title>

    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" rel="stylesheet">

    <style>
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
        --ivory:      #FAFAF7;
        --white:      #FFFFFF;
        --navy:       #0F1628;
        --navy-80:    rgba(15,22,40,.8);
        --gold:       #B8890A;
        --gold-light: #F5EDD3;
        --gold-ring:  #D4A82A;
        --muted:      #7D8799;
        --border:     #EDE9DF;
        --bf:         #F4F1EB;
        --profit:     #0F7A5A;
        --sans:       'Plus Jakarta Sans', sans-serif;
        --serif:      'Playfair Display', Georgia, serif;
        --max:        1320px;
        --shadow-sm:  0 1px 3px rgba(15,22,40,.05);
        --shadow-md:  0 4px 20px rgba(15,22,40,.08);
        --shadow-lg:  0 16px 48px rgba(15,22,40,.14);
    }

    html { scroll-behavior: smooth; }
    body { font-family: var(--sans); background: var(--ivory); color: var(--navy); overflow-x: hidden; }

    /* ─── ANIMATIONS ─── */
    @keyframes fadeUp   { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
    @keyframes fadeIn   { from{opacity:0} to{opacity:1} }
    @keyframes scaleIn  { from{opacity:0;transform:scale(.94)} to{opacity:1;transform:scale(1)} }
    @keyframes slideRight{ from{opacity:0;transform:translateX(-24px)} to{opacity:1;transform:translateX(0)} }
    @keyframes shimmer  { 0%{background-position:-400px 0} 100%{background-position:400px 0} }
    @keyframes countUp  { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }

    .reveal { opacity:0; transition: opacity .7s ease, transform .7s ease; transform: translateY(24px); }
    .reveal.visible { opacity:1; transform:translateY(0); }

    /* ─── HERO BANNER ─── */
    .hero-banner {
        position: relative;
        background: var(--navy);
        min-height: 480px;
        display: flex; align-items: center;
        overflow: hidden;
    }
    .hero-bg {
        position: absolute; inset: 0;
        background-image: url('https://resources1.interface003.com/web20/img/about/bottom2.png');
        background-size: cover; background-position: center;
        opacity: .12;
    }
    /* Decorative geometric overlay */
    .hero-geo {
        position: absolute; inset: 0; pointer-events: none;
        overflow: hidden;
    }
    .hero-geo::before {
        content: '';
        position: absolute; top: -80px; right: -80px;
        width: 500px; height: 500px; border-radius: 50%;
        border: 1px solid rgba(212,168,42,.15);
    }
    .hero-geo::after {
        content: '';
        position: absolute; top: 40px; right: 60px;
        width: 280px; height: 280px; border-radius: 50%;
        border: 1px solid rgba(212,168,42,.1);
    }
    .hero-circle-sm {
        position: absolute; bottom: -40px; left: 10%;
        width: 180px; height: 180px; border-radius: 50%;
        border: 1px solid rgba(212,168,42,.08);
    }

    .hero-inner {
        position: relative; z-index: 2;
        max-width: var(--max); margin: 0 auto;
        padding: 80px 40px; width: 100%;
    }
    .hero-eyebrow {
        font-size: 11px; font-weight: 800; letter-spacing: 1.2px;
        text-transform: uppercase; color: var(--gold);
        margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
        animation: slideRight .6s ease both;
    }
    .hero-eyebrow::before {
        content: ''; width: 32px; height: 1px; background: var(--gold);
    }
    .hero-title {
        font-family: var(--serif);
        font-size: clamp(36px, 5vw, 64px);
        font-weight: 700; color: var(--white);
        line-height: 1.1; max-width: 700px;
        margin-bottom: 20px;
        animation: fadeUp .7s .1s ease both;
    }
    .hero-title em { font-style: italic; color: var(--gold); }
    .hero-sub {
        font-size: 16px; color: rgba(255,255,255,.55);
        font-weight: 500; max-width: 520px; line-height: 1.7;
        animation: fadeUp .7s .2s ease both;
    }

    /* Hero accent line */
    .hero-accent {
        width: 48px; height: 3px; background: var(--gold);
        border-radius: 2px; margin: 24px 0;
        animation: fadeUp .7s .15s ease both;
    }

    /* ─── STICKY NAV TABS ─── */
    .about-nav {
        position: sticky; top: 0; z-index: 100;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 2px 12px rgba(15,22,40,.04);
    }
    .nav-inner {
        max-width: var(--max); margin: 0 auto;
        padding: 0 40px;
        display: flex; align-items: center; gap: 4px;
    }
    .nav-tab {
        font-size: 13px; font-weight: 700; color: var(--muted);
        padding: 16px 20px; border: none; background: none;
        cursor: pointer; position: relative; font-family: var(--sans);
        transition: color .2s; white-space: nowrap;
    }
    .nav-tab:hover { color: var(--navy); }
    .nav-tab.active { color: var(--navy); }
    .nav-tab.active::after {
        content: ''; position: absolute;
        bottom: 0; left: 0; right: 0; height: 2px;
        background: var(--navy); border-radius: 2px 2px 0 0;
    }

    /* ─── SECTION WRAPPER ─── */
    .section-wrap { max-width: var(--max); margin: 0 auto; padding: 80px 40px; }
    .section-sm    { max-width: var(--max); margin: 0 auto; padding: 0 40px; }

    /* ─── SECTION HEADING ─── */
    .sec-head { text-align: center; margin-bottom: 60px; }
    .sec-label {
        font-size: 10px; font-weight: 800; letter-spacing: 1px;
        text-transform: uppercase; color: var(--gold);
        margin-bottom: 10px; display: flex; align-items: center;
        justify-content: center; gap: 10px;
    }
    .sec-label::before, .sec-label::after {
        content: ''; width: 24px; height: 1px; background: var(--gold-ring);
    }
    .sec-title {
        font-family: var(--serif);
        font-size: clamp(28px, 3.5vw, 42px);
        font-weight: 700; color: var(--navy); line-height: 1.2;
        margin-bottom: 12px;
    }
    .sec-title em { font-style: italic; color: var(--gold); }
    .sec-sub {
        font-size: 15px; color: var(--muted); font-weight: 500;
        max-width: 540px; margin: 0 auto; line-height: 1.7;
    }
    .sec-rule {
        width: 40px; height: 3px; background: var(--gold);
        border-radius: 2px; margin: 20px auto 0;
    }

    /* ─── WHO WE ARE ─── */
    .who-grid {
        display: grid; grid-template-columns: 1fr 1fr;
        gap: 60px; align-items: center;
    }
    .who-text {}
    .who-text p {
        font-size: 15px; color: #4E5969; font-weight: 500;
        line-height: 1.8; margin-bottom: 20px;
    }
    .who-text p strong { color: var(--navy); font-weight: 700; }
    .who-img {
        position: relative; border-radius: 16px; overflow: hidden;
    }
    .who-img img { width: 100%; height: 300px; object-fit: cover; display: block; }
    .who-img::after {
        content: ''; position: absolute; inset: 0;
        border-radius: 16px;
        border: 1px solid rgba(212,168,42,.2);
    }
    /* Founded badge */
    .founded-badge {
        position: absolute; bottom: -1px; left: -1px;
        background: var(--gold-light); border: 1px solid var(--gold-ring);
        border-radius: 0 12px 0 16px;
        padding: 14px 20px;
    }
    .fb-year { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--gold); line-height: 1; }
    .fb-label { font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--gold); opacity: .8; }

    /* ─── STATS ROW ─── */
    .stats-band {
        background: var(--white);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }
    .stats-inner {
        max-width: var(--max); margin: 0 auto; padding: 0 40px;
        display: grid; grid-template-columns: repeat(4,1fr);
        gap: 1px; background: var(--border);
    }
    .stat-cell {
        background: var(--white);
        padding: 40px 32px;
        text-align: center;
        position: relative;
        transition: background .2s;
    }
    .stat-cell:hover { background: var(--ivory); }
    .stat-num {
        font-family: var(--serif);
        font-size: clamp(28px, 3vw, 42px);
        font-weight: 700; color: var(--navy);
        line-height: 1; margin-bottom: 10px;
    }
    .stat-accent { width: 24px; height: 2px; background: var(--gold); border-radius: 2px; margin: 0 auto 10px; }
    .stat-desc { font-size: 13px; color: var(--muted); font-weight: 500; }

    /* ─── ADVANTAGES ─── */
    .adv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
    .adv-card {
        background: var(--white); border: 1px solid var(--border);
        border-radius: 16px; overflow: hidden;
        box-shadow: var(--shadow-sm);
        transition: transform .25s ease, box-shadow .25s ease;
    }
    .adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
    .adv-img { height: 220px; overflow: hidden; }
    .adv-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
    .adv-card:hover .adv-img img { transform: scale(1.04); }
    .adv-body { padding: 24px; }
    .adv-icon-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
    .adv-icon {
        width: 36px; height: 36px; border-radius: 9px;
        background: var(--gold-light); border: 1px solid var(--gold-ring);
        display: flex; align-items: center; justify-content: center;
        font-size: 15px; color: var(--gold); flex-shrink: 0;
    }
    .adv-title { font-size: 15px; font-weight: 700; color: var(--navy); }
    .adv-text { font-size: 13px; color: var(--muted); font-weight: 500; line-height: 1.75; }
    .adv-accent { width: 28px; height: 2px; background: var(--gold); border-radius: 2px; margin-bottom: 14px; }

    /* ─── SERVICES ─── */
    .service-strip {
        display: grid; grid-template-columns: 1fr 1fr;
        min-height: 380px;
    }
    .service-strip + .service-strip { border-top: 1px solid var(--border); }

    .service-text-panel {
        display: flex; align-items: center;
        padding: 60px;
    }
    .service-text-panel.dark { background: var(--navy); }
    .service-text-panel.light { background: var(--white); }
    .service-text-inner { max-width: 440px; }
    .srv-num {
        font-family: var(--serif); font-size: 60px; font-weight: 700;
        font-style: italic; line-height: 1;
        color: rgba(212,168,42,.15);
        margin-bottom: -10px;
    }
    .srv-rule { width: 32px; height: 2px; background: var(--gold); border-radius: 2px; margin-bottom: 16px; }
    .srv-title { font-family: var(--serif); font-size: 22px; font-weight: 700; margin-bottom: 14px; line-height: 1.3; }
    .srv-title.light-txt { color: var(--white); }
    .srv-title.dark-txt  { color: var(--navy);  }
    .srv-title em { font-style: italic; color: var(--gold); }
    .srv-desc { font-size: 14px; font-weight: 500; line-height: 1.8; }
    .srv-desc.light-txt { color: rgba(255,255,255,.6); }
    .srv-desc.dark-txt  { color: #4E5969; }

    .service-img-panel { position: relative; overflow: hidden; min-height: 380px; }
    .service-img-panel img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
    .service-strip:hover .service-img-panel img { transform: scale(1.03); }
    .service-img-overlay {
        position: absolute; inset: 0;
        background: linear-gradient(135deg, rgba(15,22,40,.3) 0%, transparent 60%);
    }

    /* ─── ACTIONS SECTION ─── */
    .actions-section {
        position: relative;
        background: var(--navy);
        overflow: hidden;
    }
    .actions-bg {
        position: absolute; inset: 0;
        background-image: url('https://resources1.interface003.com/web20/img/about/bottom2.png');
        background-size: cover; background-position: center;
        opacity: .08;
    }
    .actions-inner {
        position: relative; z-index: 2;
        max-width: var(--max); margin: 0 auto;
        padding: 80px 40px;
        display: grid; grid-template-columns: 1fr 1fr;
        gap: 80px; align-items: center;
    }
    .actions-left img { width: 100%; border-radius: 16px; display: block; opacity: .85; }
    .actions-right {}
    .actions-item { margin-bottom: 52px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,.08); }
    .actions-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
    .act-highlight {
        font-family: var(--serif); font-size: 18px; font-weight: 700;
        color: var(--white); margin-bottom: 12px; line-height: 1.4;
    }
    .act-highlight em { font-style: italic; color: var(--gold); }
    .act-highlight big {
        font-size: 1.5em; font-style: italic; color: var(--gold-ring);
        display: inline;
    }
    .act-text { font-size: 14px; color: rgba(255,255,255,.55); font-weight: 500; line-height: 1.8; }

    /* ─── MILESTONES ─── */
    .milestones-section { display: none; }
    .timeline { position: relative; padding: 0 0 0 48px; }
    .timeline::before {
        content: ''; position: absolute; left: 15px; top: 0; bottom: 0;
        width: 2px; background: var(--border);
    }
    .tl-item { position: relative; margin-bottom: 40px; }
    .tl-dot {
        position: absolute; left: -48px; top: 4px;
        width: 30px; height: 30px; border-radius: 50%;
        background: var(--white); border: 2px solid var(--border);
        display: flex; align-items: center; justify-content: center;
        font-size: 9px; font-weight: 800; color: var(--muted);
    }
    .tl-item.gold .tl-dot {
        background: var(--gold-light); border-color: var(--gold-ring); color: var(--gold);
    }
    .tl-year {
        font-size: 11px; font-weight: 800; letter-spacing: .6px;
        text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
    }
    .tl-title { font-family: var(--serif); font-size: 18px; font-weight: 700; margin-bottom: 6px; }
    .tl-desc { font-size: 13px; color: var(--muted); font-weight: 500; line-height: 1.7; }

    /* ─── MEDIA SECTION ─── */
    .media-section { display: none; }
    .media-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
    .media-card {
        background: var(--white); border: 1px solid var(--border);
        border-radius: 12px; padding: 24px; cursor: pointer;
        transition: transform .2s, box-shadow .2s;
    }
    .media-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
    .media-source {
        font-size: 10px; font-weight: 800; letter-spacing: .5px;
        text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
        display: flex; align-items: center; gap: 6px;
    }
    .media-source::before { content: ''; width: 12px; height: 2px; background: var(--gold); border-radius: 1px; }
    .media-title { font-family: var(--serif); font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
    .media-date { font-size: 11px; color: var(--muted); font-weight: 500; }
    .media-arrow { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--blue, #1D5FCC); margin-top: 14px; }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 1024px) {
        .who-grid  { grid-template-columns: 1fr; gap: 36px; }
        .adv-grid  { grid-template-columns: repeat(2,1fr); }
        .service-strip { grid-template-columns: 1fr; }
        .service-text-panel { order: 2; padding: 40px; }
        .service-img-panel  { order: 1; min-height: 260px; }
        .actions-inner { grid-template-columns: 1fr; }
        .actions-left { display: none; }
        .stats-inner { grid-template-columns: repeat(2,1fr); }
    }
    @media (max-width: 768px) {
        .section-wrap, .section-sm, .hero-inner, .actions-inner { padding-left: 20px; padding-right: 20px; }
        .nav-inner { padding: 0 20px; }
        .stats-inner { padding: 0 20px; }
        .adv-grid { grid-template-columns: 1fr; }
        .media-grid { grid-template-columns: 1fr; }
        .service-text-panel { padding: 30px 20px; }
        .sec-head { margin-bottom: 36px; }
    }
    </style>
</head>
<body>

<!-- ═══════════ HERO ═══════════ -->
<div class="hero-banner">
    <div class="hero-bg"></div>
    <div class="hero-geo"></div>
    <div class="hero-circle-sm"></div>

    <div class="hero-inner">
        <div class="hero-eyebrow">About Us</div>
        <h1 class="hero-title">Securing the Future of <em>Forex</em> Investment</h1>
        <div class="hero-accent"></div>
        <p class="hero-sub">Trader Safety is committed to becoming a leader in technology services for forex investment security — making forex investment simpler, safer, and more transparent.</p>
    </div>
</div>


<!-- ═══════════ STICKY TABS ═══════════ -->
<div class="about-nav" id="aboutNav">
    <div class="nav-inner">
        <button class="nav-tab active" data-section="trader-safety">Trader Safety</button>
        <button class="nav-tab" data-section="milestones">Milestones</button>
        <button class="nav-tab" data-section="media">Media Reports</button>
    </div>
</div>


<!-- ═══════════ TRADER SAFETY SECTION ═══════════ -->
<div id="trader-safety">

    <!-- ── Who We Are ── -->
    <div class="section-wrap">
        <div class="sec-head reveal">
            <div class="sec-label">Introduction</div>
            <h2 class="sec-title">Who <em>We Are</em></h2>
            <p class="sec-sub">The world's most trusted forex information service platform, powered by the largest broker database.</p>
            <div class="sec-rule"></div>
        </div>

        <div class="who-grid">
            <div class="reveal">
                <p><strong>Founded in 2017</strong>, Trader Safety is a leading forex information service platform with the world's largest broker database — covering over 65,000 verified brokers across 240+ countries and regions.</p>
                <p>In February <strong>2018</strong>, the Trader Safety App launched globally, providing users with simpler and safer forex industry information and regulatory query services in <strong>17 languages</strong>.</p>
                <p>We are committed to being the definitive voice of transparency in the forex industry — exposing risk, empowering investors, and championing credibility.</p>
            </div>
            <div class="who-img reveal" style="transition-delay:.1s">
                <img src="https://resources1.interface003.com/web20/img/about/who.png" alt="Who We Are">
                <div class="founded-badge">
                    <div class="fb-year">2017</div>
                    <div class="fb-label">Founded</div>
                </div>
            </div>
        </div>
    </div>

    <!-- ── Stats Band ── -->
    <div class="stats-band">
        <div class="stats-inner">
            <div class="stat-cell reveal">
                <div class="stat-num" data-count="65000" data-suffix="+">0</div>
                <div class="stat-accent"></div>
                <div class="stat-desc">Forex Broker Verifications</div>
            </div>
            <div class="stat-cell reveal" style="transition-delay:.08s">
                <div class="stat-num" data-count="60" data-suffix="+">0</div>
                <div class="stat-accent"></div>
                <div class="stat-desc">Regulatory Authorities</div>
            </div>
            <div class="stat-cell reveal" style="transition-delay:.16s">
                <div class="stat-num" data-count="240" data-suffix="+">0</div>
                <div class="stat-accent"></div>
                <div class="stat-desc">Countries & Regions</div>
            </div>
            <div class="stat-cell reveal" style="transition-delay:.24s">
                <div class="stat-num" data-count="2100000" data-suffix="+">0</div>
                <div class="stat-accent"></div>
                <div class="stat-desc">Users Served Worldwide</div>
            </div>
        </div>
    </div>

    <!-- ── Advantages ── -->
    <div class="section-wrap">
        <div class="sec-head reveal">
            <div class="sec-label">What We Do Best</div>
            <h2 class="sec-title">Our <em>Advantages</em></h2>
            <p class="sec-sub">Three pillars that make Trader Safety the most trusted name in forex verification.</p>
            <div class="sec-rule"></div>
        </div>

        <div class="adv-grid">
            <div class="adv-card reveal">
                <div class="adv-img">
                    <img src="https://resources1.interface003.com/web20/img/about/youshi1.png" alt="Rating System">
                </div>
                <div class="adv-body">
                    <div class="adv-accent"></div>
                    <div class="adv-icon-row">
                        <div class="adv-icon"><i class="fas fa-star-half-stroke"></i></div>
                        <div class="adv-title">Trader Safety Rating System</div>
                    </div>
                    <p class="adv-text">Our pioneering Rating System uses advanced algorithms and an intuitive format to evaluate brokers' qualifications, user reviews, and industry influence — giving investors an instant, reliable verdict.</p>
                </div>
            </div>
            <div class="adv-card reveal" style="transition-delay:.08s">
                <div class="adv-img">
                    <img src="https://resources1.interface003.com/web20/img/about/youshi2.png" alt="Database">
                </div>
                <div class="adv-body">
                    <div class="adv-accent"></div>
                    <div class="adv-icon-row">
                        <div class="adv-icon"><i class="fas fa-database"></i></div>
                        <div class="adv-title">World's Largest Database</div>
                    </div>
                    <p class="adv-text">Featuring the world's largest forex broker database, covering verified credentials, regulatory status, historical performance, user reviews, and comprehensive risk ratings.</p>
                </div>
            </div>
            <div class="adv-card reveal" style="transition-delay:.16s">
                <div class="adv-img">
                    <img src="https://resources1.interface003.com/web20/img/about/youshi3.png" alt="Inspections">
                </div>
                <div class="adv-body">
                    <div class="adv-accent"></div>
                    <div class="adv-icon-row">
                        <div class="adv-icon"><i class="fas fa-magnifying-glass-location"></i></div>
                        <div class="adv-title">On-site Inspections</div>
                    </div>
                    <p class="adv-text">We conduct on-site inspections of brokers' operations to verify office spaces, team sizes, and other details against public information — providing a first-hand credibility assessment.</p>
                </div>
            </div>
        </div>
    </div>

    <!-- ── Services ── -->
    <div style="border-top:1px solid var(--border)">
        <div class="section-sm" style="padding-top:80px;padding-bottom:20px">
            <div class="sec-head reveal">
                <div class="sec-label">What We Offer</div>
                <h2 class="sec-title">Our <em>Services</em></h2>
                <div class="sec-rule"></div>
            </div>
        </div>

        <!-- Service 1 -->
        <div class="service-strip reveal">
            <div class="service-text-panel dark">
                <div class="service-text-inner">
                    <div class="srv-num">01</div>
                    <div class="srv-rule"></div>
                    <h3 class="srv-title light-txt">Platform <em>Verification</em></h3>
                    <p class="srv-desc light-txt">We provide investors with comprehensive insights through real-time updates on brokers' regulatory status, licenses, risk information, credit evaluations, and on-site inspections — promoting transparency and standardization across the industry.</p>
                </div>
            </div>
            <div class="service-img-panel">
                <img src="https://resources1.interface003.com/web20/img/about/fuwu1.png" alt="Platform Verification">
                <div class="service-img-overlay"></div>
            </div>
        </div>

        <!-- Service 2 -->
        <div class="service-strip reveal">
            <div class="service-img-panel">
                <img src="https://resources1.interface003.com/web20/img/about/fuwu2.png" alt="Industry Community">
                <div class="service-img-overlay"></div>
            </div>
            <div class="service-text-panel light">
                <div class="service-text-inner">
                    <div class="srv-num" style="color:rgba(15,22,40,.06)">02</div>
                    <div class="srv-rule"></div>
                    <h3 class="srv-title dark-txt">Industry <em>Community</em></h3>
                    <p class="srv-desc dark-txt">We create personalized identities for users, enabling them to find their own forex ecosystem. Users access detailed service provider information and engage in interactions — fostering a vibrant and trustworthy forex community.</p>
                </div>
            </div>
        </div>

        <!-- Service 3 -->
        <div class="service-strip reveal">
            <div class="service-text-panel dark">
                <div class="service-text-inner">
                    <div class="srv-num">03</div>
                    <div class="srv-rule"></div>
                    <h3 class="srv-title light-txt">Service <em>Products</em></h3>
                    <p class="srv-desc light-txt">Trader Safety VPS is a powerful EA cloud server designed for forex investors. Choose from our EA strategy products, covering mainstream algorithms and analysis tools for various market trends and conditions.</p>
                </div>
            </div>
            <div class="service-img-panel">
                <img src="https://resources1.interface003.com/web20/img/about/fuwu3.png" alt="Service Products">
                <div class="service-img-overlay"></div>
            </div>
        </div>
    </div>

    <!-- ── Actions ── -->
    <div class="actions-section">
        <div class="actions-bg"></div>
        <div class="actions-inner">
            <div class="actions-left reveal">
                <img src="https://resources1.interface003.com/web20/img/about/bottom1.png" alt="Actions">
            </div>
            <div class="actions-right">
                <div class="sec-head" style="text-align:left;margin-bottom:44px">
                    <div class="sec-label" style="justify-content:flex-start">
                        <span style="width:24px;height:1px;background:var(--gold-ring);display:inline-block"></span>
                        Trader Safety in Action
                        <span style="width:24px;height:1px;background:var(--gold-ring);display:inline-block"></span>
                    </div>
                    <h2 class="sec-title" style="color:var(--white)">Our <em>Impact</em></h2>
                    <div class="sec-rule" style="margin:16px 0 0"></div>
                </div>

                <div class="actions-item reveal">
                    <h3 class="act-highlight">Helped <big>15,000+</big> Investors Recover Over <big>$65M</big> in Losses</h3>
                    <p class="act-text">Trader Safety serves as a window to transparency, meticulously recording white labels, shared licenses, and exposure information. We offer free and efficient complaint channels, ensuring swift resolutions to recover economic losses and expose fraudulent activities.</p>
                </div>
                <div class="actions-item reveal" style="transition-delay:.1s">
                    <h3 class="act-highlight">Protected <big>300+</big> Companies' Reputation — <em>"Good Money Drives Out Bad"</em></h3>
                    <p class="act-text">Trader Safety remains highly attentive to the market, leveraging third-party objectivity and expertise to uncover potential risks through our rating system and on-site inspections — effectively curbing unethical practices across the industry.</p>
                </div>
            </div>
        </div>
    </div>

</div><!-- /#trader-safety -->


<!-- ═══════════ MILESTONES ═══════════ -->
<div id="milestones" class="milestones-section">
    <div class="section-wrap">
        <div class="sec-head reveal">
            <div class="sec-label">Our Journey</div>
            <h2 class="sec-title">Key <em>Milestones</em></h2>
            <div class="sec-rule"></div>
        </div>
        <div class="timeline">
            <?php
            $milestones = [
                ['year'=>'2017','title'=>'Founded','desc'=>'Trader Safety is established as a leading forex information service platform with the world\'s largest broker database.','gold'=>true],
                ['year'=>'2018','title'=>'App Launch','desc'=>'The Trader Safety App officially launches in February, providing users worldwide with regulatory query services in 17 languages.','gold'=>true],
                ['year'=>'2019','title'=>'50,000 Brokers Verified','desc'=>'Our database surpasses 50,000 verified forex brokers, establishing the world\'s most comprehensive coverage.','gold'=>false],
                ['year'=>'2020','title'=>'On-site Inspection Program','desc'=>'We launch our pioneering on-site broker inspection program, conducting physical verifications of broker operations globally.','gold'=>true],
                ['year'=>'2021','title'=>'1 Million Users','desc'=>'Trader Safety surpasses 1 million active users worldwide across 240+ countries and regions.','gold'=>false],
                ['year'=>'2022','title'=>'Rating System 2.0','desc'=>'A major overhaul of our proprietary rating algorithm introduces AI-driven risk scoring and real-time regulatory tracking.','gold'=>true],
                ['year'=>'2023','title'=>'$65M+ Losses Recovered','desc'=>'Our complaint resolution channels help investors recover over $65 million in losses from fraudulent brokers.','gold'=>false],
                ['year'=>'2024','title'=>'2 Million+ Users','desc'=>'The platform surpasses 2.1 million registered users globally, cementing our position as the industry\'s most trusted voice.','gold'=>true],
            ];
            foreach ($milestones as $m): ?>
            <div class="tl-item <?= $m['gold'] ? 'gold' : '' ?> reveal">
                <div class="tl-dot"><?= substr($m['year'],2) ?></div>
                <div class="tl-year"><?= $m['year'] ?></div>
                <div class="tl-title"><?= $m['title'] ?></div>
                <p class="tl-desc"><?= $m['desc'] ?></p>
            </div>
            <?php endforeach; ?>
        </div>
    </div>
</div>


<!-- ═══════════ MEDIA ═══════════ -->
<div id="media" class="media-section">
    <div class="section-wrap">
        <div class="sec-head reveal">
            <div class="sec-label">Press & Media</div>
            <h2 class="sec-title">Media <em>Reports</em></h2>
            <p class="sec-sub">What the world's leading financial publications say about Trader Safety.</p>
            <div class="sec-rule"></div>
        </div>
        <div class="media-grid">
            <?php
            $media = [
                ['source'=>'Financial Times','title'=>'How Trader Safety Is Cleaning Up the Forex Industry','date'=>'March 2024'],
                ['source'=>'Bloomberg','title'=>'The Platform Helping Millions of Forex Investors Avoid Scams','date'=>'January 2024'],
                ['source'=>'Reuters','title'=>'Trader Safety\'s Database Hits 65,000 Verified Brokers Worldwide','date'=>'November 2023'],
                ['source'=>'Forbes','title'=>'The Startup That Turned Broker Transparency Into a Global Mission','date'=>'September 2023'],
                ['source'=>'CoinDesk','title'=>'Trader Safety Expands VPS & EA Products for Algorithmic Traders','date'=>'July 2023'],
                ['source'=>'TechCrunch','title'=>'How AI-Driven Risk Ratings Are Changing the Way We Evaluate Brokers','date'=>'May 2023'],
            ];
            foreach ($media as $i => $item): ?>
            <div class="media-card reveal" style="transition-delay:<?= $i * .06 ?>s">
                <div class="media-source"><?= $item['source'] ?></div>
                <div class="media-title"><?= $item['title'] ?></div>
                <div class="media-date"><i class="fas fa-calendar-alt" style="font-size:10px;margin-right:5px"></i><?= $item['date'] ?></div>
                <div class="media-arrow">Read Article <i class="fas fa-arrow-right" style="font-size:10px"></i></div>
            </div>
            <?php endforeach; ?>
        </div>
    </div>
</div>


<script>
// ── Reveal on scroll ──
const reveals = document.querySelectorAll('.reveal');
const io = new IntersectionObserver(entries => {
    entries.forEach(e => {
        if (e.isIntersecting) {
            e.target.classList.add('visible');
            io.unobserve(e.target);
        }
    });
}, { threshold: .12 });
reveals.forEach(el => io.observe(el));

// ── Animated counters ──
function animCount(el) {
    const target = parseInt(el.dataset.count, 10);
    const suffix = el.dataset.suffix || '';
    const dur = 1800;
    const t0 = performance.now();
    const fmt = n => {
        if (n >= 1000000) return (n/1000000).toFixed(1).replace('.0','') + 'M';
        if (n >= 1000)    return (n/1000).toFixed(0) + 'K';
        return n.toString();
    };
    const tick = now => {
        const p = Math.min((now - t0) / dur, 1);
        const e = 1 - Math.pow(1 - p, 3);
        el.textContent = fmt(Math.round(target * e)) + suffix;
        if (p < 1) requestAnimationFrame(tick);
    };
    requestAnimationFrame(tick);
}
const countIO = new IntersectionObserver(entries => {
    entries.forEach(e => {
        if (e.isIntersecting) {
            animCount(e.target);
            countIO.unobserve(e.target);
        }
    });
}, { threshold: .5 });
document.querySelectorAll('[data-count]').forEach(el => countIO.observe(el));

// ── Tab switching ──
const tabs = document.querySelectorAll('.nav-tab');
const sections = { 'trader-safety': document.getElementById('trader-safety'), 'milestones': document.getElementById('milestones'), 'media': document.getElementById('media') };

tabs.forEach(tab => {
    tab.addEventListener('click', () => {
        tabs.forEach(t => t.classList.remove('active'));
        tab.classList.add('active');
        const key = tab.dataset.section;
        Object.entries(sections).forEach(([k, el]) => {
            if (el) el.style.display = (k === key) ? 'block' : 'none';
        });
        // Re-trigger reveals in newly shown section
        el && document.querySelectorAll('#' + key + ' .reveal').forEach(r => {
            if (!r.classList.contains('visible')) io.observe(r);
        });
        window.scrollTo({ top: document.getElementById('aboutNav').offsetTop - 10, behavior: 'smooth' });
    });
});
// Show only first tab initially
Object.entries(sections).forEach(([k, el]) => {
    if (el && k !== 'trader-safety') el.style.display = 'none';
});
</script>

<?php include __DIR__ . '/../includes/footer.php'; ?>
