<?php $lang=stb_lang(); $B='/NewSite';
$login_label_url = $lang==='fa' ? 'https://crm.stbbrokers.com/fa':'https://crm.stbbrokers.com/';
$register_label_url = $lang==='fa' ? 'https://crm.stbbrokers.com/fa/register':'https://crm.stbbrokers.com/register/';
?>
<style>
/* Venture — green theme futuristic */
:root{--ven:#14e0a3}
.ven-bg{position:absolute;inset:0;
  background:radial-gradient(ellipse 70% 50% at 50% -10%,rgba(20,224,163,.12),transparent),
  repeating-linear-gradient(0deg,transparent,transparent 47px,rgba(20,224,163,.025) 48px),
  repeating-linear-gradient(90deg,transparent,transparent 47px,rgba(20,224,163,.025) 48px)}
/* Challenge selector */
.ven-tabs{display:flex;gap:4px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
  border-radius:12px;padding:4px;margin-bottom:28px;width:fit-content}
.ven-tab{padding:9px 22px;border-radius:9px;font-size:13.5px;font-weight:700;color:rgba(255,255,255,.45);
  cursor:pointer;transition:all .2s;border:1px solid transparent}
.ven-tab.active{background:#14e0a3;color:#04120e;border-color:#14e0a3}
.ven-tab:hover:not(.active){color:#fff;background:rgba(255,255,255,.06)}
/* Challenge card */
.ven-challenge{background:#0a0c10;border:1px solid rgba(20,224,163,.15);border-radius:20px;overflow:hidden;margin-bottom:40px}
.ven-challenge-head{padding:24px 28px;background:rgba(20,224,163,.05);border-bottom:1px solid rgba(20,224,163,.1)}
.ven-challenge-label{font-size:10px;font-weight:700;letter-spacing:.16em;color:#14e0a3;margin-bottom:8px;text-transform:uppercase}
.ven-challenge-name{font-size:28px;font-weight:700;color:#fff;margin-bottom:6px}
.ven-challenge-desc{font-size:13.5px;color:rgba(255,255,255,.45);line-height:1.6}
.ven-params{display:grid;grid-template-columns:repeat(3,1fr);gap:0;padding:0;border-bottom:1px solid rgba(20,224,163,.08)}
@media(max-width:600px){.ven-params{grid-template-columns:1fr}}
.ven-param{padding:20px 24px;border-right:1px solid rgba(20,224,163,.08)}
.ven-param:last-child{border-right:none}
.ven-param-label{font-size:10.5px;font-weight:700;letter-spacing:.1em;color:rgba(255,255,255,.3);text-transform:uppercase;margin-bottom:6px}
.ven-param-val{font-size:22px;font-weight:700;color:#fff}
.ven-param-val em{font-style:normal;color:#14e0a3}
.ven-challenge-foot{padding:20px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
/* Path steps */
.ven-path{display:flex;gap:0;margin-bottom:40px;position:relative}
.ven-path::before{content:'';position:absolute;top:28px;left:14px;right:14px;height:2px;
  background:linear-gradient(90deg,#14e0a3,rgba(20,224,163,.1))}
@media(max-width:600px){.ven-path{flex-direction:column}.ven-path::before{display:none}}
.ven-path-step{flex:1;text-align:center;position:relative}
.ven-path-dot{width:28px;height:28px;border-radius:50%;background:#14e0a3;
  margin:0 auto 12px;display:flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:700;color:#04120e;position:relative;z-index:1;
  box-shadow:0 0 16px rgba(20,224,163,.4)}
.ven-path-title{font-size:13px;font-weight:700;color:#fff;margin-bottom:4px}
.ven-path-sub{font-size:12px;color:rgba(255,255,255,.4)}
/* Animated glowing ring */
@keyframes ven-ring{0%,100%{box-shadow:0 0 10px rgba(20,224,163,.3)}50%{box-shadow:0 0 30px rgba(20,224,163,.6)}}
.ven-hero-btn{background:#14e0a3!important;color:#04120e!important;box-shadow:0 4px 24px rgba(20,224,163,.3)!important;animation:ven-ring 2.5s infinite}
.ven-hero-btn:hover{color:#04120e!important}
</style>
<script>
function venTab(slug){
  document.querySelectorAll('.ven-tab').forEach(t=>t.classList.remove('active'));
  document.querySelectorAll('[data-ven]').forEach(c=>c.style.display='none');
  event.target.classList.add('active');
  document.querySelector('[data-ven="'+slug+'"]').style.display='block';
}
</script>

<article class="ip-page">
<div class="ip-hero" style="position:relative;overflow:hidden">
  <div class="ven-bg"></div>
  <div class="ip-hero-glow" style="background:radial-gradient(ellipse,rgba(20,224,163,.12),transparent 65%)"></div>
  <div class="ip-container" style="position:relative;z-index:1">
    <nav class="ip-breadcrumb"><a href="<?php echo $B;?>/">Home</a><span class="ip-breadcrumb-sep">›</span><span>STB Venture</span></nav>
    <div class="ip-kicker" style="color:rgba(20,224,163,.9)"><span class="ip-kicker-dot" style="background:#14e0a3"></span>PROP TRADING</div>
    <h1 class="ip-h1">Trade Our Capital. <em style="color:#14e0a3">Keep The Profit.</em></h1>
    <p class="ip-hero-desc">Pass the evaluation, get funded up to $200,000, and keep up to 90% of profits. No personal capital at risk — your challenge fee is refunded on first payout.</p>
    <div class="ip-hero-stats">
      <div><div class="ip-stat-val" style="color:#14e0a3">90<em style="color:#14e0a3;font-size:18px">%</em></div><div class="ip-stat-lbl">Profit Split</div></div>
      <div><div class="ip-stat-val">$200K</div><div class="ip-stat-lbl">Max Funding</div></div>
      <div><div class="ip-stat-val">0</div><div class="ip-stat-lbl">Time Limit</div></div>
      <div><div class="ip-stat-val">10<em style="font-size:16px">%</em></div><div class="ip-stat-lbl">Max Drawdown</div></div>
    </div>
    <div class="ip-hero-ctas">
      <a href="<?php echo esc_html($register_label_url);?>" class="ip-btn-red ven-hero-btn">Start Challenge <svg viewBox="0 0 24 24"><path d="M5 12h14M12 5l7 7-7 7" stroke-width="2" stroke-linecap="round"/></svg></a>
      <a href="#conditions" class="ip-btn-ghost">View All Conditions</a>
    </div>
  </div>
</div>

<section class="ip-section" id="conditions">
  <div class="ip-container">
    <h2 class="ip-section-title" style="margin-bottom:8px">Choose Your <em style="color:#14e0a3">Path</em></h2>
    <p class="ip-section-desc" style="margin-bottom:24px">Three funding models — pick the one that matches your trading style.</p>

    <div class="ven-tabs">
      <div class="ven-tab active" onclick="venTab('2step')">2-Step Challenge</div>
      <div class="ven-tab" onclick="venTab('1step')">1-Step Challenge</div>
      <div class="ven-tab" onclick="venTab('instant')">Instant Funded</div>
    </div>

    <?php $challenges=[
      '2step'=>['2-Step Challenge','THE CLASSIC PATH','Two-phase evaluation. The most popular path for consistent traders.',
        [['Phase 1 Target','8%'],['Phase 2 Target','5%'],['Time Limit','None'],['Daily Loss Limit','5%'],['Max Drawdown','10%'],['Profit Split','Up to 90%'],['Max Funding','$200,000']],
        'Best for: Consistent traders who prefer lower targets over two phases.'],
      '1step'=>['1-Step Challenge','FAST TRACK','Single phase. Higher target, faster path to funding.',
        [['Phase 1 Target','10%'],['Phase 2 Target','N/A — 1 Phase'],['Time Limit','None'],['Daily Loss Limit','5%'],['Max Drawdown','10%'],['Profit Split','Up to 85%'],['Max Funding','$200,000']],
        'Best for: Aggressive traders who want to get funded quickly.'],
      'instant'=>['Instant Funded','NO EVALUATION','Get funded immediately. No challenge, no waiting.',
        [['Phase 1 Target','No target'],['Phase 2 Target','N/A'],['Time Limit','None'],['Daily Loss Limit','4%'],['Max Drawdown','8%'],['Profit Split','Up to 80%'],['Max Funding','$100,000']],
        'Best for: Experienced traders who want to skip the evaluation entirely.'],
    ];
    $first=true;
    foreach($challenges as $key=>$ch): ?>
    <div data-ven="<?php echo $key;?>" <?php echo $first?'':'style="display:none"';?>>
      <div class="ven-challenge">
        <div class="ven-challenge-head">
          <div class="ven-challenge-label"><?php echo $ch[1];?></div>
          <div class="ven-challenge-name"><?php echo $ch[0];?></div>
          <div class="ven-challenge-desc"><?php echo $ch[2];?></div>
        </div>
        <div class="ven-params">
          <?php foreach($ch[3] as $p): ?>
          <div class="ven-param">
            <div class="ven-param-label"><?php echo $p[0];?></div>
            <div class="ven-param-val"><?php
              $v=$p[1];
              if(strpos($v,'%')!==false) echo str_replace('%','<em>%</em>',$v);
              else echo esc_html($v);
            ?></div>
          </div>
          <?php endforeach; ?>
        </div>
        <div class="ven-challenge-foot">
          <span style="font-size:13px;color:rgba(255,255,255,.4)"><?php echo $ch[4];?></span>
          <a href="<?php echo esc_html($register_label_url);?>" class="ip-btn-red" style="background:#14e0a3;color:#04120e;box-shadow:0 4px 16px rgba(20,224,163,.25)">Start <?php echo $ch[0];?></a>
        </div>
      </div>
    </div>
    <?php $first=false; endforeach; ?>

    <h2 class="ip-section-title" style="margin-bottom:24px">Evaluation <em style="color:#14e0a3">Pathway</em></h2>
    <div class="ven-path">
      <?php foreach([
        ['Pay Fee','One-time evaluation fee. Refunded on first payout.'],
        ['Pass Phase 1','Hit the profit target. Stay within drawdown limits.'],
        ['Pass Phase 2','Confirm consistency. No time limits.'],
        ['Get Funded','Receive your funded account. Trade live capital.'],
        ['Keep Profits','Withdraw up to 90% of profits. Scale up.'],
      ] as $i=>$s): ?>
      <div class="ven-path-step">
        <div class="ven-path-dot"><?php echo $i+1;?></div>
        <div class="ven-path-title"><?php echo $s[0];?></div>
        <div class="ven-path-sub"><?php echo $s[1];?></div>
      </div>
      <?php endforeach; ?>
    </div>

    <div class="ip-cards">
      <?php foreach([
        ['<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" stroke-width="1.5"/>','No Personal Risk','Your own capital is never at risk. Only the evaluation fee, which is refunded on passing.'],
        ['<path d="M13 2L3 14h9l-1 8 10-12h-9l1-8z" stroke-width="1.5" stroke-linecap="round"/>','Scale Up to $4M','Proven traders can scale their funded account through our growth plan up to $4 million.'],
        ['<path d="M3 3v18h18" stroke-width="1.5"/><polyline points="7 16 11 10 15 14 19 7" stroke-width="1.5"/>','All Instruments','Trade Forex, Indices, Commodities, and Crypto on the funded account — full MT5 access.'],
        ['<path d="M12 2v20M17 5H9.5a3.5 3.5 0 000 7h5a3.5 3.5 0 010 7H6" stroke-width="1.5" stroke-linecap="round"/>','Bi-Weekly Payouts','Profits are distributed every two weeks. Withdraw directly to your bank or crypto wallet.'],
      ] as $c): ?>
      <div class="ip-card" style="--cc:#14e0a3">
        <div class="ip-card-icon" style="background:rgba(20,224,163,.08);border-color:rgba(20,224,163,.2)"><svg viewBox="0 0 24 24" stroke="#14e0a3" fill="none"><?php echo $c[0];?></svg></div>
        <div class="ip-card-title"><?php echo $c[1];?></div>
        <div class="ip-card-desc"><?php echo $c[2];?></div>
      </div>
      <?php endforeach; ?>
    </div>

    <div class="ip-cta-strip" style="background:linear-gradient(135deg,rgba(20,224,163,.08),transparent);border-color:rgba(20,224,163,.2)">
      <div class="ip-cta-strip-text"><h3>Start Your Challenge Today</h3><p>Join thousands of funded traders. No personal capital at risk.</p></div>
      <div class="ip-cta-strip-btns">
        <a href="<?php echo esc_html($register_label_url);?>" class="ip-btn-red" style="background:#14e0a3;color:#04120e">Start Challenge</a>
        <a href="<?php echo $B;?>/contact/" class="ip-btn-ghost">Talk to us</a>
      </div>
    </div>
  </div>
</section>
</article>