<div class="page-home">
  <h1>Welcome to the Ticket System</h1>
  <p class="hero-subtitle">
    Streamline your workflow with our professional ticket management system. 
    Create, track, and manage requests with ease.
  </p>
  
  <?php if (empty($_SESSION['user_id'])): ?>
    <div class="hero-actions">
      <a href="index.php?page=login" class="btn btn-primary">Get Started</a>
    </div>
    
    <div class="feature-grid">
      <div class="feature-card">
        <div class="feature-icon">🎯</div>
        <h3 class="feature-title">Workflow Management</h3>
        <p class="feature-description">
          Create custom workflows with multiple states and automated transitions 
          to match your business processes perfectly.
        </p>
      </div>
      
      <div class="feature-card">
        <div class="feature-icon">👥</div>
        <h3 class="feature-title">Team Collaboration</h3>
        <p class="feature-description">
          Assign tasks to users or groups, track progress, and ensure nothing 
          falls through the cracks with our notification system.
        </p>
      </div>
      
      <div class="feature-card">
        <div class="feature-icon">📊</div>
        <h3 class="feature-title">Real-time Tracking</h3>
        <p class="feature-description">
          Monitor request status, view detailed histories, and get insights 
          into your team's performance with comprehensive reporting.
        </p>
      </div>
    </div>
  <?php else: ?>
    <div class="hero-actions">
      <a href="index.php?page=dashboard" class="btn btn-primary">Go to Dashboard</a>
      <a href="index.php?page=request_create" class="btn btn-secondary">Create Request</a>
    </div>
  <?php endif; ?>
</div>