/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #1e293b;
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

a {
  text-decoration: none;
  color: inherit;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: transparent;
  color: #64748b;
  border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
}

.btn.loading {
  pointer-events: none;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Navigation */
.navbar {
  background: white;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 24px;
  color: #1e293b;
}

.logo svg circle:first-child {
  fill: #6366f1;
}

.logo svg circle:last-child {
  fill: #8b5cf6;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-menu a {
  font-weight: 500;
  color: #64748b;
  transition: color 0.3s ease;
}

.nav-menu a.active,
.nav-menu a:hover {
  color: #6366f1;
}

.nav-actions {
  display: flex;
  gap: 12px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: #64748b;
  margin: 2px 0;
  transition: 0.3s ease;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  height: 100vh;
  padding: 80px 0 60px;
  display: flex;
  align-items: center;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 80px;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  color: #1e293b;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 20px;
  color: #475569;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: #6366f1;
}

.stat-label {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-image {
  flex: 1;
  position: relative;
  height: 500px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
}

.hero-card {
  position: static;
  background: linear-gradient(135deg, white 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
  overflow: hidden;
  flex: 0 0 40%;
  margin: 20px;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15), 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
}

.hero-card:hover::before {
  opacity: 1;
}

.hero-card .card-icon {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

.hero-card p {
  color: #64748b;
  font-size: 14px;
}

.badge {
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  align-self: flex-start;
}

.badge[data-status="available"] {
  background: #d1fae5;
  color: #059669;
}

.badge[data-status="popular"] {
  background: #dbeafe;
  color: #3b82f6;
}

.badge[data-status="trending"] {
  background: #fef3c7;
  color: #d97706;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  background: white;
  padding: 40px 32px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 16px;
}

.feature-card p {
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
}

/* Popular Skills */
.popular-skills {
  padding: 80px 0;
  background: #f8fafc;
}

.popular-skills .section-header {
  margin-bottom: 60px;
}

.skills-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 20px 0;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.skill-tag {
  background: white;
  padding: 12px 20px;
  border-radius: 100px;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.skill-tag:hover {
  background: #6366f1;
  color: white;
  border-color: #6366f1;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta .btn-primary {
  background: white;
  color: #6366f1;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
}

.cta .btn-primary:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: #1e293b;
  color: white;
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #94a3b8;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: white;
}

.footer-col .logo {
  margin-bottom: 16px;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 32px;
  text-align: center;
  color: #94a3b8;
}

/* Home Page Styles */
.home-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 120px 0 80px;
  text-align: center;
}

.home-hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.home-welcome h1 {
  font-size: 48px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
}

.home-welcome p {
  font-size: 20px;
  color: #64748b;
  margin-bottom: 40px;
}

.quick-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.quick-stat {
  text-align: center;
}

.quick-stat-number {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: #6366f1;
  margin-bottom: 4px;
}

.quick-stat-label {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.home-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.quick-actions {
  padding: 80px 0;
  background: white;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.action-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.action-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.action-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.action-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 12px;
}

.action-card p {
  color: #64748b;
  font-size: 16px;
  margin-bottom: 24px;
}

.ongoing-exchanges {
  padding: 80px 0;
  background: #f8fafc;
}

.exchanges-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.exchange-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.exchange-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.exchange-icon {
  font-size: 40px;
  flex-shrink: 0;
}

.exchange-details h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}

.exchange-details p {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 8px;
}

.exchange-status {
  font-size: 12px;
  color: #059669;
  background: #d1fae5;
  padding: 4px 8px;
  border-radius: 100px;
  font-weight: 500;
}

.exchange-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.request-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.recommended-skills {
  padding: 80px 0;
  background: white;
}

.rec-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.rec-skill-card {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.rec-skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.rec-skill-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.rec-skill-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 12px;
}

.rec-skill-card p {
  color: #64748b;
  font-size: 16px;
  margin-bottom: 24px;
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero {
    height: auto;
    padding: 80px 0 40px;
  }

  .hero .container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .hero-image {
    position: static;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .hero-card {
    flex: 0 0 300px;
    position: relative;
    margin: 0;
    scroll-snap-align: center;
  }

  .card-1, .card-2, .card-3 {
    flex: 0 0 300px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-content {
    color: #1e293b;
  }

  .hero-content .hero-description {
    color: #334155;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .nav-menu,
  .nav-actions {
    display: none;
  }

  .navbar.mobile-menu-open .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    gap: 12px;
  }

  .nav-menu li button {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-container {
    min-height: 70px;
  }

  .mobile-menu-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .section-header h2 {
    font-size: 32px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .skill-tag {
    flex-shrink: 0;
  }

  .cta-content h2 {
    font-size: 32px;
  }

  /* Home Page Responsive */
  .home-hero .container {
    padding: 0 20px;
  }

  .home-welcome h1 {
    font-size: 36px;
  }

  .home-welcome p {
    font-size: 18px;
  }

  .quick-stats {
    flex-direction: column;
    gap: 20px;
  }

  .home-actions {
    flex-direction: column;
    gap: 12px;
  }

  .actions-grid {
    grid-template-columns: 1fr;
  }

  .rec-skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .exchange-item {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

/* Additional Styles for Pages */

/* Browse Page */
.search-bar {
  display: flex;
  gap: 10px;
  max-width: 600px;
  margin-bottom: 20px;
}

.search-bar > * {
  flex: 1;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
}

.search-bar select {
  background: white;
  cursor: pointer;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.skill-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s ease;
}

.skill-card .btn {
  align-self: flex-start;
}

.skill-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.skill-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.skill-icon {
  font-size: 32px;
}

.skill-details h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.skill-teacher {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  vertical-align: middle;
}

.skill-teacher span {
  vertical-align: middle;
  line-height: 1.2;
}

.teacher-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

/* How It Works Page */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 20px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.step:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.step-number {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-item {
  background: white;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.benefit-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.benefit-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.guidelines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.guideline {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.guideline-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.guideline h3 {
  color: #1e293b;
  margin-bottom: 8px;
}

.guideline p {
  color: #64748b;
  font-size: 14px;
  margin: 0;
}

/* Profile Page */
.profile-hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  position: relative;
  overflow: hidden;
}

.profile-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="7.5" cy="7.5" r="7.5"/><circle cx="52.5" cy="7.5" r="7.5"/><circle cx="7.5" cy="52.5" r="7.5"/><circle cx="52.5" cy="52.5" r="7.5"/></g></g></svg>');
  z-index: 0;
}

.profile-hero .container {
  position: relative;
  z-index: 1;
}

.profile-hero .profile-info h1 {
  color: white;
}

.profile-hero .profile-location {
  color: white;
}

.profile-hero .profile-bio {
  color: white;
}

.profile-hero .stat-number {
  color: white;
}

.profile-hero .stat-label {
  color: #e2e8f0;
}

.profile-hero .btn-secondary {
  color: white;
  border-color: white;
}

.profile-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 40px;
  gap: 5%;
}

.profile-stats {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  margin-bottom: 32px;
}

.profile-avatar {
  position: relative;
  flex-shrink: 0;
}

.avatar-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.rating {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 4px 8px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 12px;
  font-weight: 500;
}

.profile-info h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.profile-location {
  font-size: 14px;
  margin-bottom: 8px;
}

.profile-bio {
  font-size: 16px;
  max-width: 500px;
  margin-bottom: 20px;
}

.profile-edit-btn {
  margin-left: auto;
  flex-shrink: 0;
}

.profile-skills {
  padding: 100px 0;
  background: white;
}

.skill-offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.skill-block {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
}

.skill-block:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.skill-icon {
  font-size: 40px;
  flex-shrink: 0;
}

.skill-details h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.skill-level {
  background: #6366f1;
  color: white;
  padding: 4px 8px;
  border-radius: 100px;
  font-size: 12px;
  margin-top: 8px;
  display: inline-block;
}

.skill-want-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.recent-exchanges {
  padding: 80px 0;
  background: #f8fafc;
}

.exchanges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 30px;
}

.exchange-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.exchange-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.exchange-card .btn {
  align-self: flex-start;
}

.exchange-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.partner-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.partner-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.exchange-date {
  font-size: 12px;
  color: #64748b;
}

.exchange-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.activity-feed {
  padding: 80px 0;
  background: white;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.activity-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.activity-content p {
  margin-bottom: 4px;
}

.activity-time {
  font-size: 12px;
  color: #64748b;
}

@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
  }

  .skill-offer-grid,
  .skill-want-grid {
    grid-template-columns: 1fr;
  }

  .exchanges-grid {
    grid-template-columns: 1fr;
  }

  .steps-container {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .guidelines-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 18px;
  }

  .stat-label {
    font-size: 16px;
  }

  .badge {
    font-size: 14px;
  }

  .btn {
    font-size: 16px;
    padding: 14px 20px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .section-header p {
    font-size: 16px;
  }

  .feature-card h3 {
    font-size: 20px;
  }

  .feature-card p {
    font-size: 16px;
  }

  .skill-tag {
    font-size: 16px;
    padding: 14px 24px;
  }

  .container {
    padding: 0 16px;
  }

  .profile-header {
    gap: 20px;
  }

  .profile-info h1 {
    font-size: 28px;
  }

  .profile-location {
    font-size: 16px;
  }

  .profile-bio {
    font-size: 16px;
  }

  .skill-block {
    flex-direction: column;
    text-align: center;
  }

  .exchange-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .exchange-date,
  .activity-time {
    font-size: 14px;
  }

  .rating {
    font-size: 14px;
  }

  .skill-level {
    font-size: 14px;
  }
}
