/* Base Styles */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f6f7f8;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, #080655, #0f2132);
  color: white;
  margin: 0;
  padding-bottom: 1rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 100;
  position: sticky;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  top: 0;
}

.client-selector {
  margin-top: 1rem;
}

.client-btn {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 0.5rem 1.5rem;
  margin: 0 0.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.client-btn:hover,
.client-btn.active {
  background: white;
  color: #2c3e50;
}

.nav-link {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  margin: 5px;
}

.nav-link:hover {
  background-color: #3498db;
  color: white;
}

/* Main Content Styles */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
  width: 95%;
  overflow-y: auto;
  flex: 1;
}

.client-section {
  display: none;
}

.client-section.active {
  display: block;
}

section {
  background: white;
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

h2 {
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Step Guide Styles */
.step-guide {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.step-number {
  color: #3498db;
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Feature Card Styles */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-card {
  background-color: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.8rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  border-color: #3498db;
}

.feature-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #3498db, #2c3e50);
}

.feature-title {
  color: #2c3e50;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.feature-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: #3498db;
  border-radius: 3px;
}

.feature-card p {
  color: #5a6a7e;
  line-height: 1.7;
  font-size: 1.05rem;
  margin-top: 1rem;
}

/* List Styles */
ul {
  list-style-type: none;
  padding: 0;
}

li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  text-align: left;
  margin-bottom: 0.5rem;
}

li:before {
  content: "•";
  color: #3498db;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Image Styles */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
}

/* Link Styles */
a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #2c3e50;
}

/* Footer Styles */
footer {
  background: linear-gradient(135deg, #080655, #0f2132);
  color: white;
  text-align: center;
  padding: 1.5rem;
  margin-top: auto;
}

/* Responsive Styles */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
  }

  .client-btn {
    margin: 0.25rem;
    padding: 0.4rem 1rem;
  }

  .grid-container {
    grid-template-columns: 1fr;
  }

  section {
    padding: 1.5rem;
  }

  .step-guide {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  .client-selector {
    flex-direction: column;
    align-items: center;
  }

  .client-btn {
    width: 80%;
    margin: 0.25rem 0;
  }

  section {
    padding: 1rem;
  }
}
