/* ================================================
   TOOLS SECTION — Shared Styles
   studio.sourcesmayvary.com/tools/
   ================================================ */

/* ── Hub: page header ── */
.tools-hero {
  padding: 7rem 2rem 3rem;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.tools-hero .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.tools-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.tools-hero p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* ── Hub: platform grid ── */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
}

.platform-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
  box-shadow: var(--shadow);
}

.platform-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--accent);
}

.platform-card .platform-icon {
  font-size: 2rem;
  line-height: 1;
}

.platform-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.platform-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
  flex: 1;
}

.platform-card .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.platform-card .product-count {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
}

.platform-card .card-arrow {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

/* ── Platform page: header ── */
.platform-hero {
  padding: 7rem 2rem 3rem;
  max-width: 760px;
  margin: 0 auto;
}

.platform-hero .breadcrumb {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.platform-hero .breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.platform-hero .breadcrumb a:hover {
  text-decoration: underline;
}

.platform-hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.platform-hero-icon {
  font-size: 3rem;
  line-height: 1;
  flex-shrink: 0;
}

.platform-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.platform-hero p {
  font-size: 1rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.7;
}

/* ── Platform page: product sections ── */
.products-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem 5rem;
}

.products-section + .products-section {
  padding-top: 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.section-label h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.tier-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
}

.tier-badge.free {
  background: var(--pastel-mint);
  color: #1a7a52;
}

.tier-badge.paid {
  background: var(--pastel-lavender);
  color: var(--accent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* ── Product card ── */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.product-card.coming-soon {
  opacity: 0.82;
}

.product-card.coming-soon::after {
  content: 'Coming Soon';
  position: absolute;
  top: 14px;
  right: -22px;
  background: var(--accent);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 2rem;
  transform: rotate(35deg);
}

.product-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  padding-right: 2rem;
}

.product-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
  flex: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.25rem;
}

.product-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.product-price.free {
  color: #1a7a52;
}

.coming-soon-label {
  font-size: 0.78rem;
  color: var(--text-light);
  font-style: italic;
}

/* ── Notify strip ── */
.notify-strip {
  background: var(--accent-light);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.notify-strip p {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0;
  font-weight: 500;
}

.notify-strip a {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.notify-strip a:hover {
  text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .tools-hero h1 { font-size: 1.8rem; }
  .platform-hero h1 { font-size: 1.6rem; }
  .platform-hero-inner { flex-direction: column; gap: 0.75rem; }
  .platform-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .notify-strip { flex-direction: column; align-items: flex-start; }
}
