/* ========================================
   OCFREEDOM — Style Sheet
   White + Black + Green + Red
   Cartoon / Handwritten aesthetic
   ======================================== */

/* --- RESET & BASE --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Nunito', sans-serif;
  color: #1A1A1A;
  background: #FFFFFF;
  overflow-x: hidden;
  min-height: 100vh;
}

.handwritten {
  font-family: 'Caveat', cursive;
}

/* --- PARTICLE CANVAS --- */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
}

/* --- PROGRESS BAR --- */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#progress-bar.visible {
  opacity: 1;
  transform: translateY(0);
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.progress-step span {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #BDBDBD;
  transition: color 0.3s;
}

.progress-step.active span {
  color: #2ECC71;
}

.progress-step.done span {
  color: #1A1A1A;
}

.step-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid #E0E0E0;
  background: #FFF;
  transition: all 0.3s;
}

.progress-step.active .step-dot {
  border-color: #2ECC71;
  background: #2ECC71;
  box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.2);
}

.progress-step.done .step-dot {
  border-color: #1A1A1A;
  background: #1A1A1A;
}

.progress-line {
  width: 60px;
  height: 3px;
  background: #E0E0E0;
  margin: 0 8px;
  margin-bottom: 18px;
  border-radius: 2px;
  transition: background 0.3s;
}

.progress-line.done {
  background: #1A1A1A;
}

/* --- SCREENS --- */
.screen {
  display: none;
  min-height: 100vh;
  padding: 80px 20px 40px;
  position: relative;
}

.screen.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  animation: screenIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.screen > .container {
  margin: auto 0;
}

@keyframes screenIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
}

/* --- BUTTONS --- */
.btn {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  padding: 12px 28px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  transition: opacity 0.25s;
}

.btn:hover::after {
  opacity: 1;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: #2ECC71;
  color: #FFF;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-primary:hover {
  background: #27AE60;
  box-shadow: 0 6px 25px rgba(46, 204, 113, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #1A1A1A;
  border: 2px solid #E0E0E0;
}

.btn-secondary:hover {
  border-color: #1A1A1A;
}

.btn-large {
  font-size: 1.15rem;
  padding: 16px 40px;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.25s;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-add {
  background: #2ECC71;
  color: #FFF;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
}

/* --- LANDING SCREEN --- */
.landing-container {
  text-align: center;
  position: relative;
}

.floating-shapes {
  position: absolute;
  inset: -100px;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}

.shape-1 {
  width: 200px;
  height: 200px;
  background: #2ECC71;
  top: -50px;
  right: -50px;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 150px;
  height: 150px;
  background: #E74C3C;
  bottom: 20%;
  left: -40px;
  animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 100px;
  height: 100px;
  background: #2ECC71;
  top: 40%;
  right: -30px;
  animation: float 7s ease-in-out infinite 2s;
}

.shape-4 {
  width: 80px;
  height: 80px;
  background: #1A1A1A;
  bottom: 10%;
  right: 20%;
  animation: float 9s ease-in-out infinite 1s;
}

.shape-5 {
  width: 120px;
  height: 120px;
  background: #2ECC71;
  top: 10%;
  left: 10%;
  animation: float 11s ease-in-out infinite 3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.logo {
  font-family: 'Caveat', cursive;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  position: relative;
}

.logo-oc {
  color: #E74C3C;
}

.logo-freedom {
  color: #2ECC71;
}

.tagline {
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 32px;
}

.hero-visual {
  margin: 0 auto 32px;
  max-width: 240px;
}

.hero-chains {
  width: 100%;
}

.hero-chains .break-star {
  fill: #2ECC71;
  font-size: 24px;
}

.hero-chains .break-circle {
  animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { r: 22; opacity: 0.4; }
  50% { r: 28; opacity: 0.1; }
}

.chain-left {
  animation: chain-pull-left 3s ease-in-out infinite;
}

.chain-right {
  animation: chain-pull-right 3s ease-in-out infinite;
}

@keyframes chain-pull-left {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-3px); }
}

@keyframes chain-pull-right {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}

.intro-text {
  margin-bottom: 36px;
  line-height: 1.8;
  font-size: 1.05rem;
}

.intro-text p {
  margin-bottom: 8px;
}

.intro-bold {
  font-weight: 800;
  font-size: 1.15rem !important;
}

.landing-sub {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #999;
}

/* --- EDUCATION SCREEN --- */
.edu-container {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 140px);
  margin: 0 !important;
  padding-top: 20px;
}

.edu-card {
  display: none;
  animation: cardIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.edu-card.active {
  display: block;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.edu-emoji {
  font-size: 3.5rem;
  margin-bottom: 12px;
}

.edu-card h2 {
  font-family: 'Caveat', cursive;
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #1A1A1A;
}

.edu-body {
  font-size: 1.1rem;
  line-height: 1.8;
}

.edu-body p {
  margin-bottom: 16px;
}

.edu-highlight {
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  color: #2ECC71;
  font-weight: 700;
  padding: 16px;
  border-left: 4px solid #2ECC71;
  background: rgba(46, 204, 113, 0.06);
  border-radius: 0 12px 12px 0;
  margin-top: 20px;
}

.edu-doodle {
  max-width: 240px;
  margin: 16px auto;
}

.edu-doodle svg {
  width: 100%;
}

.loop-line {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: draw-loop 3s ease-in-out infinite;
}

@keyframes draw-loop {
  0% { stroke-dashoffset: 300; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -300; }
}

/* Alarm bubbles */
.alarm-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.alarm-bubble {
  background: #FFF3F0;
  border: 2px solid #E74C3C;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  padding: 8px 16px;
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  color: #E74C3C;
  animation: shake 4s ease-in-out infinite;
}

.alarm-bubble:nth-child(2) { animation-delay: 0.5s; }
.alarm-bubble:nth-child(3) { animation-delay: 1s; }
.alarm-bubble:nth-child(4) { animation-delay: 1.5s; }

@keyframes shake {
  0%, 90%, 100% { transform: translateX(0); }
  92% { transform: translateX(-3px); }
  94% { transform: translateX(3px); }
  96% { transform: translateX(-2px); }
  98% { transform: translateX(2px); }
}

/* Static/noise box */
.static-box {
  width: 180px;
  height: 120px;
  margin: 16px auto;
  border: 3px solid #666;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background: #1A1A1A;
}

.static-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
  animation: static-flicker 0.15s steps(3) infinite;
}

@keyframes static-flicker {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-5px, 3px); }
  66% { transform: translate(3px, -2px); }
}

.static-label {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  color: #FFF;
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

/* Cycle visual */
.cycle-visual {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 20px 0;
  padding: 20px;
  background: #FFF8F0;
  border-radius: 16px;
  border: 2px dashed #E74C3C;
}

.cycle-step {
  background: #FFF;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.cycle-arrow {
  font-size: 1.2rem;
  color: #E74C3C;
  font-weight: 800;
}

.cycle-arrow-back {
  width: 100%;
  text-align: center;
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  margin-top: 8px;
  color: #E74C3C;
}

/* Key visual */
.key-visual {
  text-align: center;
  font-size: 1.4rem;
  font-family: 'Caveat', cursive;
  margin: 20px 0;
  padding: 16px;
  background: #F0FFF4;
  border-radius: 12px;
}

.key-word {
  text-decoration: line-through;
  color: #E74C3C;
}

.key-free {
  color: #2ECC71;
  font-weight: 700;
  font-size: 1.6rem;
}

/* Education navigation */
.edu-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 32px;
}

.edu-dots {
  display: flex;
  gap: 8px;
}

.edu-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E0E0E0;
  transition: all 0.3s;
}

.edu-dot.active {
  background: #2ECC71;
  transform: scale(1.3);
}

.edu-dot.done {
  background: #1A1A1A;
}

/* --- DUMP SCREEN --- */
.dump-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 !important;
  padding-top: 10px;
  padding-bottom: 40px;
}

.dump-header h2 {
  font-family: 'Caveat', cursive;
  font-size: 2.4rem;
  margin-bottom: 8px;
}

.dump-header p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 4px;
}

.dump-sub {
  font-family: 'Caveat', cursive;
  font-size: 1.15rem;
  color: #2ECC71;
}

.common-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
  margin-bottom: 10px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  background: #FFF;
  border: 2px solid #E8E8E8;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  padding: 6px 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: #555;
}

.pill:hover {
  border-color: #2ECC71;
  color: #2ECC71;
  transform: translateY(-2px);
}

.pill.used {
  background: #F0FFF4;
  border-color: #2ECC71;
  color: #2ECC71;
  opacity: 0.6;
  pointer-events: none;
}

.input-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.thought-field {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid #E0E0E0;
  border-radius: 16px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
  background: #FAFAFA;
}

.thought-field:focus {
  border-color: #2ECC71;
  background: #FFF;
}

.thought-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 60px;
}

.thought-card {
  background: #FFF;
  border: 2px solid #E74C3C;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: cardPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: #E74C3C;
  position: relative;
}

@keyframes cardPop {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.thought-card .remove-thought {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: #CCC;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}

.thought-card .remove-thought:hover {
  color: #E74C3C;
}

.dump-counter {
  text-align: center;
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  color: #999;
}

#thought-count {
  color: #E74C3C;
  font-weight: 700;
  font-size: 1.5rem;
}

.dump-done {
  align-self: center;
  animation: pulse-btn 2s ease-in-out infinite;
}

@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3); }
  50% { box-shadow: 0 4px 30px rgba(46, 204, 113, 0.5); }
}

/* --- MIRROR SCREEN --- */
.mirror-container {
  text-align: center;
  margin: 0 !important;
  padding-top: 10px;
  padding-bottom: 40px;
}

.analyzing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 60px 0;
}

.analyzing-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #E0E0E0;
  border-top-color: #2ECC71;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.analyzing-text {
  font-family: 'Caveat', cursive;
  font-size: 1.4rem;
  color: #999;
}

.mirror-content h2 {
  font-family: 'Caveat', cursive;
  font-size: 2.2rem;
  margin-bottom: 24px;
}

.mirror-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
  animation: fadeUp 0.6s ease;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: 'Caveat', cursive;
  font-size: 3rem;
  font-weight: 700;
  color: #E74C3C;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: #999;
  font-weight: 600;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.mirror-frame {
  position: relative;
  margin: 0 auto 30px;
  max-width: 500px;
}

.mirror-glass {
  background: linear-gradient(135deg, #FAFAFA, #F0F0F0);
  border: 3px solid #BDBDBD;
  border-radius: 20px;
  padding: 24px;
  position: relative;
  box-shadow:
    inset 0 2px 10px rgba(0,0,0,0.05),
    0 8px 30px rgba(0,0,0,0.08);
  min-height: 120px;
  animation: fadeUp 0.8s ease 0.3s both;
}

.mirror-glass::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 15px;
  right: 60%;
  height: 30%;
  background: linear-gradient(135deg, rgba(255,255,255,0.6), transparent);
  border-radius: 10px;
  pointer-events: none;
}

.mirror-thoughts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.mirror-thought {
  background: rgba(231, 76, 60, 0.08);
  border: 1px solid rgba(231, 76, 60, 0.2);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.9rem;
  color: #999;
  font-style: italic;
}

.mirror-label {
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  color: #BDBDBD;
  margin-top: 8px;
  animation: fadeUp 0.8s ease 0.5s both;
}

/* Truth reveal */
.truth-reveal {
  margin: 30px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.truth-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.truth-line {
  width: 60px;
  height: 3px;
  background: #1A1A1A;
  margin: 0 auto 24px;
}

.truth-big {
  font-family: 'Caveat', cursive;
  font-size: 1.8rem;
  color: #666;
  margin-bottom: 8px;
}

.truth-huge {
  font-family: 'Caveat', cursive;
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.truth-ruis {
  color: #E74C3C;
  position: relative;
}

.truth-ruis::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 4px;
  height: 6px;
  background: rgba(231, 76, 60, 0.2);
  border-radius: 3px;
}

.truth-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 12px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.truth-final {
  margin-top: 24px;
  padding: 20px;
  background: #F0FFF4;
  border-radius: 16px;
  border: 2px dashed #2ECC71;
}

.truth-final p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 4px;
}

.truth-final p:last-child {
  font-weight: 700;
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  color: #2ECC71;
}

/* Freedom button */
.btn-freedom {
  background: #2ECC71;
  color: #FFF;
  font-size: 1.3rem;
  font-weight: 800;
  padding: 20px 48px;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  animation: freedom-pulse 2s ease-in-out infinite;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.btn-freedom.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-freedom:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 40px rgba(46, 204, 113, 0.4);
}

@keyframes freedom-pulse {
  0%, 100% {
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.3);
  }
  50% {
    box-shadow: 0 6px 40px rgba(46, 204, 113, 0.5), 0 0 0 8px rgba(46, 204, 113, 0.1);
  }
}

.btn-freedom-icon {
  font-size: 1.5rem;
}

/* --- FREEDOM SCREEN --- */
#screen-freedom {
  padding: 0;
  background: #FFF;
  position: relative;
  overflow: hidden;
}

#screen-freedom.active {
  align-items: stretch;
  overflow: hidden;
}

.dissolution-stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px;
  z-index: 1;
}

.dissolve-card {
  background: rgba(231, 76, 60, 0.08);
  border: 1px solid rgba(231, 76, 60, 0.2);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.9rem;
  color: #E74C3C;
  transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
}

.dissolve-card.dissolving {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(-80px) rotate(var(--rotate, 10deg)) scale(0.3);
}

.white-overlay {
  position: absolute;
  inset: 0;
  background: #FFF;
  z-index: 2;
  opacity: 0;
  transition: opacity 1.5s ease;
  pointer-events: none;
}

.white-overlay.active {
  opacity: 1;
}

.freedom-messages {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 3;
  opacity: 0;
  padding: 60px 20px 80px;
  text-align: center;
  overflow-y: auto;
}

.freedom-messages.visible {
  opacity: 1;
  transition: opacity 1s ease;
}

.freedom-main {
  font-family: 'Caveat', cursive;
  font-size: 4rem;
  color: #2ECC71;
  margin-bottom: 40px;
  opacity: 0;
  transform: scale(0.8);
}

.freedom-main.visible {
  opacity: 1;
  transform: scale(1);
  transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.freedom-sequence {
  max-width: 500px;
}

.freedom-line {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  opacity: 0;
  transform: translateY(10px);
  margin-bottom: 4px;
}

.freedom-line.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

.freedom-bold {
  font-weight: 800;
  font-size: 1.5rem;
  color: #1A1A1A;
  font-family: 'Caveat', cursive;
}

.freedom-huge {
  font-family: 'Caveat', cursive;
  font-size: 2.2rem !important;
  font-weight: 700;
  color: #1A1A1A;
  letter-spacing: -0.5px;
}

.freedom-red {
  color: #E74C3C;
  font-weight: 800;
}

.freedom-green {
  color: #2ECC71;
  font-weight: 800;
  font-family: 'Caveat', cursive;
  font-size: 1.5rem !important;
}

.freedom-sequence-2,
.freedom-sequence-3,
.freedom-sequence-4 {
  margin-top: 12px;
}

.freedom-ritual {
  font-family: 'Caveat', cursive;
  font-size: 1.4rem !important;
  color: #666;
}

.freedom-no-button {
  color: #999;
  font-style: italic;
  font-size: 1rem !important;
}

.freedom-final {
  margin-top: 40px;
  opacity: 0;
  transform: translateY(10px);
}

.freedom-final.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

.freedom-divider {
  width: 40px;
  height: 3px;
  background: #2ECC71;
  margin: 0 auto 24px;
}

.freedom-final p {
  font-size: 1.2rem;
  color: #1A1A1A;
  margin-bottom: 6px;
}

.freedom-live {
  font-family: 'Caveat', cursive;
  font-size: 2.8rem !important;
  color: #2ECC71 !important;
  margin-top: 16px !important;
  animation: gentle-pulse 3s ease-in-out infinite;
}

@keyframes gentle-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
  .logo {
    font-size: 2.8rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

  .edu-card h2 {
    font-size: 1.8rem;
  }

  .edu-emoji {
    font-size: 2.5rem;
  }

  .truth-huge {
    font-size: 2.5rem;
  }

  .freedom-main {
    font-size: 2.8rem;
  }

  .btn-freedom {
    font-size: 1.1rem;
    padding: 16px 32px;
  }

  .mirror-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .cycle-visual {
    padding: 12px;
    gap: 4px;
  }

  .progress-line {
    width: 30px;
  }

  #progress-bar {
    padding: 12px 16px;
  }

  .progress-step span {
    font-size: 0.6rem;
  }
}

/* --- UTILITY ANIMATIONS --- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hide scrollbar but keep scroll */
.screen::-webkit-scrollbar {
  display: none;
}

.screen {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
