/* ==========================================================================
   Release Notes / Timeline Styles for LogTimer
   ========================================================================== */
.page-releasenotes {
  background-color: #f7fafc;
  color: #254d70;
  font-family: 'LINE Seed JP', 'Roboto', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Header / Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6, 171, 219, 0.14);
  padding: 16px 0;
}

.header-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0b355e;
  letter-spacing: -0.3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: #254d70;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #06abdb;
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(6, 171, 219, 0.08);
  border: 1px solid rgba(6, 171, 219, 0.25);
  color: #06abdb;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.25s ease;
}

.lang-switch-btn:hover {
  background: #06abdb;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Hero Sub Section */
.releasenotes-main {
  padding-bottom: 80px;
}

.hero-sub-section {
  background: linear-gradient(135deg, #e6f7ff 0%, #f0f9ff 50%, #e8f4fd 100%);
  padding: 50px 24px 45px 24px;
  text-align: center;
  border-bottom: 1px solid rgba(6, 171, 219, 0.12);
  margin-bottom: 50px;
}

.badge-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #06abdb;
  background: rgba(6, 171, 219, 0.12);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.page-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0b355e;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.page-subtitle {
  font-size: 1.05rem;
  color: #4a6572;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Timeline Section */
.timeline-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  width: 3px;
  background: linear-gradient(180deg, #06abdb 0%, rgba(6, 171, 219, 0.2) 100%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -32px;
  top: 24px;
  transform: translateX(-50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ffffff;
  border: 3.5px solid #06abdb;
  box-shadow: 0 0 0 4px rgba(6, 171, 219, 0.15);
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-item.major-release .timeline-marker {
  width: 19px;
  height: 19px;
  border-width: 4px;
  background: #06abdb;
  border-color: #ffffff;
  box-shadow: 0 0 0 5px rgba(6, 171, 219, 0.3);
}

.card-glass {
  background: #ffffff;
  border: 1px solid rgba(6, 171, 219, 0.15);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(6, 171, 219, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-glass:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(6, 171, 219, 0.12);
}

.timeline-item.major-release .card-glass {
  border-color: rgba(6, 171, 219, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, #f7fcff 100%);
}

.version-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.version-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.version-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0b355e;
}

.version-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

.version-badge.major {
  background: linear-gradient(135deg, #06abdb 0%, #0088cc 100%);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(6, 171, 219, 0.3);
}

.version-badge.patch {
  background: rgba(100, 116, 139, 0.1);
  color: #475569;
}

.version-badge.feature {
  background: rgba(6, 171, 219, 0.12);
  color: #0284c7;
}

.version-badge.initial {
  background: #0b355e;
  color: #ffffff;
}

.version-date {
  font-size: 0.88rem;
  color: #94a3b8;
  font-weight: 500;
}

.release-summary-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0b355e;
  margin-bottom: 8px;
}

.release-intro {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 20px;
}

.release-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.release-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
  margin-top: 3px;
  flex-shrink: 0;
}

.feature-tag.new {
  background: #e0f2fe;
  color: #0369a1;
}

.feature-tag.improvement {
  background: #f0fdf4;
  color: #15803d;
}

.feature-tag.fix {
  background: #fef2f2;
  color: #b91c1c;
}

.feature-detail {
  font-size: 0.93rem;
  color: #334155;
}

.feature-detail strong {
  display: block;
  color: #0b355e;
  margin-bottom: 2px;
}

.feature-detail p {
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
}

/* Footer */
.site-footer {
  background: #0b355e;
  color: rgba(255, 255, 255, 0.8);
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 6px;
}

.copyright {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-right a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-right a:hover,
.footer-right a.active {
  color: #06abdb;
}

/* Responsive */
@media all and (max-width: 767px) {
  .hero-sub-section {
    padding: 36px 20px 32px 20px;
    margin-bottom: 32px;
  }
  .page-title {
    font-size: 1.6rem;
    line-height: 1.35;
    padding: 0 8px;
  }
  .page-subtitle {
    font-size: 0.93rem;
    line-height: 1.6;
    padding: 0 10px;
  }
  .timeline-container {
    padding: 0 16px;
  }
  .timeline {
    padding-left: 24px;
  }
  .timeline::before {
    left: 6px;
  }
  .timeline-marker {
    left: -24px;
  }
  .card-glass {
    padding: 20px;
  }
  .release-features-list li {
    flex-direction: column;
    gap: 4px;
  }
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}
