/* PodStack front-end styles. Modern, clean, confident - not corporate, not hype. */

:root {
	--ps-ink: #0f1115;
	--ps-ink-soft: #2a2f3a;
	--ps-muted: #5b6472;
	--ps-line: #e7e9ee;
	--ps-bg-soft: #f6f7f9;
	--ps-accent: #2f6bff;
	--ps-accent-ink: #1d4ed8;
	--ps-radius: 14px;
}

#podstack-main {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1.5rem 1.25rem 4rem;
	color: var(--ps-ink);
}
#podstack-main h1, #podstack-main h2, #podstack-main h3 { color: var(--ps-ink); letter-spacing: -0.02em; }

.podstack-breadcrumb { font-size: 0.82rem; color: var(--ps-muted); margin-bottom: 1.25rem; }
.podstack-breadcrumb a { color: var(--ps-muted); text-decoration: none; }
.podstack-breadcrumb a:hover { color: var(--ps-accent); }

/* Buttons */
.podstack-cta {
	display: inline-block; padding: 0.7rem 1.3rem; border-radius: 10px;
	background: var(--ps-accent); color: #fff !important; text-decoration: none;
	font-weight: 600; line-height: 1.2; transition: transform .08s ease, background .15s ease;
}
.podstack-cta:hover { background: var(--ps-accent-ink); transform: translateY(-1px); }
.podstack-cta-ghost { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,.4); }
.podstack-cta-ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- Homepage hero ---------- */
.podstack-hero {
	text-align: center;
	padding: 4rem 1.5rem 3.75rem;
	margin-bottom: 2.5rem;
	border-radius: 22px;
	color: #fff;
	background:
		radial-gradient(1200px 400px at 50% -10%, rgba(47,107,255,.45), transparent 60%),
		linear-gradient(180deg, #161a22 0%, #0f1115 100%);
	box-shadow: 0 24px 60px -28px rgba(15,17,21,.6);
}
.podstack-hero h1 {
	color: #fff !important; font-size: clamp(2.2rem, 5vw, 3.5rem);
	line-height: 1.05; margin: 0 0 1rem; font-weight: 800;
}
.podstack-hero-sub {
	color: rgba(255,255,255,.78); font-size: clamp(1.05rem, 2vw, 1.25rem);
	max-width: 620px; margin: 0 auto 1.75rem; line-height: 1.5;
}
.podstack-hero-cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.podstack-home-section, .podstack-features, .podstack-take, .podstack-proscons,
.podstack-pricing, .podstack-alternatives, .podstack-tool-description, .podstack-category, .podstack-browse { margin: 2.75rem 0; }
.podstack-home-section h2, .podstack-home-about h2 { font-size: 1.6rem; margin: 0 0 1.25rem; }
.podstack-home-section > p > a, .podstack-alternatives p a { color: var(--ps-accent-ink); font-weight: 600; }

/* ---------- Tool cards (grid) ---------- */
.podstack-tool-grid {
	list-style: none; padding: 0; margin: 0;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem;
}
.podstack-tool-card {
	border: 1px solid var(--ps-line); border-radius: var(--ps-radius);
	padding: 1.1rem; background: #fff; transition: box-shadow .15s ease, transform .08s ease, border-color .15s ease;
}
.podstack-tool-card:hover { box-shadow: 0 14px 30px -18px rgba(15,17,21,.35); transform: translateY(-2px); border-color: #d7dbe3; }
.podstack-tool-card a { text-decoration: none; color: inherit; }
.podstack-tool-card h2, .podstack-tool-card h3 { font-size: 1.05rem; margin: 0.65rem 0 0.35rem; }
.podstack-tool-card p { color: var(--ps-muted); font-size: 0.9rem; margin: 0.25rem 0 0.6rem; }
.podstack-tool-card img, .podstack-tool-grid img {
	width: 52px; height: 52px; border-radius: 12px; object-fit: contain;
	background: var(--ps-bg-soft); border: 1px solid var(--ps-line); padding: 6px;
}

/* ---------- Category cards ---------- */
.podstack-category-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.podstack-category-grid li { border: 1px solid var(--ps-line); border-radius: var(--ps-radius); background: #fff; transition: box-shadow .15s ease, transform .08s ease; position: relative; overflow: hidden; }
.podstack-category-grid li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ps-accent); }
.podstack-category-grid li:hover { box-shadow: 0 14px 30px -18px rgba(15,17,21,.35); transform: translateY(-2px); }
.podstack-category-grid a { display: block; padding: 1rem 1.1rem 1rem 1.25rem; text-decoration: none; color: var(--ps-ink); font-weight: 600; }
.podstack-count { color: var(--ps-muted); font-weight: 500; font-size: 0.85rem; }

/* ---------- Tool detail page ---------- */
.podstack-tool-header { display: flex; gap: 1.25rem; align-items: flex-start; margin: 0.5rem 0 2rem; }
.podstack-tool-logo { width: 84px; height: 84px; border-radius: 18px; object-fit: contain; background: #fff; border: 1px solid var(--ps-line); padding: 10px; }
.podstack-tool-header h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: 0; }
.podstack-tagline { font-size: 1.15rem; color: var(--ps-ink-soft); margin: 0.4rem 0 0.6rem; }
.podstack-best-for { font-size: 0.95rem; color: var(--ps-muted); margin: 0 0 0.9rem; }
.podstack-chip { display: inline-block; font-size: 0.74rem; font-weight: 600; padding: 0.22rem 0.7rem; margin: 0 0.4rem 0.5rem 0; border-radius: 999px; background: var(--ps-bg-soft); border: 1px solid var(--ps-line); color: var(--ps-ink-soft); }

.podstack-features { background: var(--ps-bg-soft); border-radius: var(--ps-radius); padding: 1.25rem 1.5rem; }
.podstack-feature-list { columns: 2; column-gap: 2rem; padding-left: 1.1rem; margin: 0.5rem 0 0; }
.podstack-feature-list li { margin-bottom: 0.5rem; }

.podstack-take { background: #fff; border: 1px solid var(--ps-line); border-left: 4px solid var(--ps-accent); padding: 1.1rem 1.4rem; border-radius: 0 var(--ps-radius) var(--ps-radius) 0; }
.podstack-take h2 { margin-top: 0; }

.podstack-proscons { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.podstack-pros, .podstack-cons { flex: 1; min-width: 240px; border: 1px solid var(--ps-line); border-radius: var(--ps-radius); padding: 1rem 1.4rem; }
.podstack-pros h3 { color: #128a5b; margin-top: 0; }
.podstack-cons h3 { color: #c0362c; margin-top: 0; }

.podstack-pricing table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.podstack-pricing th, .podstack-pricing td { text-align: left; padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--ps-line); }
.podstack-pricing th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ps-muted); }

.podstack-alt-list { list-style: none; padding: 0; }
.podstack-alt-item { display: flex; gap: 1.1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--ps-line); }
.podstack-alt-item img { width: 52px; height: 52px; border-radius: 12px; object-fit: contain; background: var(--ps-bg-soft); border: 1px solid var(--ps-line); padding: 6px; }
.podstack-alt-item h2 { font-size: 1.2rem; margin: 0 0 0.3rem; }
.podstack-alt-item a { text-decoration: none; }

.podstack-home-about { margin: 3rem 0 0; max-width: 760px; color: var(--ps-ink-soft); }
.podstack-home-about p { line-height: 1.65; }

@media (max-width: 600px) {
	.podstack-feature-list { columns: 1; }
	.podstack-tool-header { flex-direction: column; }
}
