/* ==========================================================================
   SNAPIMAGE STORE & WORKSPACE (Clean, Modern Light Theme)
   ========================================================================== */

:root {
  --store-bg: #f8fafc;
  --card-bg: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --primary-blue: #2563eb;
  --primary-hover: #1d4ed8;
  --border-light: #e2e8f0;
  --border-hover: #cbd5e1;
}

/* Page Wrapper */
.store-wrapper {
  background-color: var(--store-bg);
  min-height: 100vh;
  padding: 110px 20px 80px; /* Accounts for fixed navbar */
}

.store-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.store-header {
  text-align: center;
  margin-bottom: 44px;
}

.header-badge {
  display: inline-block;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  background: #eff6ff;
  color: var(--primary-blue);
  border: 1px solid #bfdbfe;
  margin-bottom: 12px;
}

.store-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.025em;
  margin: 0 0 10px;
}

.store-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Tool Sections */
.tool-section {
  margin-bottom: 48px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.015em;
  margin: 0 0 4px;
}

.section-heading p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

/* Card Grid Layout */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

/* Individual Tool Card */
.tool-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-blue);
  box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.08);
}

/* Featured Card Highlight */
.featured-card {
  border: 1.5px solid #bfdbfe;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

/* Card Top: Icon & Status Badge */
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.tool-icon-wrapper {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

/* Icon Palette */
.accent-blue   { background: #eff6ff; color: #2563eb; }
.accent-purple { background: #f5f3ff; color: #7c3aed; }
.accent-orange { background: #fff7ed; color: #ea580c; }
.accent-green  { background: #f0fdf4; color: #16a34a; }
.accent-red    { background: #fef2f2; color: #dc2626; }
.accent-indigo { background: #eef2ff; color: #4f46e5; }
.accent-teal   { background: #f0fdfa; color: #0d9488; }
.accent-pink   { background: #fdf2f8; color: #db2777; }
.accent-amber  { background: #fffbeb; color: #d97706; }
.accent-gray   { background: #f1f5f9; color: #64748b; }

/* Status Badges */
.status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.badge-new {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.badge-popular {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.badge-soon {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

/* Body Content */
.tool-card .card-body {
  padding: 0;
  margin-bottom: 20px;
}

.tool-card .card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 8px;
}

.tool-card .card-body p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

/* Buttons / Actions */
.tool-card .card-footer {
  padding: 0;
  background: transparent;
  border-top: none;
}

.tool-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none !important;
  background: var(--primary-blue);
  color: #ffffff !important;
  transition: all 0.15s ease;
}

.tool-link:hover {
  background: var(--primary-hover);
  color: #ffffff !important;
}

.tool-link:hover .arrow-icon {
  transform: translateX(4px);
}

.arrow-icon {
  transition: transform 0.15s ease;
}

/* Disabled State for Tools in Development */
.tool-card-disabled {
  opacity: 0.7;
}

.tool-card-disabled:hover {
  transform: none;
  border-color: var(--border-light);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.tool-link.disabled {
  background: #e2e8f0 !important;
  color: #94a3b8 !important;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .store-wrapper {
    padding-top: 90px;
  }
  .store-header h1 {
    font-size: 1.85rem;
  }
}