/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(135deg, #0b0e14 0%, #121724 100%);
  color: #ffffff;
}

/* App Container */
.app {
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.app::before {
  content: '';
  position: absolute;
  top: -300px;
  left: -300px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3a9e4d 0%, #2a7c3a 100%);
  opacity: 0.2;
  z-index: -1;
}

/* Header */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4rem;
  width: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  color: #3a9e4d;
  font-weight: bold;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav li {
  margin-left: 2rem;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #3a9e4d;
}

.main-nav a.login-button {
  background-color: #3a9e4d;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.main-nav a.login-button:hover {
  background-color: #2a7c3a;
  color: white;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Hero Section */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #c5c5c5;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-button {
  background-color: #3a9e4d;
  color: white;
  border: none;
  border-radius: 2rem;
  padding: 0.75rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 3rem;
}

.cta-button:hover {
  background-color: #2a7c3a;
}

/* Dashboard Preview */
.dashboard-preview-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
}

.dashboard-preview {
  background-color: #1a1e2a;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: white;
  width: 100%;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #2a2f3f;
}

.dashboard-logo {
  display: flex;
  align-items: center;
  font-weight: 600;
}

.dashboard-icon {
  color: #3a9e4d;
  margin-right: 0.5rem;
}

.profile-icon {
  width: 30px;
  height: 30px;
  background-color: #3a3f4f;
  border-radius: 50%;
}

.dashboard-stats {
  display: flex;
  justify-content: space-around;
  padding: 1.5rem;
  background-color: #1a1e2a;
}

.stat-item {
  text-align: center;
}

.stat-label {
  font-size: 0.9rem;
  color: #a0a0a0;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: bold;
}

.dashboard-content {
  display: flex;
  padding: 0 1rem 1rem;
}

.dashboard-column {
  flex: 1;
  padding: 0 0.5rem;
}

.dashboard-card {
  background-color: #1e2231;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 1rem;
  color: #ffffff;
}

.session-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.session-date {
  color: #a0a0a0;
  font-size: 0.8rem;
}

.session-client {
  color: #ffffff;
}

.client-highlight {
  color: #3a9e4d;
}

.session-type {
  color: #a0a0a0;
  font-size: 0.8rem;
}

.progress-section h4 {
  font-size: 0.9rem;
  margin: 0.5rem 0;
  color: #a0a0a0;
}

.progress-chart {
  margin-top: 1rem;
}

.chart-legend {
  display: flex;
  margin-bottom: 0.5rem;
}

.legend-item {
  font-size: 0.8rem;
  color: #a0a0a0;
  margin-right: 1rem;
}

.chart-container {
  height: 100px;
  position: relative;
  margin-bottom: 0.5rem;
}

.chart-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(58, 158, 77, 0.1) 0%, rgba(58, 158, 77, 0) 100%);
  border-top: 2px solid #3a9e4d;
  clip-path: polygon(0% 80%, 20% 70%, 40% 50%, 60% 40%, 80% 30%, 100% 20%);
}

.strength-line {
  background: linear-gradient(180deg, rgba(58, 158, 77, 0.2) 0%, rgba(58, 158, 77, 0) 100%);
  border-top: 2px solid #3a9e4d;
  clip-path: polygon(0% 80%, 20% 70%, 40% 50%, 60% 40%, 80% 30%, 100% 20%);
}

.cardio-line {
  background: linear-gradient(180deg, rgba(231, 76, 60, 0.2) 0%, rgba(231, 76, 60, 0) 100%);
  border-top: 2px solid #e74c3c;
  clip-path: polygon(0% 90%, 20% 80%, 40% 60%, 60% 50%, 80% 40%, 100% 30%);
}

.flexibility-line {
  background: linear-gradient(180deg, rgba(52, 152, 219, 0.2) 0%, rgba(52, 152, 219, 0) 100%);
  border-top: 2px solid #3498db;
  clip-path: polygon(0% 100%, 20% 90%, 40% 70%, 60% 60%, 80% 50%, 100% 40%);
}

.chart-dates {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #a0a0a0;
}

.workout-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.workout-name {
  color: #3a9e4d;
}

.workout-date {
  color: #a0a0a0;
  font-size: 0.8rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .app-header {
    padding: 1rem 2rem;
    flex-direction: column;
  }
  
  .main-nav {
    margin-top: 1rem;
  }
  
  .main-nav li {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .dashboard-content {
    flex-direction: column;
  }
  
  .dashboard-column {
    padding: 0;
  }
}
