/* ========================================== */
/* DAY 6 - Spacing, Borders, & Hover Effects   */
/* ========================================== */

/* Setup the global page layout */
body {
  background-color: #f8fafc; /* Clean off-white background */
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

/* Style the main container box */
.feature-box {
  background-color: white;
  width: 350px;
  text-align: center;
  border-radius: 12px;
  
  /* 1. BORDERS: Creates a solid outline around our card box */
  border: 3px solid #6366f1; /* 3 pixels thick, solid line, indigo color */
  
  /* 2. PADDING: Adds spacing INSIDE the box (pushes text away from the border) */
  padding: 30px;
  
  /* 3. MARGIN: Adds spacing OUTSIDE the box (pushes other elements away) */
  margin: 20px;
  
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Style the interactive launch button */
.action-btn {
  background-color: #6366f1; /* Solid indigo color */
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  
  /* Add padding to make the button bigger and tap-friendly */
  padding: 12px 24px; 
  margin-top: 15px; 
  cursor: pointer;
  
  /* 4. TRANSITION: Tells the browser to smoothly animate color changes over 0.3 seconds */
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* 5. HOVER EFFECT: This rule activates ONLY when the mouse pointer glides over the button */
.action-btn:hover {
  background-color: #4f46e5; /* Dims to a darker indigo color */
  transform: scale(1.05); /* Secret trick: Slightly grows the button size by 5%! */
}