/*
Theme Name: DBH Tools
Theme URI: https://globalonlinedeals.shop/
Author: Digital Brand Hive
Author URI: https://globalonlinedeals.shop/
Description: A premium dark-and-gold theme built for the DBH AI Tools directory — a stunning tools hub homepage, elegant tool pages, and full styling for the DBH AI Tools plugin.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dbh-tools
*/

/* ============================================================
   DBH Tools — design tokens
   ============================================================ */
:root {
	--dbh-accent: #d4af37;
	--dbh-accent-deep: #b8942b;
	--dbh-accent-soft: rgba(212, 175, 55, 0.12);
	--dbh-bg: #0b0b0e;
	--dbh-bg-2: #101014;
	--dbh-panel: #141419;
	--dbh-panel-2: #1a1a21;
	--dbh-border: #26262f;
	--dbh-text: #f4f2ea;
	--dbh-muted: #a8a5a0;
	--dbh-muted-2: #6f6d68;
	--dbh-radius: 16px;
	--dbh-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--dbh-font-head: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--dbh-shadow-gold: 0 12px 32px rgba(212, 175, 55, 0.14);
	--dbh-shadow-gold-lg: 0 20px 60px rgba(212, 175, 55, 0.22);
}

/* ============================================================
   Base
   ============================================================ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--dbh-bg);
	color: var(--dbh-text);
	font-family: var(--dbh-font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--dbh-accent);
	text-decoration: none;
}

a:hover {
	color: #e8c85a;
}

img {
	max-width: 100%;
	height: auto;
}

h1, h2, h3, h4 {
	line-height: 1.25;
	margin-top: 0;
	color: #fff;
	letter-spacing: -0.01em;
	font-family: var(--dbh-font-head);
}

p {
	margin-top: 0;
}

::selection {
	background: rgba(212, 175, 55, 0.35);
	color: #fff;
}

.dbh-wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.dbh-narrow {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* Screen-reader text */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* ============================================================
   Header
   ============================================================ */
.dbh-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(11, 11, 14, 0.82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--dbh-border);
}

.dbh-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	height: 72px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.dbh-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: #fff;
	font-weight: 800;
	font-size: 1.25rem;
	letter-spacing: -0.01em;
}

.dbh-brand:hover {
	color: #fff;
}

.dbh-brand-mark {
	width: 40px;
	height: 40px;
	border-radius: 11px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--dbh-accent), var(--dbh-accent-deep));
	color: #141414;
	font-weight: 900;
	font-size: 1.15rem;
	box-shadow: var(--dbh-shadow-gold);
	flex: 0 0 auto;
}

.dbh-brand-mark svg {
	width: 22px;
	height: 22px;
}

.dbh-brand small {
	display: block;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--dbh-accent);
	line-height: 1;
	margin-top: 2px;
}

/* v1.1 — proper logo: bundled mark image + wordmark */
.dbh-brand-logo {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	flex: 0 0 auto;
	box-shadow: var(--dbh-shadow-gold);
	transition: transform 0.25s ease;
}

a.dbh-brand:hover .dbh-brand-logo {
	transform: rotate(-6deg) scale(1.05);
}

.dbh-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.dbh-brand-name {
	font-family: var(--dbh-font-head);
	font-weight: 800;
	font-size: 1.3rem;
	letter-spacing: -0.02em;
	color: #fff;
}

.dbh-brand-name .gold {
	background: linear-gradient(120deg, #f3d97b, var(--dbh-accent) 60%, #a8842a);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.dbh-nav {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.dbh-nav a {
	color: var(--dbh-muted);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.55rem 0.95rem;
	border-radius: 9px;
	transition: color 0.18s ease, background 0.18s ease;
}

.dbh-nav a:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.05);
}

.dbh-nav .current-menu-item > a,
.dbh-nav .current_page_item > a {
	color: var(--dbh-accent);
}

.dbh-header-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: linear-gradient(135deg, var(--dbh-accent), var(--dbh-accent-deep));
	color: #141414 !important;
	font-weight: 700;
	font-size: 0.95rem;
	padding: 0.65rem 1.4rem;
	border-radius: 10px;
	transition: transform 0.15s ease, box-shadow 0.2s ease;
	white-space: nowrap;
}

.dbh-header-cta:hover {
	color: #141414 !important;
	transform: translateY(-1px);
	box-shadow: var(--dbh-shadow-gold);
}

.dbh-menu-toggle {
	display: none;
	background: none;
	border: 1px solid var(--dbh-border);
	border-radius: 9px;
	color: var(--dbh-text);
	padding: 0.55rem 0.7rem;
	cursor: pointer;
}

.dbh-menu-toggle svg {
	width: 20px;
	height: 20px;
	display: block;
}

/* ============================================================
   Hero (front page)
   ============================================================ */
.dbh-hero {
	position: relative;
	overflow: hidden;
	padding: 5.5rem 0 4.5rem;
	text-align: center;
	background:
		radial-gradient(720px 340px at 15% 0%, rgba(212, 175, 55, 0.10), transparent 60%),
		radial-gradient(640px 320px at 88% 12%, rgba(212, 175, 55, 0.07), transparent 60%),
		radial-gradient(900px 500px at 50% 110%, rgba(212, 175, 55, 0.05), transparent 60%),
		var(--dbh-bg);
}

.dbh-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 26px 26px;
	mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent);
	-webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent);
}

.dbh-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 820px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.dbh-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--dbh-accent);
	border: 1px solid rgba(212, 175, 55, 0.45);
	background: var(--dbh-accent-soft);
	border-radius: 999px;
	padding: 0.45rem 1.1rem;
	margin-bottom: 1.5rem;
}

.dbh-badge .dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--dbh-accent);
	box-shadow: 0 0 10px var(--dbh-accent);
	animation: dbh-pulse 2s ease-in-out infinite;
}

@keyframes dbh-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.35; }
}

.dbh-hero h1 {
	font-size: clamp(2.3rem, 5.5vw, 3.9rem);
	font-weight: 800;
	margin: 0 0 1.1rem;
}

.dbh-hero h1 .gold {
	background: linear-gradient(120deg, #f3d97b, var(--dbh-accent) 55%, #a8842a);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.dbh-hero-sub {
	font-size: 1.12rem;
	color: var(--dbh-muted);
	max-width: 620px;
	margin: 0 auto 2.2rem;
}

/* Search */
.dbh-search {
	position: relative;
	max-width: 560px;
	margin: 0 auto 1.6rem;
}

.dbh-search svg {
	position: absolute;
	left: 1.15rem;
	top: 50%;
	transform: translateY(-50%);
	width: 19px;
	height: 19px;
	color: var(--dbh-muted-2);
	pointer-events: none;
}

.dbh-search input {
	width: 100%;
	background: var(--dbh-panel);
	border: 1px solid var(--dbh-border);
	border-radius: 14px;
	color: var(--dbh-text);
	font-size: 1.02rem;
	font-family: inherit;
	padding: 1rem 1.2rem 1rem 3.1rem;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.dbh-search input::placeholder {
	color: var(--dbh-muted-2);
}

.dbh-search input:focus {
	outline: none;
	border-color: var(--dbh-accent);
	box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16);
}

.dbh-search-count {
	font-size: 0.85rem;
	color: var(--dbh-muted-2);
	margin-top: 0.6rem;
	min-height: 1.3em;
}

/* Category pills */
.dbh-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
	margin-bottom: 0.5rem;
}

.dbh-pill {
	background: var(--dbh-panel);
	border: 1px solid var(--dbh-border);
	color: var(--dbh-muted);
	font-size: 0.88rem;
	font-weight: 600;
	font-family: inherit;
	border-radius: 999px;
	padding: 0.5rem 1.15rem;
	cursor: pointer;
	transition: all 0.18s ease;
}

.dbh-pill:hover {
	color: #fff;
	border-color: rgba(212, 175, 55, 0.5);
}

.dbh-pill.active {
	background: var(--dbh-accent);
	border-color: var(--dbh-accent);
	color: #141414;
}

/* ============================================================
   Tools grid
   ============================================================ */
.dbh-section {
	padding: 4rem 0;
}

.dbh-section-head {
	text-align: center;
	max-width: 680px;
	margin: 0 auto 2.75rem;
}

.dbh-eyebrow {
	display: inline-block;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--dbh-accent);
	margin-bottom: 0.9rem;
}

.dbh-section-head h2 {
	font-size: clamp(1.7rem, 3.4vw, 2.5rem);
	font-weight: 800;
	margin: 0 0 0.8rem;
}

.dbh-section-head p {
	color: var(--dbh-muted);
	margin: 0;
}

.dbh-tools-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.dbh-tool-card {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	background: var(--dbh-panel);
	border: 1px solid var(--dbh-border);
	border-radius: var(--dbh-radius);
	padding: 1.7rem 1.6rem;
	color: var(--dbh-text);
	position: relative;
	overflow: hidden;
	transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.dbh-tool-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--dbh-accent), transparent);
	opacity: 0;
	transition: opacity 0.22s ease;
}

.dbh-tool-card:hover {
	transform: translateY(-5px);
	border-color: rgba(212, 175, 55, 0.55);
	box-shadow: var(--dbh-shadow-gold);
	text-decoration: none;
	color: var(--dbh-text);
}

.dbh-tool-card:hover::before {
	opacity: 1;
}

.dbh-tool-card.is-hidden {
	display: none;
}

.dbh-tool-icon {
	width: 50px;
	height: 50px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 13px;
	background: var(--dbh-accent-soft);
	border: 1px solid rgba(212, 175, 55, 0.35);
	color: var(--dbh-accent);
	margin-bottom: 0.4rem;
}

.dbh-tool-icon svg {
	width: 25px;
	height: 25px;
}

.dbh-tool-cat {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--dbh-accent);
}

.dbh-tool-card h3 {
	font-size: 1.08rem;
	font-weight: 700;
	margin: 0;
	color: #fff;
	line-height: 1.4;
}

.dbh-tool-card p {
	font-size: 0.93rem;
	color: var(--dbh-muted);
	margin: 0;
	flex: 1;
}

.dbh-tool-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--dbh-accent);
	margin-top: 0.4rem;
}

.dbh-tool-link svg {
	width: 15px;
	height: 15px;
	transition: transform 0.18s ease;
}

.dbh-tool-card:hover .dbh-tool-link svg {
	transform: translateX(4px);
}

.dbh-no-results {
	display: none;
	text-align: center;
	padding: 3.5rem 1.5rem;
	color: var(--dbh-muted);
	border: 1px dashed var(--dbh-border);
	border-radius: var(--dbh-radius);
	grid-column: 1 / -1;
}

.dbh-no-results.show {
	display: block;
}

.dbh-no-results h3 {
	color: #fff;
	margin-bottom: 0.5rem;
}

/* ============================================================
   Stats strip
   ============================================================ */
.dbh-stats {
	background: linear-gradient(180deg, var(--dbh-bg-2), var(--dbh-bg));
	border-top: 1px solid var(--dbh-border);
	border-bottom: 1px solid var(--dbh-border);
}

.dbh-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	padding: 2.75rem 0;
	text-align: center;
}

.dbh-stat-num {
	font-size: 2.4rem;
	font-weight: 800;
	color: var(--dbh-accent);
	line-height: 1.1;
}

.dbh-stat-label {
	font-size: 0.9rem;
	color: var(--dbh-muted);
	margin-top: 0.35rem;
}

/* ============================================================
   How it works
   ============================================================ */
.dbh-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	counter-reset: dbh-step;
}

.dbh-step {
	background: var(--dbh-panel);
	border: 1px solid var(--dbh-border);
	border-radius: var(--dbh-radius);
	padding: 2rem 1.75rem;
	position: relative;
}

.dbh-step-num {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--dbh-accent), var(--dbh-accent-deep));
	color: #141414;
	font-weight: 800;
	font-size: 1.15rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.1rem;
	box-shadow: var(--dbh-shadow-gold);
}

.dbh-step h3 {
	font-size: 1.12rem;
	margin: 0 0 0.6rem;
}

.dbh-step p {
	color: var(--dbh-muted);
	font-size: 0.95rem;
	margin: 0;
}

/* ============================================================
   Category sections
   ============================================================ */
.dbh-cat-section {
	margin-bottom: 3rem;
}

.dbh-cat-section:last-child {
	margin-bottom: 0;
}

.dbh-cat-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.4rem;
	border-bottom: 1px solid var(--dbh-border);
	padding-bottom: 0.9rem;
}

.dbh-cat-head h3 {
	font-size: 1.3rem;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.dbh-cat-head h3 .count {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--dbh-accent);
	background: var(--dbh-accent-soft);
	border: 1px solid rgba(212, 175, 55, 0.35);
	border-radius: 999px;
	padding: 0.15rem 0.7rem;
}

.dbh-cat-head a {
	font-size: 0.9rem;
	font-weight: 600;
	white-space: nowrap;
}

/* ============================================================
   FAQ
   ============================================================ */
.dbh-faq {
	max-width: 780px;
	margin: 0 auto;
}

.dbh-faq-item {
	background: var(--dbh-panel);
	border: 1px solid var(--dbh-border);
	border-radius: 13px;
	margin-bottom: 0.8rem;
	overflow: hidden;
	transition: border-color 0.2s ease;
}

.dbh-faq-item.open {
	border-color: rgba(212, 175, 55, 0.5);
}

.dbh-faq-q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	background: none;
	border: none;
	color: #fff;
	font-family: inherit;
	font-size: 1.02rem;
	font-weight: 700;
	text-align: left;
	padding: 1.2rem 1.4rem;
	cursor: pointer;
}

.dbh-faq-q .chev {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--dbh-accent-soft);
	border: 1px solid rgba(212, 175, 55, 0.4);
	color: var(--dbh-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.25s ease;
}

.dbh-faq-q .chev svg {
	width: 14px;
	height: 14px;
}

.dbh-faq-item.open .chev {
	transform: rotate(180deg);
}

.dbh-faq-a {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.dbh-faq-a-inner {
	padding: 0 1.4rem 1.35rem;
	color: var(--dbh-muted);
	font-size: 0.96rem;
}

/* ============================================================
   CTA band
   ============================================================ */
.dbh-cta {
	position: relative;
	overflow: hidden;
	border-radius: 22px;
	border: 1px solid rgba(212, 175, 55, 0.4);
	background:
		radial-gradient(600px 280px at 50% -20%, rgba(212, 175, 55, 0.16), transparent 65%),
		var(--dbh-panel);
	padding: 3.75rem 2rem;
	text-align: center;
	margin: 1rem 0 0;
}

.dbh-cta h2 {
	font-size: clamp(1.6rem, 3.4vw, 2.4rem);
	margin: 0 0 0.8rem;
}

.dbh-cta p {
	color: var(--dbh-muted);
	max-width: 540px;
	margin: 0 auto 1.8rem;
}

.dbh-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	background: linear-gradient(135deg, var(--dbh-accent), var(--dbh-accent-deep));
	color: #141414;
	font-weight: 700;
	font-size: 1.02rem;
	padding: 0.95rem 2.4rem;
	border-radius: 12px;
	border: none;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.dbh-btn:hover {
	color: #141414;
	transform: translateY(-2px);
	box-shadow: var(--dbh-shadow-gold);
}

.dbh-btn svg {
	width: 17px;
	height: 17px;
}

/* ============================================================
   Page / post content
   ============================================================ */
.dbh-page-hero {
	padding: 3.25rem 0 1rem;
	text-align: center;
}

.dbh-page-hero h1 {
	font-size: clamp(1.8rem, 4vw, 2.7rem);
	font-weight: 800;
	margin: 0 0 0.6rem;
}

.dbh-back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--dbh-muted);
	margin-bottom: 1.5rem;
}

.dbh-back-link:hover {
	color: var(--dbh-accent);
}

.dbh-back-link svg {
	width: 15px;
	height: 15px;
}

.dbh-content {
	padding: 1rem 0 4.5rem;
}

.dbh-content > *:first-child {
	margin-top: 0;
}

/* Make the plugin's tool pages sit beautifully in the theme container */
.dbh-ai-tool {
	color: var(--dbh-text);
}

/* WordPress core alignments */
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Comments */
.dbh-comments {
	margin-top: 3rem;
	border-top: 1px solid var(--dbh-border);
	padding-top: 2rem;
}

/* ============================================================
   404
   ============================================================ */
.dbh-404 {
	text-align: center;
	padding: 6rem 1.5rem;
}

.dbh-404-code {
	font-size: clamp(4rem, 12vw, 8rem);
	font-weight: 900;
	line-height: 1;
	background: linear-gradient(120deg, #f3d97b, var(--dbh-accent) 55%, #a8842a);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.dbh-404 h1 {
	font-size: 1.8rem;
	margin: 1rem 0 0.75rem;
}

.dbh-404 p {
	color: var(--dbh-muted);
	max-width: 460px;
	margin: 0 auto 2rem;
}

/* ============================================================
   Footer
   ============================================================ */
.dbh-footer {
	background: #08080a;
	border-top: 1px solid var(--dbh-border);
	margin-top: 2rem;
}

.dbh-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 2.5rem;
	padding: 3.5rem 0 2.5rem;
}

.dbh-footer h4 {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--dbh-accent);
	margin: 0 0 1.1rem;
}

.dbh-footer-about p {
	color: var(--dbh-muted);
	font-size: 0.94rem;
	max-width: 340px;
}

.dbh-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dbh-footer-links li {
	margin-bottom: 0.55rem;
}

.dbh-footer-links a {
	color: var(--dbh-muted);
	font-size: 0.94rem;
	transition: color 0.16s ease;
}

.dbh-footer-links a:hover {
	color: var(--dbh-accent);
}

.dbh-footer-bottom {
	border-top: 1px solid var(--dbh-border);
	padding: 1.35rem 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	font-size: 0.87rem;
	color: var(--dbh-muted-2);
}

.dbh-footer-bottom .made {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.dbh-footer-bottom .made svg {
	width: 14px;
	height: 14px;
	color: var(--dbh-accent);
}

/* ============================================================
   Scroll reveal animations
   ============================================================ */
.reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
	.dbh-tools-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.dbh-stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.dbh-steps {
		grid-template-columns: 1fr;
		max-width: 560px;
		margin: 0 auto;
	}

	.dbh-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 760px) {
	.dbh-nav,
	.dbh-header .dbh-header-cta {
		display: none;
	}

	.dbh-menu-toggle {
		display: inline-flex;
	}

	.dbh-header-inner {
		height: 64px;
	}

	/* Mobile dropdown nav */
	.dbh-nav.mobile-open {
		display: flex;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		background: #0e0e12;
		border-bottom: 1px solid var(--dbh-border);
		padding: 0.75rem 1.25rem 1.25rem;
		gap: 0.15rem;
	}

	.dbh-nav.mobile-open a {
		padding: 0.8rem 0.6rem;
	}
}

@media (max-width: 620px) {
	.dbh-tools-grid {
		grid-template-columns: 1fr;
	}

	.dbh-hero {
		padding: 4rem 0 3.5rem;
	}

	.dbh-section {
		padding: 3rem 0;
	}

	.dbh-footer-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.dbh-cat-head {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ============================================================
   v1.1 — Cinematic hero, image cards, featured strip,
   testimonials, motion
   ============================================================ */

/* ---------- Header shrink on scroll ---------- */
.dbh-header-inner {
	transition: height 0.28s ease;
}

.dbh-header.scrolled {
	background: rgba(11, 11, 14, 0.94);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.dbh-header.scrolled .dbh-header-inner {
	height: 58px;
}

/* ---------- Cinematic hero ---------- */
.dbh-hero-v2 {
	padding: 7.5rem 0 6.5rem;
	background: var(--dbh-bg);
}

.dbh-hero-v2 .dbh-hero-bg {
	position: absolute;
	inset: 0;
	background-image: var(--dbh-hero-bg);
	background-size: cover;
	background-position: center 32%;
	opacity: 0.5;
	pointer-events: none;
	animation: dbh-hero-drift 24s ease-in-out infinite alternate;
}

@keyframes dbh-hero-drift {
	from { transform: scale(1); }
	to { transform: scale(1.07); }
}

.dbh-hero-v2 .dbh-hero-shade {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(to bottom, rgba(11, 11, 14, 0.62) 0%, rgba(11, 11, 14, 0.28) 42%, var(--dbh-bg) 97%),
		radial-gradient(720px 340px at 15% 0%, rgba(212, 175, 55, 0.14), transparent 60%);
}

.dbh-hero-v2::after {
	display: none;
}

.dbh-hero-v2 .dbh-hero-inner {
	max-width: 900px;
}

/* Animated gradient headline */
.dbh-hero-title .gold {
	background: linear-gradient(110deg, #f7e08a, var(--dbh-accent) 35%, #fff2c4 50%, var(--dbh-accent) 65%, #f7e08a);
	background-size: 220% auto;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: dbh-gold-flow 6s linear infinite;
}

@keyframes dbh-gold-flow {
	to { background-position: 220% center; }
}

/* Floating glass chips under the pills */
.dbh-hero-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.7rem;
	margin-top: 1.8rem;
}

.dbh-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--dbh-text);
	background: rgba(20, 20, 25, 0.55);
	border: 1px solid rgba(212, 175, 55, 0.28);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 999px;
	padding: 0.5rem 1.05rem;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.dbh-chip .dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--dbh-accent);
	box-shadow: 0 0 8px var(--dbh-accent);
}

/* ---------- Featured tools strip ---------- */
.dbh-featured {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.dbh-featured-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	background: linear-gradient(160deg, #191921 0%, #121218 100%);
	border: 1px solid rgba(212, 175, 55, 0.32);
	border-radius: 20px;
	padding: 1.9rem 1.7rem;
	color: var(--dbh-text);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.dbh-featured-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--dbh-accent), #f3d97b, var(--dbh-accent));
	opacity: 0.9;
}

.dbh-featured-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--dbh-shadow-gold-lg);
	border-color: rgba(212, 175, 55, 0.6);
	color: var(--dbh-text);
}

.dbh-featured-tag {
	align-self: flex-start;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #141414;
	background: linear-gradient(135deg, var(--dbh-accent), #f3d97b);
	border-radius: 999px;
	padding: 0.28rem 0.8rem;
}

.dbh-featured-card h3 {
	font-size: 1.25rem;
	margin: 0;
}

.dbh-featured-card p {
	color: var(--dbh-muted);
	font-size: 0.95rem;
	margin: 0;
	flex: 1;
}

/* ---------- Category image cards ---------- */
.dbh-cat-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.dbh-cat-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 250px;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid var(--dbh-border);
	color: #fff;
	transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.dbh-cat-card:hover {
	transform: translateY(-7px);
	box-shadow: var(--dbh-shadow-gold-lg);
	border-color: rgba(212, 175, 55, 0.55);
	color: #fff;
}

.dbh-cat-card .dbh-cat-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 0.5s ease;
}

.dbh-cat-card:hover .dbh-cat-bg {
	transform: scale(1.07);
}

.dbh-cat-card .dbh-cat-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(4, 4, 7, 0.94) 22%, rgba(4, 4, 7, 0.35) 58%, rgba(4, 4, 7, 0.05) 100%);
}

.dbh-cat-card .dbh-cat-txt {
	position: relative;
	padding: 1.4rem 1.35rem;
	width: 100%;
}

.dbh-cat-card .dbh-cat-txt h3 {
	margin: 0 0 0.3rem;
	font-size: 1.18rem;
}

.dbh-cat-card .dbh-cat-txt p {
	margin: 0;
	font-size: 0.86rem;
	color: rgba(244, 242, 234, 0.78);
}

.dbh-cat-card .dbh-cat-count {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 0.7rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dbh-accent);
}

/* CSS-art fallback for categories without a photo */
.dbh-cat-card.dbh-cat-art .dbh-cat-bg {
	background:
		radial-gradient(420px 220px at 80% 10%, rgba(212, 175, 55, 0.28), transparent 60%),
		radial-gradient(320px 200px at 10% 90%, rgba(212, 175, 55, 0.12), transparent 60%),
		linear-gradient(150deg, #1b1b24 0%, #101014 100%);
}

.dbh-cat-card.dbh-cat-art .dbh-cat-glyph {
	position: absolute;
	top: 1.1rem;
	right: 1.2rem;
	width: 54px;
	height: 54px;
	color: var(--dbh-accent);
	opacity: 0.9;
	filter: drop-shadow(0 4px 14px rgba(212, 175, 55, 0.4));
}

.dbh-cat-card.dbh-cat-art .dbh-cat-glyph svg {
	width: 100%;
	height: 100%;
}

/* ---------- Tool card hover glow + tilt ---------- */
.dbh-tool-card {
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
	will-change: transform;
}

.dbh-tool-card:hover {
	border-color: rgba(212, 175, 55, 0.55);
	box-shadow: var(--dbh-shadow-gold-lg);
}

.dbh-tilt {
	transform-style: preserve-3d;
}

/* ---------- Animated stat counters ---------- */
.dbh-stat-num {
	font-family: var(--dbh-font-head);
	font-variant-numeric: tabular-nums;
}

/* ---------- Testimonials ---------- */
.dbh-testis {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.dbh-testi {
	background: linear-gradient(165deg, #17171e 0%, #121217 100%);
	border: 1px solid var(--dbh-border);
	border-radius: 20px;
	padding: 1.8rem 1.6rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.dbh-testi:hover {
	transform: translateY(-5px);
	border-color: rgba(212, 175, 55, 0.45);
	box-shadow: var(--dbh-shadow-gold);
}

.dbh-testi .stars {
	color: var(--dbh-accent);
	font-size: 0.95rem;
	letter-spacing: 0.28em;
}

.dbh-testi blockquote {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.7;
	color: var(--dbh-text);
	flex: 1;
}

.dbh-testi .who {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.dbh-testi .avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--dbh-font-head);
	font-weight: 800;
	font-size: 1.05rem;
	color: #141414;
	background: linear-gradient(135deg, var(--dbh-accent), var(--dbh-accent-deep));
}

.dbh-testi .who strong {
	display: block;
	font-size: 0.95rem;
	color: #fff;
}

.dbh-testi .who span {
	display: block;
	font-size: 0.8rem;
	color: var(--dbh-muted-2);
}

/* ---------- CTA band with image ---------- */
.dbh-cta-v2 {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	border: 1px solid rgba(212, 175, 55, 0.35);
	background-image: var(--dbh-cta-bg);
	background-size: cover;
	background-position: center;
	padding: 4.5rem 2rem;
	text-align: center;
}

.dbh-cta-v2::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(600px 300px at 50% 50%, rgba(8, 8, 12, 0.25), rgba(8, 8, 12, 0.72));
}

.dbh-cta-v2 > * {
	position: relative;
	z-index: 1;
}

.dbh-cta-v2 h2 {
	font-size: clamp(1.9rem, 4vw, 2.9rem);
	margin-bottom: 0.9rem;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}

.dbh-cta-v2 p {
	color: rgba(244, 242, 234, 0.85);
	max-width: 560px;
	margin: 0 auto 2rem;
	font-size: 1.05rem;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

/* ---------- v1.1 responsive ---------- */
@media (max-width: 960px) {
	.dbh-featured,
	.dbh-testis {
		grid-template-columns: 1fr;
	}

	.dbh-cat-cards {
		grid-template-columns: repeat(2, 1fr);
	}

	.dbh-hero-v2 {
		padding: 5.5rem 0 4.5rem;
	}
}

@media (max-width: 620px) {
	.dbh-cat-cards {
		grid-template-columns: 1fr;
	}

	.dbh-cat-card {
		min-height: 200px;
	}

	.dbh-hero-chips {
		gap: 0.5rem;
	}

	.dbh-chip {
		font-size: 0.76rem;
		padding: 0.42rem 0.85rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dbh-hero-v2 .dbh-hero-bg,
	.dbh-hero-title .gold {
		animation: none;
	}
}
