* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, #fbe7f0, #e3e9ff);
    color: #1d1d1d;
    min-height: 100vh;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    background: transparent;
}

.logo {
    font-size: 24px;
    font-weight: 800;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.btn-primary {
    padding: 10px 20px;
    background: linear-gradient(to right, #6e63ff, #b845fc);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover {
    opacity: 0.9;
}

.hero {
    text-align: center;
    padding: 120px 20px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    max-width: 800px;
    margin: 0 auto 20px;
    color: #1d1d1d;
}

.description {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-secondary {
    font-size: 16px;
    padding: 14px 30px;
    background: linear-gradient(to right, #ff4b77, #ff9966);
    color: white;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-secondary:hover {
    opacity: 0.9;
}

.course-list {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.course-list h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
}

.course-block {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    padding: 15px 20px;
    margin-bottom: 20px;
    gap: 20px;
    transition: transform 0.2s;
}

.course-block:hover {
    transform: translateY(-2px);
}

.course-block img {
    width: 48px;
    height: 48px;
}

.course-block h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1d;
    margin-bottom: 5px;
}

.course-block .progress {
    font-size: 14px;
    color: #666;
}

.course-link {
    display: inline-block;
    margin-top: 8px;
    color: #b845fc;
    text-decoration: none;
    font-weight: 600;
}

.course-link:hover {
    text-decoration: underline;
}

#graph-info .btn-secondary {
    background: linear-gradient(to right, #a94eff, #ff68d1);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    margin-top: 15px;
    cursor: pointer;
}

#graph-info .btn-secondary:hover {
    opacity: 0.9;
}

.profile-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    min-height: 100vh;
    background-color: #f9fafb;
}

.profile-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #ddd;
}

.profile-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-header p {
    margin: 3px 0;
    color: #4b5563;
    font-size: 16px;
}

.personality-type strong, .subscription-plan strong {
    color: #111827;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 22px;
    font-weight: 600;
    color: #2563eb;
}

.stat p {
    font-size: 14px;
    color: #6b7280;
}

.btn-secondary, .btn-primary, .btn-light {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    font-weight: 500;
    border-radius: 8px;
    text-align: center;
    width: 80%;
}

.personality-type {
    color: #555;
    font-size: 14px;
    margin-top: 6px;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 24px;
    color: #a94eff;
    margin-bottom: 5px;
}

.stat p {
    font-size: 14px;
    color: #777;
}

/*.course-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}*/

.progress-value {
    font-weight: 600;
    color: #333;
}

.logout-btn {
    display: inline-block;
    text-align: center;
    width: 100%;
    padding: 14px;
    background: linear-gradient(to right, #a94eff, #ff68d1);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
}

.profile-container {
  display: flex;
  justify-content: center;
  padding: 1rem;
}

.profile-card {
  width: 100%;
  max-width: 500px;
  background-color: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.stats {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.stat {
  flex: 1;
  text-align: center;
}

/* Мобильная адаптация */
@media (max-width: 600px) {
  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .stats {
    flex-direction: column;
  }

  .stat {
    width: 100%;
  }
}
