/* ! Data Create Full Guide Page */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Page Header */
.page-header {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease forwards;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 10px;
  margin-top: 40px;
}

.page-title .highlight {
  background: var(--primary-color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Tab Navigation */
.tab-nav {
  display: flex;
  gap: 10px;
  border-bottom: 3px solid #f0f0f0;
  margin-bottom: 40px;
  overflow-x: auto;
  padding-bottom: 3px;
}

.tab-btn {
  padding: 15px 30px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: "Open Sans", "Noto Sans Thai", "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin-bottom: -3px;
}

.tab-btn:hover {
  color: var(--primary-color);
  background: rgba(209, 29, 35, 0.05);
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  background: rgba(209, 29, 35, 0.08);
}

/* Version Section */
.version-section {
  max-width: 1200px;
  margin-bottom: 2rem;
}

.version-section h3 {
  text-align: center;
  color: var(--text-color);
  font-size: 1.5rem;
}

.version-section .version-title::after {
  position: absolute;
  left: 0;
  right: 0;
  margin: 5px auto;
  content: "";
  display: block;
  border-bottom: 4px solid var(--primary-color);
  border-radius: 100px;
  width: 80px;
  animation: expandWidth 0.8s ease-out 0.3s backwards;
}

.version-description {
  text-align: center;
  color: var(--text-color-secondary);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.version-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.version-card {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 2rem 0;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-color: var(--primary-color);
}

.version-icon img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.version-card h3 {
  color: var(--text-color);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.version-number {
  color: var(--text-color-secondary);
  font-size: 1rem;
}

/* Tab Content */
.size-table {
  background: white;
  border: 20px solid black;
  border-radius: 12px;
  padding: 0;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  overflow: hidden;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.size-table td {
  padding: 16px 25px;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  text-align: center;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.8s ease;
}

/* Section Header */
.section-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.section-header i {
  font-size: 2rem;
  margin-top: 0.2rem;
}

.app-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 0.2rem;
  object-fit: contain;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
}

/* Info Box */
.info-box {
  background: linear-gradient(
    135deg,
    rgba(226, 39, 45, 0.05),
    rgba(209, 29, 35, 0.02)
  );
  border-left: 4px solid var(--primary-color);
  padding: 20px 25px;
  margin-bottom: 40px;
  border-radius: 8px;
}

.info-box p {
  margin: 0;
  color: #333;
  font-size: 1rem;
}

.info-box strong {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.info-box i {
  color: var(--primary-color);
  margin-right: 0.5rem;
  font-size: 1.5rem;
}

/* Steps List */
.steps-list {
  counter-reset: step-counter;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step-item {
  counter-increment: step-counter;
  position: relative;
  padding-left: 70px;
  margin-bottom: 60px;
}

.step-item::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: var(--primary-color-gradient);
  color: var(--text-color-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(209, 29, 35, 0.3);
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
}

.step-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 2rem;
}

.step-content a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease;
}

.step-content a:hover {
  color: var(--primary-color);
  transform: translateX(0.5rem);
}

.step-content i {
  font-size: 1rem;
  text-align: center;
  font-weight: bold;
}

.step-image {
  width: 500px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid #f0f0f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.step-text {
  flex: 1;
  min-width: 0;
}

.step-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.step-text ul {
  margin-left: 20px;
  margin-top: 15px;
}

.step-text li {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 10px;
}

hr {
  margin: 2rem 0;
}

/* ! Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

/* ! Responsive */
@media (max-width: 992px) {
  .page-title {
    font-size: 2rem;
  }

  .section-header {
    gap: 10px;
    justify-content: center;
  }

  .app-icon {
    width: 40px;
    height: 40px;
  }

  .size-title {
    font-size: 1.1rem;
    padding: 16px 20px;
  }

  .size-table td {
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .step-item {
    padding-left: 60px;
  }

  .step-item::before {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .step-title {
    font-size: 1.3rem;
  }

  .step-content {
    flex-direction: column;
    gap: 20px;
  }

  .step-image {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 30px 15px;
  }

  .tab-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .step-item {
    padding-left: 55px;
    margin-bottom: 50px;
  }

  .step-item::before {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .step-image {
    width: 80%;
  }

  .step-text {
    padding-right: 2rem;
  }

  .info-box strong {
    font-size: 1.2rem;
  }

  .info-box i {
    font-size: 1.2rem;
  }
}
