/* ==========================================================================
   PureSignal Research — component styles
   Ported section-for-section from the original static site to preserve
   full visual fidelity inside the WordPress/WooCommerce build.
   ========================================================================== */

/* ── NAV ── */
nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(13, 31, 60, 0.97);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(255,255,255,0.07);
	padding: 0 2rem;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.nav-logo {
	font-family: 'DM Serif Display', serif;
	font-size: 1.25rem;
	color: var(--white);
	letter-spacing: 0.01em;
	text-decoration: none;
}
.nav-logo span { color: var(--teal-light); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
	color: rgba(255,255,255,0.7);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal-light); }
.nav-cta {
	background: var(--teal);
	color: var(--white) !important;
	padding: 0.4rem 1.1rem;
	border-radius: 6px;
	font-weight: 500 !important;
}
.nav-cta:hover { background: var(--teal-light); color: var(--white) !important; }

/* ── HERO ── */
.hero {
	background: var(--navy);
	color: var(--white);
	padding: 6rem 2rem 5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 540px;
	position: relative;
	overflow: hidden;
}
.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(27,140,114,0.18) 0%, transparent 70%);
	pointer-events: none;
}
.hero-inner { position: relative; max-width: 720px; }
.hero-eyebrow {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--teal-light);
	background: rgba(27,140,114,0.15);
	border: 1px solid rgba(27,140,114,0.3);
	border-radius: 20px;
	padding: 0.3rem 0.9rem;
	margin-bottom: 1.5rem;
}
.hero h1 {
	font-family: 'DM Serif Display', serif;
	font-size: clamp(2.4rem, 5vw, 3.6rem);
	line-height: 1.1;
	color: var(--white);
	margin-bottom: 1.25rem;
	font-weight: 400;
}
.hero h1 em { font-style: italic; color: var(--teal-light); }
.hero p {
	font-size: 1.05rem;
	color: rgba(255,255,255,0.65);
	max-width: 560px;
	margin: 0 auto 2.5rem;
	line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
	background: var(--teal);
	color: var(--white);
	padding: 0.75rem 1.75rem;
	border-radius: 8px;
	font-size: 0.95rem;
	font-weight: 500;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background 0.2s, transform 0.1s;
	display: inline-block;
}
.btn-primary:hover { background: var(--teal-light); transform: translateY(-1px); }
.btn-secondary {
	background: transparent;
	color: rgba(255,255,255,0.8);
	padding: 0.75rem 1.75rem;
	border-radius: 8px;
	font-size: 0.95rem;
	font-weight: 400;
	text-decoration: none;
	border: 1px solid rgba(255,255,255,0.2);
	transition: border-color 0.2s, color 0.2s;
	display: inline-block;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }
.hero-trust {
	margin-top: 3.5rem;
	display: flex;
	justify-content: center;
	gap: 2.5rem;
	flex-wrap: wrap;
}
.trust-item {
	font-size: 0.8rem;
	color: rgba(255,255,255,0.45);
	display: flex;
	align-items: center;
	gap: 0.4rem;
	letter-spacing: 0.02em;
}
.trust-item::before { content: '\2713'; color: var(--teal-light); font-size: 0.7rem; }

/* ── SECTION WRAPPER ── */
section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--teal);
	margin-bottom: 0.75rem;
}
.section-heading {
	font-family: 'DM Serif Display', serif;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 400;
	line-height: 1.2;
	color: var(--navy);
	margin-bottom: 1rem;
}
.section-sub {
	font-size: 1rem;
	color: var(--text-muted);
	max-width: 540px;
	line-height: 1.8;
}

/* ── DISCLAIMER BANNER ── */
.disclaimer-banner {
	background: #FFF8E6;
	border-top: 3px solid #E6A817;
	border-bottom: 1px solid #F0D890;
	padding: 1rem 2rem;
	text-align: center;
	font-size: 0.82rem;
	color: #7A5C00;
	line-height: 1.6;
}
.disclaimer-banner strong { font-weight: 600; }
.disclaimer-banner a { color: #7A5C00; text-decoration: underline; }

/* ── PRODUCTS ── */
#products, .psr-shop-page { background: var(--off-white); }
.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.5rem;
	margin-top: 3rem;
}
.product-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s, transform 0.2s;
}
.product-card:hover {
	box-shadow: 0 8px 30px rgba(13,31,60,0.08);
	transform: translateY(-3px);
}
.product-tag {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.25rem 0.65rem;
	border-radius: 20px;
	margin-bottom: 1rem;
	width: fit-content;
}
.tag-metabolic-sig { background: #E8F5F0; color: #0F6E56; }
.tag-tissue-bio    { background: #E6F0FB; color: #185FA5; }
.tag-mito-sig      { background: #F0EBF8; color: #6B3FA0; }
.tag-ecm           { background: #F0EBF8; color: #6B3FA0; }
.tag-coenzyme      { background: #FFF3E0; color: #8B5E00; }

.product-name {
	font-family: 'DM Serif Display', serif;
	font-size: 1.35rem;
	color: var(--navy);
	font-weight: 400;
	margin-bottom: 0.25rem;
}
.product-alias { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.85rem; }
.product-desc {
	font-size: 0.9rem;
	color: var(--text-muted);
	line-height: 1.7;
	flex: 1;
	margin-bottom: 1.25rem;
}
.product-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid var(--border);
	padding-top: 1rem;
	margin-top: auto;
}
.product-price { font-size: 1.1rem; font-weight: 600; color: var(--navy); }
.product-size { font-size: 0.78rem; color: var(--text-muted); margin-top: 1px; }
.btn-buy {
	background: var(--navy);
	color: var(--white);
	padding: 0.45rem 1rem;
	border-radius: 7px;
	font-size: 0.85rem;
	font-weight: 500;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background 0.2s;
	display: inline-block;
}
.btn-buy:hover { background: var(--navy-light); }

.product-img-wrap {
	width: 100%;
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	border-radius: 10px;
	overflow: hidden;
	background: #F4F7FA;
}
.product-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	border-radius: 10px;
	transition: transform 0.3s ease;
}
.product-card:hover .product-img { transform: scale(1.03); }
.product-img-placeholder { object-fit: contain; padding: 1rem; }

/* ── COMPOUND GUIDES ── */
#research { background: var(--white); }
.guide-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1.25rem;
	margin-top: 3rem;
}
.guide-card {
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 1.4rem 1.5rem;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}
.guide-card:hover { border-color: var(--teal); background: #F7FDFB; }
.guide-card.active { border-color: var(--teal); background: #F0FBF7; }
.guide-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.guide-name { font-weight: 600; font-size: 1rem; color: var(--navy); }
.guide-toggle { font-size: 1.1rem; color: var(--teal); transition: transform 0.2s; }
.guide-card.active .guide-toggle { transform: rotate(45deg); }
.guide-tagline { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0; }
.guide-body {
	display: none;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
}
.guide-card.active .guide-body { display: block; }
.guide-table { width: 100%; font-size: 0.82rem; border-collapse: collapse; }
.guide-table th { text-align: left; color: var(--text-muted); font-weight: 500; padding: 4px 8px 4px 0; border-bottom: 1px solid var(--border); }
.guide-table td { padding: 5px 8px 5px 0; color: var(--text); vertical-align: top; }
.guide-table tr:not(:last-child) td { border-bottom: 1px solid #f0f0f0; }

/* ── HOW IT WORKS ── */
#how { background: var(--navy); color: var(--white); }
#how .section-heading { color: var(--white); }
#how .section-label { color: var(--teal-light); }
#how .section-sub { color: rgba(255,255,255,0.55); }
.steps-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1.5rem;
	margin-top: 3rem;
}
.step-card {
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 12px;
	padding: 1.5rem;
}
.step-num {
	font-family: 'DM Serif Display', serif;
	font-size: 2.5rem;
	color: rgba(27,140,114,0.4);
	line-height: 1;
	margin-bottom: 1rem;
}
.step-title { font-weight: 500; font-size: 1rem; color: var(--white); margin-bottom: 0.5rem; }
.step-desc { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ── EMAIL SIGNUP ── */
#signup { background: var(--teal-pale); }
.signup-box { max-width: 600px; margin: 0 auto; text-align: center; }
.signup-box .section-heading { margin-bottom: 0.75rem; }
.signup-box p { color: var(--text-muted); margin-bottom: 2rem; }
.email-form { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.email-form input[type="email"] {
	flex: 1;
	min-width: 220px;
	padding: 0.7rem 1rem;
	border: 1.5px solid var(--border);
	border-radius: 8px;
	font-size: 0.95rem;
	font-family: 'Inter', sans-serif;
	outline: none;
	transition: border-color 0.2s;
	background: var(--white);
	color: var(--text);
}
.email-form input[type="email"]:focus { border-color: var(--teal); }
.email-form button {
	background: var(--teal);
	color: var(--white);
	padding: 0.7rem 1.5rem;
	border-radius: 8px;
	font-size: 0.95rem;
	font-weight: 500;
	border: none;
	cursor: pointer;
	font-family: 'Inter', sans-serif;
	transition: background 0.2s;
	white-space: nowrap;
}
.email-form button:hover { background: var(--teal-light); }
.signup-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 1rem; }
#signup-confirm { display: none; text-align: center; padding: 1rem; }
#signup-confirm p { color: var(--teal); font-weight: 500; font-size: 1rem; }

/* ── FOOTER ── */
footer {
	background: var(--navy);
	color: rgba(255,255,255,0.4);
	padding: 2.5rem 2rem;
	text-align: center;
	font-size: 0.8rem;
	line-height: 1.9;
}
footer a { color: rgba(255,255,255,0.55); text-decoration: none; }
footer a:hover { color: var(--teal-light); }
.footer-logo {
	font-family: 'DM Serif Display', serif;
	font-size: 1.1rem;
	color: var(--white);
	display: block;
	margin-bottom: 0.5rem;
}
.footer-logo span { color: var(--teal-light); }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin: 1rem 0; }
.footer-address { color: rgba(255,255,255,0.35); font-size: 0.78rem; margin-top: 0.5rem; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
	nav { padding: 0 1rem; }
	.nav-links { display: none; }
	section { padding: 3.5rem 1.25rem; }
	.hero { padding: 4rem 1.25rem 3.5rem; min-height: auto; }
}
