/* Page specific styles for no_perfection.html */

/* Hero / Title Area (Redesigned) */
.hero-imperfect {
    position: relative;
    padding: 6rem 2rem 4rem;
    text-align: center;
    margin-bottom: 3rem;
    /* overflow: hidden; */ /* Keep overflow visible for the shape */
}

.imperfect-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0f9ff 100%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    z-index: -1;
    animation: breath-shape 8s ease-in-out infinite alternate;
}

.hero-tag {
    display: inline-block;
    background: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #059669;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}

.hero-imperfect h1 {
    font-family: "Kaisei Opti", serif;
    font-size: 2.8rem;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

@keyframes breath-shape {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Original Title Styles (Removed/Commented) */
/*
.page-title { text-align: left; }
.title-underline { margin: 0; width: 100px; }
*/

/* Marker Highlight */
.marker-yellow {
    background: linear-gradient(transparent 60%, #fef08a 60%);
    color: #1e293b;
}

/* Content Body */
/* Validated against sample.html: Use .content-block in HTML for standard typography */

.gradient-text-sub {
  background: linear-gradient(135deg, #3b82f6, #059669);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

/* Example Box */
.example-box {
  margin: 2.5rem 0;
  padding: 1.5rem;
  background: #f1f5f9;
  border-left: 5px solid #64748b;
  border-radius: 0 8px 8px 0;
}

.example-box p {
  margin: 0;
  font-weight: bold;
  color: #1e293b;
}

/* Visual Concept Area */
.visual-concept {
  margin: 4rem 0;
  text-align: center;
}

.visual-concept h2,
.visual-concept h3,
.visual-concept h4 {
  color: var(--accent-color);
  margin-bottom: 2rem;
}

.logic-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
}

.logic-step {
  background: #fee2e2;
  color: #ef4444;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.logic-arrow {
  color: #94a3b8;
}

/* Solution Section */
.solution-heading {
  margin-top: 3rem;
  color: #059669;
  font-size: 1.3rem;
}

/* Progress Bar Section */
.progress-section {
  margin: 4rem 0;
  text-align: center;
  padding: 2rem;
  background: #ecfdf5;
  border-radius: 20px;
  border: 1px solid #a7f3d0;
}

.progress-title {
  color: #065f46;
  margin-bottom: 1.5rem;
}

.progress-container {
  width: 100%;
  height: 30px;
  background: #d1fae5;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, #10b981, #34d399);
  position: relative;
  animation: progress-slide 2s ease-out;
}

.progress-text {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-weight: bold;
  font-size: 0.9rem;
}

.progress-caption {
  margin-top: 1.5rem;
  color: #065f46;
  font-weight: bold;
}

@keyframes progress-slide {
  from {
    width: 0;
  }
  to {
    width: 60%;
  }
}

/* Summary Highlight */
.summary-highlight {
  margin-top: 4rem;
  padding: 2rem;
  background: #fff7ed;
  border-radius: 12px;
  border: 1px solid #fdba74;
  text-align: center;
}

.summary-highlight .main-message {
  font-size: 1.15rem;
  font-weight: bold;
  color: #9a3412;
}

.summary-highlight .sub-message {
  margin-top: 1rem;
  color: #475569;
}

/* Final Message */
.final-message {
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #1e293b;
  margin-top: 3rem;
}

.back-link-container {
  margin-top: 2rem;
  text-align: center;
}

/* Sidebar Profile */
.profile-img-placeholder {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  aspect-ratio: 1/1;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eee; /* Fallback */
}

.profile-role {
  font-size: 0.9rem;
  color: #64748b;
}
