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

:root {
  --green: #2ecc71;
  --yellow: #f1c40f;
  --orange: #e67e22;
  --red: #e74c3c;
  --purple: #9b59b6;
  --blue: #3498db;
  --dark: #1a1a2e;
  --mid: #16213e;
  --card-bg: #ffffff;
  --text: #2d3436;
  --text-light: #636e72;
  --radius: 20px;
  --shadow: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-hover: 0 16px 48px rgba(0,0,0,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: #f5f0ff;
  color: var(--text);
  overflow-x: hidden;
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 2rem;
}

.hero-bg-blobs { position: absolute; inset: 0; pointer-events: none; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}
.blob-1 { width: 420px; height: 420px; background: #9b59b6; top: -100px; left: -120px; animation-delay: 0s; }
.blob-2 { width: 320px; height: 320px; background: #3498db; bottom: -80px; right: -80px; animation-delay: 3s; }
.blob-3 { width: 250px; height: 250px; background: #e74c3c; top: 40%; left: 60%; animation-delay: 6s; }
.blob-4 { width: 500px; height: 300px; background: #9b59b6; top: 0; left: 50%; transform: translateX(-50%); animation-delay: 2s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-family: 'Roboto';
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.btn-start {
  display: inline-block;
  background: linear-gradient(135deg, #9b59b6, #3498db);
  color: #fff;
  text-decoration: none;
  padding: 1rem 2.4rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 24px rgba(155,89,182,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-start:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 8px 36px rgba(155,89,182,0.7); }

.robot-float {
  position: absolute;
  font-size: 6rem;
  bottom: 40px;
  right: 8%;
  animation: bob 3s ease-in-out infinite;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
  z-index: 2;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-18px) rotate(5deg); }
}

/* ===========================
   SCENARIOS SECTION
=========================== */
main#scenarios {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
}

.scenarios-intro {
  text-align: center;
  margin-bottom: 3.5rem;
}
.scenarios-intro h2 {
  font-family: 'Roboto';
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--dark);
  margin-bottom: 0.6rem;
}
.scenarios-intro p {
  font-size: 1.1rem;
  color: var(--text-light);
}

/* CARDS */
.scenario-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid transparent;
}
.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-inner { padding: 2rem 2.2rem 2.2rem; }

.scenario-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.scenario-num {
  font-family: 'Roboto';
  font-size: 1.1rem;
  color: var(--text-light);
}

.scenario-tag {
  display: inline-block;
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag-green  { background: #fef9e7; color: #9a7d0a; }
.tag-yellow { background: #fef9e7; color: #9a7d0a; }
.tag-orange { background: #fef9e7; color: #9a7d0a; }
.tag-red    { background: #fef9e7; color: #9a7d0a; }

/* ===========================
   VISUAL SCENES
=========================== */
.scenario-visual {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.6rem;
}

.visual-scene {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.8rem;
  border-radius: 16px;
  flex-wrap: wrap;
  position: relative;
}

/* Scene 1 */
.scene-1 { background: linear-gradient(135deg, #fef9e7, #fad7a0); }
.scene-desk { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.scene-paper {
  width: 80px; height: 100px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  padding: 0.5rem;
  position: relative;
}
.paper-lines { width: 100%; flex: 1; background: repeating-linear-gradient(transparent, transparent 8px, #e8e8e8 8px, #e8e8e8 9px); }
.paper-check-mark { font-size: 1.8rem; position: absolute; bottom: 4px; right: 6px; }
.scene-tool-badge {
  background: #e67e22; color: white;
  padding: 0.3rem 0.7rem; border-radius: 50px;
  font-size: 0.75rem; font-weight: 800;
}
.acknowledgement-note {
  background: white;
  border-left: 4px solid #e67e22;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Scene 2 */
.scene-2 { background: linear-gradient(135deg, #fef9e7, #fad7a0); }
.outline-block {
  background: white;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 180px;
}
.ai-label { color: #e67e22; font-weight: 800; font-size: 0.8rem; margin-bottom: 0.5rem; }
.ol { font-size: 0.8rem; color: #555; padding: 2px 0; border-bottom: 1px solid #f0f0f0; }
.policy-cloud {
  background: white;
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.policy-cloud small { font-size: 0.72rem; color: #888; font-weight: 700; }

/* Scene 3 */
.scene-3 { background: linear-gradient(135deg, #fef9e7, #fad7a0); }
.draft-flow { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.draft-box {
  padding: 0.7rem 1rem;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.ai-draft { background: #e8e4ff; color: #6c3483; }
.edit-box { background: #fef5c3; color: #8a6d0b; }
.submit-box { background: #d6eaf8; color: #1a5276; }
.arrow-right { font-size: 1.2rem; color: #888; }
.no-ack {
  background: white;
  border-left: 4px solid #e67e22;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

/* Scene 4 */
.scene-4 { background: linear-gradient(135deg, #fef9e7, #fad7a0); }
.robot-writes { display: flex; align-items: center; gap: 1rem; }
.big-robot { font-size: 3.5rem; animation: bob 2s ease-in-out infinite; }
.writing-lines { display: flex; flex-direction: column; gap: 6px; }
.wl {
  width: 100px; height: 10px;
  background: white;
  border-radius: 4px;
  opacity: 0.8;
  animation: expand 1.5s ease-in-out infinite;
}
.wl:nth-child(2) { animation-delay: 0.2s; width: 80px; }
.wl:nth-child(3) { animation-delay: 0.4s; width: 90px; }
.wl:nth-child(4) { animation-delay: 0.6s; width: 70px; }
@keyframes expand { 0%,100%{opacity:0.4} 50%{opacity:1} }
.submit-stamp {
  background: #7d6608;
  color: white;
  border: 3px solid #5d4e08;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-weight: 900;
  font-size: 0.9rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transform: rotate(-8deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Scene 5 */
.scene-5 { background: linear-gradient(135deg, #fef9e7, #fad7a0); }
.mixed-doc {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  width: 200px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.doc-section {
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-bottom: 1px solid #f0f0f0;
}
.student-section { background: #fef9e7; color: #7d6608; }
.ai-section { background: #f4ecff; color: #6c3483; }
.partial-note {
  background: white;
  border-left: 4px solid #e67e22;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Scene 6 */
.scene-6 { background: linear-gradient(135deg, #fef9e7, #fad7a0); }
.bib-scene { display: flex; flex-direction: column; align-items: center; gap: 1rem; width: 100%; max-width: 420px; }
.ai-bib-gen { font-size: 2rem; }
.bib-list {
  background: white;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.bib-entry {
  font-size: 0.78rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.bib-entry:last-child { border-bottom: none; }
.warn { color: #9a7d0a; font-weight: 800; white-space: nowrap; }

/* ===========================
   SCENARIO TEXT
=========================== */
.scenario-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.4rem;
}
.scenario-text strong { color: var(--dark); }

/* ===========================
   QUESTION PROMPT
=========================== */
.plagiarism-question {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 1.2rem;
  padding: 1rem 1.4rem;
  background: #f5f0ff;
  border-radius: 12px;
  border-left: 5px solid #9b59b6;
}
.question-icon { font-size: 1.5rem; }

/* ===========================
   REVEAL SECTION
=========================== */
.btn-reveal {
  background: linear-gradient(135deg, #9b59b6, #3498db);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(155,89,182,0.3);
}
.btn-reveal:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(155,89,182,0.5); }
.btn-reveal:active { transform: scale(0.97); }

.verdict-box {
  margin-top: 1.2rem;
  padding: 1.2rem 1.4rem;
  border-radius: 14px;
  background: #f8f8ff;
  border: 2px solid #e0d7ff;
  animation: fadeInUp 0.4s ease;
}

/* Colored verdict backgrounds — revealed only after click */
.verdict-box:has(.verdict-no)    { background: #eafaf1; border-color: #a9dfbf; }
.verdict-box:has(.verdict-maybe) { background: #fef5e4; border-color: #fad7a0; }
.verdict-box:has(.verdict-yes)   { background: #fdedec; border-color: #f5b7b1; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.verdict-label {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.verdict-no    { color: #1e8449; }
.verdict-maybe { color: #a04000; }
.verdict-yes   { color: #922b21; }

.verdict-box p { font-size: 0.97rem; line-height: 1.7; color: var(--text); }
.verdict-box strong { color: var(--dark); }

/* ===========================
   FOOTER CTA
=========================== */
.footer-cta {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  overflow: hidden;
  padding: 5rem 1.5rem 4rem;
  margin-top: 4rem;
  text-align: center;
}
.cta-blobs { position: absolute; inset: 0; pointer-events: none; }
.cta-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.cta-emoji { font-size: 3rem; margin-bottom: 1rem; }
.footer-cta h2 {
  font-family: 'Roboto';
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: white;
  margin-bottom: 1rem;
}
.footer-cta > .cta-content > p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.footer-cta strong { color: #f1c40f; }

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}
.tip-card {
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 1.4rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  backdrop-filter: blur(8px);
  transition: transform 0.2s, background 0.2s;
}
.tip-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.16); }
.tip-card span { font-size: 1.8rem; }
.tip-card p { color: rgba(255,255,255,0.88); font-size: 0.9rem; line-height: 1.5; font-weight: 600; }

/* ===========================
   SITE FOOTER
=========================== */
.site-footer {
  background: #0d0d1a;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.88rem;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 640px) {
  .card-inner { padding: 1.4rem 1.2rem 1.6rem; }
  .robot-float { font-size: 3.5rem; right: 4%; }
  .draft-flow { flex-direction: column; gap: 0.4rem; }
  .arrow-right { transform: rotate(90deg); }
  .robot-writes { flex-direction: column; text-align: center; }
  .writing-lines .wl { width: 80px; }
}

/* ===========================
   CAROUSEL
=========================== */
.carousel-wrapper {
  position: relative;
  min-height: 520px;
}

.hidden-card { display: none !important; }

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideOutLeft {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-60px); }
}
@keyframes slideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(60px); }
}

.slide-in-right  { animation: slideInRight 0.4s ease forwards; }
.slide-in-left   { animation: slideInLeft  0.4s ease forwards; }
.slide-out-left  { animation: slideOutLeft  0.3s ease forwards; }
.slide-out-right { animation: slideOutRight 0.3s ease forwards; }

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid #9b59b6;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.dot-active {
  background: #9b59b6;
  transform: scale(1.3);
}
.dot:hover { background: #c39bd3; }

/* Nav controls */
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem 0 3rem;
}
.btn-nav {
  background: linear-gradient(135deg, #9b59b6, #3498db);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 4px 16px rgba(155,89,182,0.3);
  min-width: 120px;
}
.btn-nav:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(155,89,182,0.5); }
.btn-nav:disabled { opacity: 0.35; cursor: not-allowed; box-shadow: none; }

.carousel-counter {
  font-family: 'Roboto';
  font-size: 1.1rem;
  color: #9b59b6;
  min-width: 70px;
  text-align: center;
}
