/* ==========================================================================
   ClassKit Global - Teacher's Space Landing & Preview Stylesheet
   Pure Vanilla CSS | Modern Rich Aesthetic | Decoupled (< 450 lines)
   ========================================================================== */

/* 1. Hero Section */
.ts-hero-section {
  position: relative;
  background: radial-gradient(circle at 50% 20%, #FFFBEB 0%, #FFFFFF 65%, #F8FAFC 100%);
  border-bottom: 1px solid var(--border-light, #E2E8F0);
  padding: 64px 24px 56px;
  text-align: center;
  overflow: hidden;
}

.ts-hero-container {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.ts-pill-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 9999px;
  padding: 6px 16px; font-size: 12px; font-weight: 800; color: #B45309;
  margin-bottom: 20px; box-shadow: 0 2px 8px rgba(245, 158, 11, 0.12);
}
.ts-pill-dot {
  width: 7px; height: 7px; background-color: #F59E0B; border-radius: 50%;
  animation: pulse-gold 2s infinite;
}
@keyframes pulse-gold {
  0%, 100% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
}

.ts-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 42px;
  line-height: 1.18;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.ts-hero-title span.highlight {
  background: linear-gradient(135deg, #E11D48 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ts-hero-desc {
  font-size: 17px;
  line-height: 1.6;
  color: #475569;
  max-width: 700px;
  margin: 0 auto 32px;
}

/* Hero CTA Row */
.ts-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn-vote-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-vote-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.45);
}

.btn-vote-primary.voted {
  background: #059669 !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3) !important;
  cursor: default;
}

.btn-jump-sample {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: #334155;
  font-size: 14.5px;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1.5px solid #CBD5E1;
  text-decoration: none;
  transition: all 0.18s ease;
}

.btn-jump-sample:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  color: #0F172A;
  transform: translateY(-1px);
}

.ts-vote-counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #059669;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 6px 14px;
  border-radius: 9999px;
}

/* 2. 5-Step Magic Section */
.ts-steps-section {
  padding: 64px 24px;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
}

.ts-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.ts-section-badge {
  font-size: 11.5px;
  font-weight: 800;
  color: #E11D48;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
  display: block;
}

.ts-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.ts-section-desc {
  font-size: 15px;
  color: #64748B;
  line-height: 1.55;
  margin: 0;
}

.ts-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.ts-step-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s ease;
}

.ts-step-card:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  transform: translateY(-3px);
}

.ts-step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 900;
  color: #E11D48;
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.ts-step-title {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 8px;
  line-height: 1.3;
}

.ts-step-desc {
  font-size: 12.5px;
  color: #64748B;
  line-height: 1.5;
  margin: 0;
}

.ts-step-tag {
  margin-top: 14px;
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: #EDF2F7;
  color: #475569;
  width: fit-content;
}

/* 3. Showcase Section: Ultra High-Density A4 Sample */
.ts-showcase-section {
  padding: 64px 24px;
  background: #F1F5F9;
  border-bottom: 1px solid #E2E8F0;
}

.ts-canvas-secret-callout {
  max-width: 820px;
  margin: 0 auto 24px;
  background: #FFFBEB;
  border: 1.5px solid #FDE68A;
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.1);
  text-align: left;
}
.callout-pill-tag { font-size: 11px; font-weight: 800; color: #B45309; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.callout-text { font-size: 13.5px; color: #78350F; line-height: 1.55; margin: 0; }


.ts-sample-canvas-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 32px;
  overflow-x: auto;
  padding-bottom: 20px;
}

/* Standardized A4 Preview Canvas */
.sample-a4-paper {
  width: 215.9mm;
  min-height: 279.4mm;
  background: #FFFFFF;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.05);
  border-radius: 4px;
  padding: 12mm 14mm 10mm;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  font-family: 'Inter', sans-serif;
}

/* Sample Report Content Styling */
.sample-report-header {
  border-bottom: 2px solid #0F172A;
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.sample-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
}

.sample-main-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.02em;
  margin: 0;
}

.sample-subtitle {
  font-size: 11.5px;
  color: #64748B;
  margin-top: 3px;
}

/* Stacked 3-Block Sample Report Architecture */
.sample-report-block {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
}

.sample-block-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 6px;
  margin-bottom: 8px;
}

.sample-heading-title {
  font-size: 11.5px;
  font-weight: 800;
  color: #0F172A;
}

.sample-heading-tag {
  font-size: 9.5px;
  font-weight: 800;
  color: #059669;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 2px 7px;
  border-radius: 9999px;
}

/* 1. Analytics Block (Radar + Bars Side-by-Side) */
.sample-analytics-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  align-items: center;
}

.sample-radar-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #F8FAFC;
  border-radius: 6px;
  padding: 4px;
}

.sample-radar-svg-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sample-bars-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.sample-bars-subhead {
  font-size: 10px;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.sample-pillars-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sample-pillar-row {
  display: flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 700;
  color: #334155;
}

.pillar-label {
  width: 130px;
  flex-shrink: 0;
  font-size: 10.5px;
}

.sample-pillar-bar-bg {
  flex: 1;
  height: 7px;
  background: #E2E8F0;
  border-radius: 4px;
  margin: 0 10px;
  overflow: hidden;
}

.sample-pillar-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981 0%, #059669 100%);
  border-radius: 4px;
}

.pillar-val {
  width: 32px;
  text-align: right;
  font-size: 10.5px;
  font-weight: 800;
  color: #0F172A;
}

.sample-pillars-footnote {
  font-size: 9px;
  color: #64748B;
  line-height: 1.35;
  margin-top: 4px;
}

/* 2. Narrative Report Block (Observation & Growth Narrative) */
.sample-narrative-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sample-lead-observation {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-left: 3.5px solid #F59E0B;
  border-radius: 6px;
  padding: 8px 12px;
}
.sample-quote-label {
  font-size: 9.5px;
  font-weight: 800;
  color: #92400E;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}
.sample-quote-text {
  font-size: 11px;
  font-weight: 700;
  color: #78350F;
  line-height: 1.45;
  margin: 0;
  font-style: italic;
}

.sample-narrative-prose {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 9px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sample-prose-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 800;
  color: #0F172A;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 4px;
  margin-bottom: 2px;
}
.sample-period-badge {
  font-size: 8.5px;
  font-weight: 700;
  color: #475569;
  background: #EDF2F7;
  padding: 1.5px 6px;
  border-radius: 4px;
}
.sample-prose-para {
  font-size: 10px;
  color: #334155;
  line-height: 1.45;
  margin: 0;
  text-align: justify;
}

.sample-home-card {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 6px;
  padding: 7px 12px;
}

.sample-home-title {
  font-size: 10.5px;
  font-weight: 800;
  color: #065F46;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.sample-home-desc {
  font-size: 10px;
  color: #047857;
  line-height: 1.4;
  margin: 0;
}

/* 3. Learning Log Block (History & Check-ins) */
.sample-log-table {
  display: flex;
  flex-direction: column;
}

.sample-log-row {
  display: grid;
  grid-template-columns: 55px 155px 95px 1fr 65px;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  border-bottom: 1px solid #F1F5F9;
  font-size: 10.5px;
  color: #334155;
}

.sample-log-row:last-child {
  border-bottom: none;
}

.sample-log-head {
  background: #F8FAFC;
  font-size: 9px;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 4px;
}

.log-col-date .sample-date-badge {
  font-size: 9px;
  font-weight: 800;
  color: #475569;
  background: #F1F5F9;
  padding: 2px 5px;
  border-radius: 4px;
  white-space: nowrap;
}

.log-col-tool {
  font-size: 10.5px;
  color: #0F172A;
}

.ccss-code-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 8.5px;
  font-weight: 700;
  color: #1E293B;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  padding: 1.5px 5px;
  border-radius: 4px;
  white-space: nowrap;
}

.log-col-focus {
  font-size: 9.5px;
  color: #475569;
}

.log-col-mode {
  text-align: right;
}

.log-mode-pill {
  font-size: 8.5px;
  font-weight: 800;
  color: #059669;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 1.5px 5px;
  border-radius: 9999px;
  display: inline-block;
}

.sample-log-footnote {
  font-size: 8.5px;
  color: #64748B;
  line-height: 1.35;
  margin-top: 6px;
  border-top: 1px dashed #E2E8F0;
  padding-top: 4px;
}

/* Sample Footer */
.sample-report-footer {
  border-top: 1px solid #CBD5E1;
  padding-top: 8px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9.5px;
  color: #64748B;
  font-weight: 600;
}

/* 4. Community Vote & Roadmap Section */
/* 4. Community Vote & Roadmap Section */
.ts-vote-section { padding: 64px 24px; background: #FFFFFF; text-align: center; }
.ts-vote-card {
  max-width: 640px;
  margin: 0 auto;
  background: #F8FAFC;
  border: 2px solid #E2E8F0;
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
}
.ts-vote-title { font-family: 'Outfit', sans-serif; font-size: 26px; font-weight: 800; color: #0F172A; margin: 0 0 10px; }
.ts-vote-desc { font-size: 14.5px; color: #64748B; line-height: 1.6; margin: 0 0 24px; }
.ts-feedback-form { display: flex; flex-direction: column; gap: 12px; max-width: 480px; margin: 20px auto 0; text-align: left; }
.ts-feedback-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  box-sizing: border-box;
  outline: none;
  resize: vertical;
}
.ts-feedback-input:focus { border-color: #E11D48; }
.btn-submit-feedback {
  background: #0F172A;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  align-self: flex-end;
  transition: all 0.15s ease;
}
.btn-submit-feedback:hover { background: #334155; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .ts-steps-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .ts-hero-title { font-size: 32px; }
  .ts-steps-grid { grid-template-columns: 1fr; }
  .sample-analytics-layout { grid-template-columns: 1fr; }
}

