
lh-style.css
/* ===============================
   BODY & DASHBOARD LAYOUT
=============================== */
body {
  background: #f5f7fa; /* subtle AI SaaS feel */
  margin: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: #1e1e2f;
}

.lh-dashboard {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* ===============================
   HEADER
=============================== */
.lh-dashboard-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.lh-dashboard-header h1 {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.lh-dashboard-header p {
  font-size: 1rem;
  color: #666;
}

/* ===============================
   GRID LAYOUTS
=============================== */
.lh-dashboard-grid {
  display: grid;
  gap: 1.5rem;
}

.lh-grid-top {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-bottom: 2rem;
}

.lh-history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* block-wise cards */
  gap: 1.5rem;
  margin-top: 1rem;
}

/* ===============================
   CARDS
=============================== */
.lh-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #e1e5eb;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.lh-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-color: #cdd3db;
}

.lh-card-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #222;
}

/* ===============================
   SUBSCRIPTION & QUOTA CARDS
=============================== */
.lh-card-subscription {
  border-left: 5px solid #ffb700;
}

.lh-card-quota {
  border-left: 5px solid #21759b;
}

/* ===============================
   BUTTONS
=============================== */
.lh-btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
}

.lh-btn-primary {
  background: #21759b;
  color: #fff;
  border: none;
}

.lh-btn-primary:hover {
  background: #1a4d6b;
}

/* ===============================
   BLUEPRINT HISTORY
=============================== */
.lh-history-card {
  margin-top: 2rem;
}

.lh-history-card p {
  color: #555;
}

/* ===============================
   BLUEPRINT HISTORY - CARDS/TABLE LAYOUT
=============================== */
.lh-history-card {
  margin-top: 2rem;
}

.lh-history-card .lh-history-grid {
  display: grid;
  grid-template-columns: 1fr; /* full width per card */
  gap: 1rem;
}

/* Individual blueprint card */
.lh-history-card .lh-card-history-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #e1e5eb;
  transition: transform 0.2s, box-shadow 0.2s;
}

.lh-history-card .lh-card-history-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* Card Header */
.lh-card-history-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #222;
}

/* Card Details (like description, feedback) */
.lh-card-history-item p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

/* Feedback / Stats Row */
.lh-card-history-item .lh-feedback-summary {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #666;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Optional table-like style inside cards */
.lh-card-history-item .lh-card-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}

.lh-card-history-item .lh-card-table th,
.lh-card-history-item .lh-card-table td {
  text-align: left;
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
  color: #555;
}

.lh-card-history-item .lh-card-table th {
  color: #222;
  font-weight: 600;
}

/* ===============================
   PAGINATION
=============================== */
.lh-pagination {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.lh-pagination a {
  margin: 0 4px;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #555;
  transition: all 0.2s;
}

.lh-pagination a.current {
  background: #21759b;
  color: #fff;
  border-color: #21759b;
}

.lh-pagination a:hover:not(.current) {
  background: #f0f0f0;
}

/* ===============================
   LOADER & BLUEPRINT ANIMATION
=============================== */

/* Loader overlay animation */
#lh-loader {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.95); /* semi-transparent for modern feel */
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-top: 1rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

#lh-loader.active {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

/* Spinner with spin + bounce animation */
#lh-loader .lh-spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #21759b;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite, bounce 1.5s ease-in-out infinite;
  margin-bottom: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Loader status text */
#lh-loader #lh-status-text { 
  font-weight: 600; 
  color: #333; 
  text-align: center;
  margin-top: 6px;
}

/* Smooth blueprint content fade-in */
#lh-blueprint-content {
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 0;
  transform: translateY(20px);
}

#lh-blueprint-content.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Disabled button state */
.lh-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transition: opacity 0.2s ease;
}

/* ===============================
   BLUEPRINT RENDER & FEEDBACK
=============================== */
.lh-blueprint-render { 
  background: #fff; 
  border-radius: 12px; 
  padding: 1.5rem; 
  font-size: 15px; 
  line-height: 1.6; 
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  overflow-x: auto; 
}

.lh-feedback-card { 
  margin-top: 2rem; 
  padding: 1rem; 
  border-radius: 12px; 
  background: #fff; 
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

.lh-feedback-card textarea { 
  width:100%; 
  min-height:80px; 
  padding:0.5rem; 
  border-radius:6px; 
  border:1px solid #ddd; 
  resize:vertical; 
}

.lh-feedback-card .lh-btn { 
  background:#21759b; 
  color:#fff; 
}

.lh-feedback-card .lh-btn:hover { 
  background:#1a4d6b; 
}

/* ===============================
   STAR RATING STYLES
=============================== */

/* Default state of stars (unselected) */
.lh-star {
  font-size: 2rem;  /* Adjust size as needed */
  color: #ccc;  /* Light gray for unselected stars */
  cursor: pointer;
  transition: color 0.3s ease; /* Smooth transition for color change */
}

/* On hover (active state) */
.lh-star.active {
  color: #ffcc00;  /* Gold color when hovering */
}

/* When selected (permanent selected state) */
.lh-star.selected {
  color: #ffcc00;  /* Gold color for selected stars */
}

/* Optional: When you want to show only selected stars in gold, not on hover */
.lh-star.selected:hover {
  color: #ffcc00;
}

/* ===============================
   BLOG CARDS
=============================== */
.lh-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.lh-post-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.lh-post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.lh-post-thumbnail {
  position: relative;
  overflow: hidden;
}

.lh-post-thumbnail img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.lh-post-thumbnail:hover img {
  transform: scale(1.05);
}

.lh-post-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.8rem;
  background: rgba(33,117,155,0.7);
  color: #fff;
  text-align: center;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s;
}

.lh-post-thumbnail:hover .lh-post-overlay {
  opacity: 1;
}

.lh-post-meta {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lh-post-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #222;
}

.lh-post-excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  flex-grow: 1;
}

.lh-post-card footer {
  padding-top: 0.8rem;
}

/* ===============================
   SINGLE POST HERO
=============================== */
.lh-post-hero {
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
}
.lh-hero-img {
  position: relative;
  overflow: hidden;
}
.lh-hero-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.lh-hero-img:hover img {
  transform: scale(1.05);
}
.lh-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1rem 2rem;
  background: rgba(0,0,0,0.5);
  color: #fff;
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Content Layout */
.lh-post-content-wrapper {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.lh-post-content {
  flex: 1 1 60%;
  max-width: 680px;
}
.lh-post-sidebar {
  flex: 1 1 30%;
  min-width: 250px;
}

/* CTA */
.lh-post-cta {
  background: #21759B;
  color: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  margin: 2rem 0;
}
.lh-post-cta h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.lh-post-cta p {
  margin-bottom: 1rem;
}
.lh-post-cta .lh-btn-primary {
  background: #fff;
  color: #21759B;
}

/* AI Assistant */
.lh-ai-assistant {
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 12px;
  margin-top: 2rem;
}
.lh-ai-assistant input {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
}

/* ===============================
   Home Page 
=============================== */

.testimonials-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.testimonials-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #111827;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial {
  display: flex;
  align-items: flex-start;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.avatar {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #dbeafe;
  color: #0366d6;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 16px;
}

.testimonial-content {
  text-align: left;
}

.quote {
  font-size: 1rem;
  color: #1f2937;
  margin: 0 0 8px 0;
}

.meta {
  font-size: 0.875rem;
  color: #6b7280;
}

.verified {
  color: #10b981;
  font-weight: 600;
  margin-left: 6px;
}
