/* ==========================================================================
   JEEVANREPORT.IN — GLOBAL CSS STYLINGS & CORE DESIGN TOKENS
   Theme: Vibrant Indian Gen Z (Instagram meets Meme Page meets Street Poster)
   ========================================================================== */

/* --- Font families & Global resets --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

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

body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
  line-height: 1.75;
}

/* --- Typographical Defaults --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  line-height: 1.15;
}

.font-space {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

.font-caveat {
  font-family: 'Caveat', cursive;
  font-weight: 700;
}

/* ==========================================================================
   COLOR SYSTEMS, GRADIENTS & INTERACTION TOKENS
   ========================================================================== */

:root {
  /* Gradients */
  --primary-gradient: linear-gradient(135deg, #FF6B35, #FF3CAC);
  --secondary-gradient: linear-gradient(135deg, #7B2FFF, #FF3CAC);
  --accent-gradient: linear-gradient(135deg, #FF6B35, #FFD700);
  --success-gradient: linear-gradient(135deg, #00C9A7, #00E5FF);
  --danger-gradient: linear-gradient(135deg, #FF416C, #FF4B2B);

  /* Grade Specific Fills (Result Screen) */
  --grade-a-gradient: linear-gradient(90deg, #00C9A7, #00E5FF);
  --grade-b-gradient: linear-gradient(90deg, #3B82F6, #60A5FA);
  --grade-c-gradient: linear-gradient(90deg, #F59E0B, #FBBF24);
  --grade-d-gradient: linear-gradient(90deg, #F97316, #FB923C);
  --grade-f-gradient: linear-gradient(90deg, #FF416C, #FF4B2B);

  /* Transition speeds */
  --theme-transition: 0.3s ease;
}

/* --- LIGHT MODE VARIABLES --- */
[data-theme="light"] {
  --bg-page: #FFFFFF;
  --bg-section-alt: #FDF7FF;
  --bg-card: #FFFFFF;
  --border-card: #F0E8FF;
  
  --text-primary: #1A0533;
  --text-secondary: #7C5C99;
  --text-muted: #B39DCA;

  --navbar-bg: rgba(255, 255, 255, 0.92);
  --navbar-border: #F0E8FF;
  
  --shadow-card: 0 4px 24px rgba(123, 47, 255, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 12px 40px rgba(255, 107, 53, 0.15), 0 4px 12px rgba(123, 47, 255, 0.1);

  /* Blobs */
  --blob-1-color: #FF6B35;
  --blob-2-color: #7B2FFF;
  --blob-3-color: #FF3CAC;
  --blob-1-opacity: 0.12;
  --blob-2-opacity: 0.10;
  --blob-3-opacity: 0.08;

  /* Score & Card details */
  --track-gray: #F3F4F6;
  --pill-bg: #F3F4F6;
  --selected-indicator-opacity: 0.08;
  --hover-indicator-opacity: 0.05;
}

/* --- DARK MODE VARIABLES --- */
[data-theme="dark"] {
  --bg-page: #08010F;
  --bg-section-alt: #08010F;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border-card: rgba(123, 47, 255, 0.2);
  
  --text-primary: #F5EEFF;
  --text-secondary: #B39DCA;
  --text-muted: #6B5A80;

  --navbar-bg: rgba(8, 1, 15, 0.88);
  --navbar-border: rgba(123, 47, 255, 0.2);

  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(123, 47, 255, 0.1);
  --shadow-card-hover: 0 12px 48px rgba(255, 60, 172, 0.2), 0 0 0 1px rgba(255, 107, 53, 0.3);

  /* Blobs */
  --blob-1-color: #FF6B35;
  --blob-2-color: #7B2FFF;
  --blob-3-color: #FF3CAC;
  --blob-1-opacity: 0.18;
  --blob-2-opacity: 0.15;
  --blob-3-opacity: 0.12;

  /* Glow Effects */
  --glow-orange: 0 0 20px rgba(255, 107, 53, 0.3);
  --glow-purple: 0 0 20px rgba(123, 47, 255, 0.3);
  --glow-pink: 0 0 20px rgba(255, 60, 172, 0.3);

  /* Score & Card details */
  --track-gray: #1A0F2E;
  --pill-bg: #1A0F2E;
  --selected-indicator-opacity: 0.15;
  --hover-indicator-opacity: 0.10;
}

/* ==========================================================================
   GLOBAL INTERACTION BASE STYLING
   ========================================================================== */

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--theme-transition);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: 'Poppins', sans-serif;
  transition: all 0.2s ease;
}

button:active {
  transform: scale(0.96);
}

/* ==========================================================================
   SPECIAL EFFECTS: BLOBS, SHAKES & GLOWS
   ========================================================================== */

.blob-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--blob-1-color) 0%, transparent 70%);
  opacity: var(--blob-1-opacity);
  top: -100px;
  left: -150px;
  animation: float 8s ease-in-out infinite;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--blob-2-color) 0%, transparent 70%);
  opacity: var(--blob-2-opacity);
  top: 50px;
  right: -100px;
  animation: float 10s ease-in-out infinite reverse;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--blob-3-color) 0%, transparent 70%);
  opacity: var(--blob-3-opacity);
  top: 40%;
  left: 40%;
  animation: float 12s ease-in-out infinite;
}

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

/* --- Gradient Text Technique --- */
.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

[data-theme="dark"] .gradient-text {
  /* Subtle glow to text in dark mode */
  text-shadow: 0 0 30px rgba(255, 107, 53, 0.2);
}

/* ==========================================================================
   NAVIGATION BAR & THEME SLIDER PILL
   ========================================================================== */

.navbar {
  height: 68px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: var(--navbar-bg);
  border-bottom: 1px solid var(--navbar-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--theme-transition);
}

.navbar-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-emoji {
  font-size: 24px;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--primary-gradient);
  border-radius: 100px;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

[data-theme="dark"] .nav-link:hover {
  color: #FFFFFF;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* --- Theme Toggle Pill --- */
.theme-toggle-pill {
  width: 56px;
  height: 28px;
  border-radius: 100px;
  position: relative;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  overflow: hidden;
  transition: var(--theme-transition);
}

[data-theme="dark"] .theme-toggle-pill {
  background: #1A0F2E;
  border: 1px solid rgba(123, 47, 255, 0.3);
}

.theme-pill-track {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  position: relative;
}

.theme-pill-icon {
  font-size: 14px;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.theme-pill-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
}

[data-theme="dark"] .theme-pill-slider {
  transform: translateX(28px);
  background: #7B2FFF;
  box-shadow: 0 0 10px rgba(123, 47, 255, 0.6);
}

/* --- Navbar Primary Button --- */
.btn-primary {
  background: var(--primary-gradient);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 14px;
  border: none;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  transform: scale(1.05);
}

[data-theme="light"] .btn-primary:hover {
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.35);
}

[data-theme="dark"] .btn-primary:hover {
  box-shadow: 0 0 24px rgba(255, 60, 172, 0.6);
}

.btn-navbar {
  padding: 10px 20px;
  font-size: 13px;
}

/* --- Mobile Menu & Hamburger --- */
.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 28px;
  justify-content: center;
  z-index: 1002;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 4px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-page);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-link {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav-overlay.active .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger fade in of mobile menu links */
.mobile-nav-overlay.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.active .mobile-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-overlay.active .mobile-link:nth-child(3) { transition-delay: 0.3s; }

.mobile-link:hover {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   MAIN STRUCTURE & VIEWS
   ========================================================================== */

main {
  position: relative;
  z-index: 1;
  margin-top: 68px; /* Navbar spacer */
}

.view-section {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.view-section.active {
  display: block;
}

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

/* ==========================================================================
   HERO SECTION (HOME VIEW)
   ========================================================================== */

.hero-section {
  min-height: calc(100vh - 68px);
  position: relative;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 10;
}

.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 24px;
  animation: pulseGlow 3s infinite;
}

[data-theme="light"] .top-badge {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(255, 60, 172, 0.08));
  border: 1px solid rgba(255, 107, 53, 0.3);
  color: #FF6B35;
  font-weight: 700;
}

[data-theme="dark"] .top-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 107, 53, 0.4);
  color: #FFFFFF;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); }
  50% { box-shadow: 0 0 16px 4px rgba(255, 107, 53, 0.35); }
}

.hero-heading {
  font-size: 72px;
  letter-spacing: -2.5px;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 20px;
  position: relative;
}

.sparkle-emoji {
  display: inline-block;
  animation: bounceEmoji 3s ease-in-out infinite;
  font-size: 40px;
  vertical-align: top;
  margin-left: 4px;
}

@keyframes bounceEmoji {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(15deg); }
}

.hero-subheading {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 32px;
}

.buttons-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-hero-primary {
  padding: 18px 36px;
  font-size: 16px;
}

.btn-secondary {
  font-weight: 700;
  border-radius: 100px;
  padding: 18px 36px;
  font-size: 16px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

[data-theme="light"] .btn-secondary {
  border: 2px solid #1A0533;
  color: #1A0533;
}

[data-theme="light"] .btn-secondary:hover {
  background: #1A0533;
  color: #FFFFFF;
}

[data-theme="dark"] .btn-secondary {
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: #F5EEFF;
}

[data-theme="dark"] .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.trust-strip {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.trust-item {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust-separator {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 16px;
  font-weight: 800;
}

/* --- Floating Report Card Mockup (Right) --- */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  animation: floatMockup 5s ease-in-out infinite;
}

@keyframes floatMockup {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(1deg); }
}

.mockup-card {
  width: 300px;
  border-radius: 24px;
  padding: 28px;
  position: relative;
  z-index: 2;
  transition: var(--theme-transition);
}

[data-theme="light"] .mockup-card {
  background: #FFFFFF;
  box-shadow: 0 24px 64px rgba(123, 47, 255, 0.15), 0 8px 24px rgba(255, 107, 53, 0.1);
  
  /* Gradient Border wrapper trick */
  background-clip: padding-box;
  border: 2px solid transparent;
}

[data-theme="light"] .hero-mockup-wrapper::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(135deg, #FF6B35, #7B2FFF);
  z-index: 1;
  border-radius: 26px;
  pointer-events: none;
}

[data-theme="dark"] .mockup-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 107, 53, 0.3);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 
              0 0 40px rgba(255, 60, 172, 0.1), 
              0 0 80px rgba(123, 47, 255, 0.1);
}

.mockup-header {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.mockup-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.mockup-row-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.category-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.category-grade {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 24px;
}

/* Progress bar system */
.progress-bar-track {
  width: 100%;
  height: 6px;
  background: var(--track-gray);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 100px;
}

.fill-danger {
  background: var(--danger-gradient);
}
[data-theme="dark"] .fill-danger {
  box-shadow: 0 0 8px rgba(255, 65, 108, 0.6);
}

.fill-warning {
  background: var(--accent-gradient);
}
[data-theme="dark"] .fill-warning {
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.fill-success {
  background: var(--success-gradient);
}
[data-theme="dark"] .fill-success {
  box-shadow: 0 0 8px rgba(0, 201, 167, 0.6);
}

.fill-info {
  background: var(--secondary-gradient);
}
[data-theme="dark"] .fill-info {
  box-shadow: 0 0 8px rgba(123, 47, 255, 0.6);
}

.mockup-score-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-card);
}

.score-circle-wrapper {
  position: relative;
  width: 64px;
  height: 64px;
}

.score-circle-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-circle-bg {
  fill: none;
  stroke: var(--track-gray);
  stroke-width: 8;
}

.score-circle-progress {
  fill: none;
  stroke: url(#accent-grad-svg); /* Fallback to standard orange pink */
  stroke: #FF6B35;
  stroke-width: 8;
  stroke-linecap: round;
}

.score-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  color: var(--text-primary);
}

.mockup-footer-verdict {
  display: flex;
  flex-direction: column;
}

.muted-title {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 700;
}

.footer-grade-letter {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 32px;
  margin-top: -4px;
}

/* Floating Sticker Tags */
.sticker {
  position: absolute;
  padding: 6px 12px;
  border-radius: 100px;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  z-index: 10;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.tag-danger {
  background: var(--danger-gradient);
  top: -20px;
  right: -20px;
  transform: rotate(10deg);
  animation: bounceSticker1 3s ease-in-out infinite;
}

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

.tag-success {
  background: var(--success-gradient);
  bottom: -15px;
  left: -20px;
  transform: rotate(-10deg);
  animation: bounceSticker2 3s ease-in-out infinite 1.5s;
}

@keyframes bounceSticker2 {
  0%, 100% { transform: rotate(-10deg) translateY(0); }
  50% { transform: rotate(-15deg) translateY(-8px); }
}

/* ==========================================================================
   REPORT CARDS GALLERY SECTION (HOME VIEW)
   ========================================================================== */

.reports-section {
  padding: 100px 0;
  background-color: var(--bg-section-alt);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 44px;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

/* --- Report Card Styling (Gen Z) --- */
.report-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
              border-color 0.3s ease, 
              box-shadow 0.3s ease;
}

[data-theme="light"] .report-card {
  background: #FFFFFF;
  border: 1px solid #F0E8FF;
  box-shadow: var(--shadow-card);
}

[data-theme="dark"] .report-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.report-card-top-strip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
}

.card-badge-pill {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 100px;
}

[data-theme="light"] .card-badge-pill {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .card-badge-pill {
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

.report-card-emoji {
  font-size: 52px;
  margin-bottom: 24px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.report-card-title {
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.report-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* CTA buttons inside cards */
.btn-card-cta {
  width: 100%;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s ease;
  text-align: center;
  display: block;
}

/* Dynamic styling for each card hovers based on CSS Custom Vars loaded via JS */
.report-card:hover {
  transform: translateY(-8px);
}

/* Active touch states for mobile */
.report-card:active {
  transform: translateY(-4px) scale(0.98);
}

/* ==========================================================================
   HOW IT WORKS & STEP SYSTEM (HOME VIEW)
   ========================================================================== */

.how-it-works {
  padding: 100px 0;
  background-color: var(--bg-page);
  position: relative;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  margin-top: 40px;
}

/* Dotted gradient connection line for desktop */
.steps-container::before {
  content: '';
  position: absolute;
  top: 100px;
  left: 10%;
  right: 10%;
  height: 2px;
  border-top: 2px dashed #B39DCA;
  opacity: 0.5;
  z-index: 1;
}

[data-theme="dark"] .steps-container::before {
  border-top: 2px dashed rgba(123, 47, 255, 0.3);
}

.step-card {
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-number {
  font-size: 100px;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: -30px;
  pointer-events: none;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: var(--theme-transition);
}

[data-theme="light"] .step-number {
  opacity: 0.07;
}

[data-theme="dark"] .step-number {
  opacity: 0.12;
}

.step-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.accent-primary {
  background: var(--primary-gradient);
}
[data-theme="dark"] .accent-primary {
  box-shadow: 0 0 16px rgba(255, 107, 53, 0.4);
}

.accent-secondary {
  background: var(--secondary-gradient);
}
[data-theme="dark"] .accent-secondary {
  box-shadow: 0 0 16px rgba(123, 47, 255, 0.4);
}

.accent-gold {
  background: var(--accent-gradient);
}
[data-theme="dark"] .accent-gold {
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.3);
}

.step-emoji {
  font-size: 24px;
}

.step-title {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 280px;
}

/* ==========================================================================
   STATS STRIP (HOME VIEW)
   ========================================================================== */

.stats-section {
  padding: 60px 0;
  transition: var(--theme-transition);
}

[data-theme="light"] .stats-section {
  background: linear-gradient(135deg, #FF6B35 0%, #FF3CAC 50%, #7B2FFF 100%);
  color: #FFFFFF;
}

[data-theme="dark"] .stats-section {
  background: linear-gradient(135deg, #1A0F2E 0%, #0D0818 100%);
  border-top: 1px solid rgba(255, 60, 172, 0.15);
  border-bottom: 1px solid rgba(255, 60, 172, 0.15);
}

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

.stat-item {
  flex: 1;
  text-align: center;
  min-width: 200px;
}

.stat-number {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}

[data-theme="light"] .stat-number {
  color: #FFFFFF;
}

[data-theme="dark"] .stat-number {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
}

[data-theme="light"] .stat-label {
  color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .stat-label {
  color: #B39DCA;
}

.stat-separator {
  width: 1px;
  height: 60px;
}

[data-theme="light"] .stat-separator {
  background: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .stat-separator {
  background: linear-gradient(to bottom, transparent, rgba(255, 60, 172, 0.3), transparent);
}

/* ==========================================================================
   QUESTION ACTIVE SCREEN
   ========================================================================== */

.quiz-container {
  max-width: 680px;
  margin: 40px auto 80px auto;
  padding: 0 20px;
  z-index: 10;
  position: relative;
}

.quiz-progress-wrapper {
  margin-bottom: 32px;
}

.progress-bar-track-large {
  width: 100%;
  height: 8px;
  background: var(--track-gray);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-bar-fill-large {
  height: 100%;
  border-radius: 100px;
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.progress-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.question-number-text {
  font-size: 13px;
  font-weight: 700;
}

.randomization-badge {
  background: var(--pill-bg);
  color: var(--text-secondary);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 500;
}

/* --- Question Card Layout --- */
.question-card {
  position: relative;
  border-radius: 24px;
  padding: 48px;
  overflow: hidden;
  transition: var(--theme-transition);
}

[data-theme="light"] .question-card {
  background: #FFFFFF;
  border: 1px solid #F0E8FF;
  box-shadow: var(--shadow-card);
}

[data-theme="dark"] .question-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(123, 47, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

/* Faint Watermark */
.watermark-emoji {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 200px;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: var(--theme-transition);
}

[data-theme="light"] .watermark-emoji {
  opacity: 0.03;
}

[data-theme="dark"] .watermark-emoji {
  opacity: 0.05;
}

/* Card Elements */
.question-category-tag {
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.question-title {
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.question-subtext-funny {
  font-size: 13px;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

[data-theme="light"] .question-subtext-funny {
  color: #B39DCA;
}

[data-theme="dark"] .question-subtext-funny {
  color: #6B5A80;
}

/* --- Answer Option Buttons --- */
.answers-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}

.answer-option {
  width: 100%;
  padding: 16px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  text-align: left;
  position: relative;
  transition: all 0.2s ease;
}

[data-theme="light"] .answer-option {
  background: #FFFFFF;
  border: 1.5px solid #F0E8FF;
  color: var(--text-primary);
}

[data-theme="dark"] .answer-option {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-primary);
}

/* Indicators */
.answer-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 16px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.answer-text {
  font-size: 15px;
  font-weight: 500;
  flex-grow: 1;
}

.answer-check {
  font-size: 14px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Hover/Active states on option grids dynamically based on report color */
.answer-option:hover {
  transform: translateX(4px);
}

/* Custom selected rules applied dynamically in Javascript via setting custom element property bounds */
.answer-option.selected {
  font-weight: 600;
}

/* Standard default action controls inside quiz */
.quiz-actions {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}

.btn-quiz-next {
  width: 100%;
  height: 52px;
  font-size: 16px;
  padding: 0 32px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s ease;
}

.btn-quiz-next.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ==========================================================================
   RESULT SCREEN
   ========================================================================== */

.result-container {
  max-width: 640px;
  margin: 40px auto 80px auto;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

/* --- F-Grade Tooltip Moment --- */
.f-grade-tooltip {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  z-index: 100;
  background: var(--danger-gradient);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(255, 65, 108, 0.4);
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.f-grade-tooltip.active {
  transform: translateX(-50%) scale(1);
  animation: bounceSticker1 2s ease-in-out infinite;
}

/* Core Shake for the results card */
.shake-element {
  animation: shakeAction 0.5s ease-in-out;
}

@keyframes shakeAction {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-6px); }
  20%, 40%, 60%, 80% { transform: translateX(6px); }
}

/* Screen Flash triggers */
.screen-flash-danger {
  animation: redFlash 0.6s ease-out;
}

@keyframes redFlash {
  0% { background-color: rgba(255, 65, 108, 0.25); }
  100% { background-color: transparent; }
}

/* --- Card Outer Border Tricks --- */
.result-card-outer {
  border-radius: 26px;
  padding: 2px;
  margin-bottom: 20px;
  transition: var(--theme-transition);
}

[data-theme="light"] .result-card-outer {
  background: var(--primary-gradient);
  box-shadow: 0 24px 64px rgba(123, 47, 255, 0.12), 0 8px 24px rgba(255, 107, 53, 0.08);
}

[data-theme="dark"] .result-card-outer {
  background: var(--primary-gradient);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 
              0 0 60px rgba(255, 60, 172, 0.08), 
              0 0 100px rgba(123, 47, 255, 0.06);
}

.result-card-inner {
  border-radius: 24px;
  padding: 36px;
  width: 100%;
}

[data-theme="light"] .result-card-inner {
  background: #FFFFFF;
}

[data-theme="dark"] .result-card-inner {
  background: #110920;
}

/* Card Header */
.result-card-header .brand {
  font-size: 12px;
  letter-spacing: 1px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.header-main {
  display: flex;
  gap: 20px;
  align-items: center;
}

.result-card-emoji-container {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--pill-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-card-emoji {
  font-size: 40px;
}

.result-title-group h2 {
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.result-date {
  font-size: 12px;
  color: var(--text-muted);
}

.card-divider {
  height: 2px;
  background: var(--primary-gradient);
  opacity: 0.3;
  margin: 28px 0;
}

/* --- Grade Rows (Calculated Grades) --- */
.result-grade-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.result-row {
  opacity: 0;
  transform: translateY(15px);
}

.result-row.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.result-row-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.result-row-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.result-row-grade {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  transition: text-shadow 0.3s ease;
}

[data-theme="dark"] .result-row-grade {
  text-shadow: 0 0 10px currentColor;
}

.progress-bar-track-large-result {
  width: 100%;
  height: 10px;
  background: var(--track-gray);
  border-radius: 100px;
  overflow: hidden;
}

.progress-bar-fill-large-result {
  width: 0;
  height: 100%;
  border-radius: 100px;
  transition: width 1.2s cubic-bezier(0.1, 0.8, 0.2, 1);
}

/* Grade Specific Color Classes */
.text-grade-a { color: #00E5FF; }
.text-grade-b { color: #3B82F6; }
.text-grade-c { color: #FBBF24; }
.text-grade-d { color: #FB923C; }
.text-grade-f { color: #FF416C; }

/* --- Summary Layouts --- */
.result-summary-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
}

.summary-circle-container {
  display: flex;
  justify-content: center;
}

.result-score-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
}

[data-theme="light"] .result-score-circle {
  /* Dynamic gradient border wrapper tricks */
  background: white padding-box, var(--primary-gradient) border-box;
  border: 4px solid transparent;
}

[data-theme="dark"] .result-score-circle {
  border: 4px solid transparent;
}

.result-score-circle .score-value {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
}

.result-score-circle .score-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* --- Verdict Box --- */
.verdict-box {
  border-radius: 16px;
  padding: 20px;
  transition: var(--theme-transition);
}

[data-theme="light"] .verdict-box {
  background: rgba(255, 107, 53, 0.06);
  border: 1px solid rgba(255, 107, 53, 0.2);
}

[data-theme="dark"] .verdict-box {
  background: rgba(255, 60, 172, 0.08);
  border: 1px solid rgba(255, 60, 172, 0.3);
  box-shadow: inset 0 0 20px rgba(255, 60, 172, 0.05);
}

.verdict-label {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.verdict-title {
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.verdict-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* --- Teacher handwritten remark box --- */
.teacher-remark-box {
  transform: rotate(-1.5deg);
  border-radius: 12px;
  padding: 20px;
  transition: var(--theme-transition);
}

[data-theme="light"] .teacher-remark-box {
  background: #FFFBEB;
  border: 1.5px solid #FDE68A;
}

[data-theme="dark"] .teacher-remark-box {
  background: #1A1400;
  border: 1.5px solid #3D2E00;
  box-shadow: 0 0 20px rgba(253, 230, 138, 0.05);
}

.remark-header {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.remark-content {
  font-size: 19px;
  line-height: 1.6;
}

[data-theme="light"] .remark-content {
  color: #1C1917;
}

[data-theme="dark"] .remark-content {
  color: #FEF3C7;
}

.result-bottom-notice {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin: 16px 0 28px 0;
}

/* --- Result Actions Grid --- */
.result-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}

.btn-action {
  height: 52px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  border: none;
}

.btn-share-image {
  background: var(--primary-gradient);
  color: #FFFFFF;
}

[data-theme="dark"] .btn-share-image {
  box-shadow: 0 0 24px rgba(255, 60, 172, 0.4);
}

.btn-share-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #FFFFFF;
}

[data-theme="dark"] .btn-share-whatsapp {
  box-shadow: 0 0 24px rgba(37, 211, 102, 0.4);
}

.btn-copy-link {
  background: transparent;
}

[data-theme="light"] .btn-copy-link {
  border: 1.5px solid #E5E7EB;
  color: #1A0533;
}

[data-theme="light"] .btn-copy-link:hover {
  background: #F9FAFB;
  border-color: #D1D5DB;
}

[data-theme="dark"] .btn-copy-link {
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

[data-theme="dark"] .btn-copy-link:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-try-again {
  background: transparent;
}

[data-theme="light"] .btn-try-again {
  /* Dynamic gradient border wrapper tricks */
  background: white padding-box, var(--primary-gradient) border-box;
  border: 1.5px solid transparent;
  color: #FF6B35;
}

[data-theme="dark"] .btn-try-again {
  background: #08010F padding-box, var(--primary-gradient) border-box;
  border: 1.5px solid transparent;
  color: #FFFFFF;
  box-shadow: 0 0 16px rgba(255, 107, 53, 0.2);
}

/* --- More Reports Teaser Card (Below) --- */
.more-reports-teaser {
  text-align: center;
  border-top: 1px dashed var(--border-card);
  padding-top: 60px;
}

.teaser-title {
  font-size: 28px;
  margin-bottom: 32px;
}

.teaser-cards-scroll-container {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 20px;
  margin-bottom: 24px;
  /* Scrollbar styling for pure horizontal sliders on mobile */
  scrollbar-width: thin;
  scrollbar-color: var(--border-card) transparent;
}

.teaser-cards-scroll-container::-webkit-scrollbar {
  height: 6px;
}

.teaser-cards-scroll-container::-webkit-scrollbar-track {
  background: transparent;
}

.teaser-cards-scroll-container::-webkit-scrollbar-thumb {
  background-color: var(--border-card);
  border-radius: 100px;
}

.teaser-grid {
  display: flex;
  gap: 20px;
  /* Fixed width child sizing allows fluid horizontal layout scrolls */
}

.teaser-grid .report-card {
  width: 280px;
  flex-shrink: 0;
  text-align: left;
  padding: 24px;
}

.teaser-grid .report-card-emoji {
  font-size: 40px;
  margin-bottom: 16px;
}

.teaser-grid .report-card-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.teaser-grid .report-card-desc {
  font-size: 13px;
  margin-bottom: 20px;
}

.teaser-pill-badge {
  background: var(--pill-bg);
  color: var(--text-secondary);
  font-size: 12px;
  padding: 6px 16px;
  border-radius: 100px;
  display: inline-block;
  font-weight: 600;
}

/* ==========================================================================
   MAIN FOOTER
   ========================================================================== */

.main-footer {
  position: relative;
  z-index: 10;
  transition: var(--theme-transition);
}

[data-theme="light"] .main-footer {
  background: #1A0533;
  color: #FFFFFF;
}

[data-theme="dark"] .main-footer {
  background: #04000A;
  border-top: 1px solid rgba(123, 47, 255, 0.2);
  color: #F5EEFF;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 28px 24px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  margin-bottom: 40px;
}

.footer-tagline {
  font-size: 14px;
  max-width: 500px;
}

[data-theme="light"] .footer-tagline {
  color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .footer-tagline {
  color: #B39DCA;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 500;
}

[data-theme="light"] .footer-links a {
  color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .footer-links a {
  color: #B39DCA;
}

.footer-links a:hover {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-bottom-border {
  height: 1px;
  width: 100%;
  background: var(--primary-gradient);
  opacity: 0.35;
  margin-bottom: 24px;
}

.footer-bottom-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

[data-theme="light"] .footer-bottom-text {
  color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .footer-bottom-text {
  color: #6B5A80;
}

.footer-bottom-text .signature {
  font-weight: 600;
}

/* ==========================================================================
   SCROLL REVEAL CLASSSES
   ========================================================================== */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE LAYOUTS & DEVICE OVERRIDES
   ========================================================================== */

@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-heading {
    font-size: 52px;
  }
  
  .hero-subheading {
    margin-left: auto;
    margin-right: auto;
  }
  
  .buttons-row {
    justify-content: center;
  }
  
  .trust-strip {
    justify-content: center;
  }
  
  .steps-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .steps-container::before {
    display: none; /* Hide desktop dashed connector */
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .nav-links {
    display: none; /* Hide on mobile to show overlay hamburger */
  }
  
  .hamburger-menu {
    display: flex;
  }
  
  .hero-heading {
    font-size: 40px;
    letter-spacing: -1.5px;
  }
  
  .sparkle-emoji {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .question-card {
    padding: 32px 24px;
  }
  
  .question-title {
    font-size: 20px;
  }
  
  .result-card-inner {
    padding: 24px;
  }
  
  .result-summary-row {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  
  .result-actions-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom-text {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: 34px;
  }
  
  .btn-primary, .btn-secondary, .btn-action {
    width: 100%;
  }
  
  .answers-grid {
    gap: 12px;
  }
  
  .answer-option {
    padding: 14px 16px;
  }
}

/* ==========================================================================
   NAME COLLECTION SCREEN STYLES
   ========================================================================== */

.name-card {
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

#name-input {
  width: 100%;
  height: 56px;
  border-radius: 100px;
  padding: 0 24px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

[data-theme="light"] #name-input {
  background: #F8F9FA;
  border: 2px solid #F0E8FF;
  color: #1A0533;
}

[data-theme="light"] #name-input:focus {
  border-color: #FF6B35;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px #FF6B35;
}

[data-theme="dark"] #name-input {
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(123, 47, 255, 0.2);
  color: #F5EEFF;
}

[data-theme="dark"] #name-input:focus {
  border-color: #FF6B35;
  box-shadow: 0 0 16px rgba(255, 107, 53, 0.2);
}

/* Submit Button & Skip Anchor Styling */
#name-submit-btn {
  width: 100%;
  height: 52px;
  font-size: 16px;
  transition: all 0.25s ease;
}

#name-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

#name-submit-btn:not(:disabled):hover {
  transform: scale(1.03);
}

[data-theme="dark"] #name-submit-btn:not(:disabled):hover {
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
}

.skip-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.skip-link:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

/* Shake input animation if submitted empty */
.input-shake {
  animation: inputShake 0.4s ease-in-out;
}

@keyframes inputShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

/* Exit slide out transitions for screens */
.exit-slide-out {
  opacity: 0 !important;
  transform: translateY(-20px) !important;
  transition: opacity 0.3s ease, transform 0.3s ease !important;
}

