/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #f5f6fa;
  color: #2f2849;
  line-height: 1.5;
}

/* App container */
.app {
  min-width: 1440px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  background: white;
  border-bottom: 1px solid #e3e3ea;
  padding: 8px 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.logo {
  width: 141px;
  height: 39px;
  object-fit: contain;
}

.support-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 6px;
  color: #50516a;
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
}

.headset-icon {
  width: 22px;
  height: 22px;
  color: #50516a;
}

.header-right {
  padding-right: 40px;
}

.avatar {
  width: 38px;
  height: 38px;
  background-color: #e6e9f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-initials {
  font-size: 15px;
  font-weight: 400;
  color: #2f2849;
  line-height: 18px;
}

/* Main content */
.main-content {
  display: flex;
  gap: 24px;
  padding: 24px 40px;
  flex: 1;
  height: calc(100vh - 80px);
}

/* Sidebar */
.sidebar {
  width: 325px;
  background: #251b5b;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 21px 24px;
  width: 100%;
}

.lighthouse-logo {
  width: 234px;
  height: 134px;
  object-fit: contain;
}

.welcome-text {
  text-align: center;
  color: white;
  width: 245px;
}

.welcome-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 42px;
  margin-bottom: 16px;
}

.welcome-subtitle {
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
}

/* Services grid */
.services-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-content: start;
}

/* Service cards */
.service-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0px 8px 12px 0px rgba(0, 0, 0, 0.02);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 36px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0px 12px 20px 0px rgba(0, 0, 0, 0.08);
}

.service-card.full-width {
  grid-column: 1 / -1;
}

.service-icon {
  width: 142px;
  height: 142px;
  object-fit: cover;
  flex-shrink: 0;
}

.service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 38px;
  color: #2f2849;
}

.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(162, 68, 241, 0.08);
  color: #612991;
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  padding: 4px 12px;
  border-radius: 16px;
  display: inline-block;
}

.service-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #a244f1;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0px 2px 6px 0px rgba(85, 68, 241, 0.3);
  height: 38px;
  align-self: flex-start;
}

.service-button:hover:not(:disabled) {
  background: #8a3ad0;
  transform: translateY(-1px);
  box-shadow: 0px 4px 12px 0px rgba(85, 68, 241, 0.4);
}

.service-button:active:not(:disabled) {
  transform: translateY(0);
}

.service-button.disabled,
.service-button:disabled {
  background: #727497;
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.service-button.disabled:hover,
.service-button:disabled:hover {
  transform: none;
  box-shadow: none;
}

.arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.service-button:hover:not(:disabled) .arrow-icon {
  transform: translateX(2px);
}

/* Responsive design */
@media (max-width: 1440px) {
  .app {
    min-width: auto;
  }
  
  .main-content {
    padding: 16px 20px;
  }
  
  .header-content {
    padding: 0 20px;
  }
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card.full-width {
    grid-column: 1;
  }
  
  .sidebar {
    width: 280px;
  }
  
  .lighthouse-logo {
    width: 200px;
    height: 115px;
  }
  
  .welcome-text {
    width: 220px;
  }
}

@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
    gap: 16px;
  }
  
  .sidebar {
    width: 100%;
    padding: 16px;
  }
  
  .sidebar-content {
    flex-direction: row;
    gap: 24px;
    text-align: left;
  }
  
  .lighthouse-logo {
    width: 120px;
    height: 70px;
  }
  
  .welcome-text {
    width: auto;
  }
  
  .welcome-title {
    font-size: 24px;
    line-height: 32px;
  }
  
  .service-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .service-icon {
    width: 100px;
    height: 100px;
  }
}