/* ============================================================
   Turbo Detective Landing — DuckNet.it
   Tutto isolato sotto .tdl-root per non interferire col tema.
   ============================================================ */

.tdl-root {
	--tdl-bg: #0d0d0f;
	--tdl-panel: #16171a;
	--tdl-panel-2: #1d1f23;
	--tdl-red: #e10600;
	--tdl-red-d: #b00500;
	--tdl-text: #ece9e4;
	--tdl-muted: #9a9ba1;
	--tdl-line: rgba(255, 255, 255, .09);

	color: var(--tdl-text);
	background: var(--tdl-bg);
	font-family: 'Barlow', -apple-system, sans-serif;
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow: hidden; /* contiene gli sfondi diagonali */
}

.tdl-root *,
.tdl-root *::before,
.tdl-root *::after { box-sizing: border-box; }

.tdl-root img { max-width: 100%; height: auto; display: block; }

.tdl-wrap {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
	position: relative;
	z-index: 1;
}

.tdl-sec { padding: 84px 0; position: relative; }

/* texture/striping di sfondo alternato */
.tdl-products,
.tdl-bio,
.tdl-reviews { background: var(--tdl-panel); }
.tdl-features::before,
.tdl-cta::before {
	content: "";
	position: absolute; inset: 0;
	background:
		repeating-linear-gradient(115deg, rgba(225,6,0,.05) 0 2px, transparent 2px 9px);
	opacity: .6; pointer-events: none;
}

/* ---------- Tipografia ---------- */
.tdl-eyebrow {
	display: inline-block;
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	letter-spacing: .28em;
	text-transform: uppercase;
	font-size: 12px;
	color: var(--tdl-red);
	margin-bottom: 14px;
	padding-left: 38px;
	position: relative;
}
.tdl-eyebrow::before {
	content: ""; position: absolute; left: 0; top: 50%;
	width: 28px; height: 2px; background: var(--tdl-red); transform: translateY(-50%);
}

.tdl-display {
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .01em;
	line-height: 1.04;
	font-size: clamp(30px, 5vw, 52px);
	margin: 0 0 22px;
	color: #fff;
}
.tdl-red { color: var(--tdl-red); }

.tdl-lead { font-size: 19px; color: var(--tdl-muted); max-width: 760px; }
.tdl-lead strong { color: var(--tdl-text); }

.tdl-card-title {
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 24px;
	margin: 6px 0 12px;
	color: #fff;
}

/* ---------- Griglie ---------- */
.tdl-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* ---------- Card prodotto ---------- */
.tdl-card {
	background: var(--tdl-panel-2);
	border: 1px solid var(--tdl-line);
	border-top: 3px solid var(--tdl-red);
	display: flex; flex-direction: column;
	transition: transform .25s ease, border-color .25s ease;
}
.tdl-card:hover { transform: translateY(-6px); border-top-color: #fff; }
.tdl-card--pro { background: linear-gradient(180deg, #211012, var(--tdl-panel-2)); }

.tdl-card-media { position: relative; aspect-ratio: 1/1; overflow: hidden; background:#000; }
.tdl-card-media img { width: 100%; height: 100%; object-fit: cover; }
.tdl-badge {
	position: absolute; top: 14px; left: 14px;
	background: #0c8a3e; color: #fff;
	font-family: 'Oswald', sans-serif; font-size: 11px; font-weight: 600;
	letter-spacing: .14em; text-transform: uppercase;
	padding: 5px 12px;
}
.tdl-badge--pro { background: var(--tdl-red); }

.tdl-card-body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.tdl-tag {
	font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: .18em;
	text-transform: uppercase; color: var(--tdl-muted);
}
.tdl-price {
	font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 30px;
	color: var(--tdl-red); margin-bottom: 12px;
}
.tdl-card-body p { color: var(--tdl-muted); margin: 0 0 16px; }
.tdl-card-body p strong { color: var(--tdl-text); }
.tdl-note {
	font-size: 14px; border-left: 3px solid var(--tdl-red);
	padding-left: 12px; color: var(--tdl-muted);
}
.tdl-card .tdl-btn { margin-top: auto; }

/* ---------- Liste check / cross ---------- */
.tdl-check, .tdl-cross { list-style: none; margin: 0 0 22px; padding: 0; }
.tdl-check li, .tdl-cross li {
	position: relative; padding-left: 34px; margin-bottom: 11px; color: var(--tdl-muted);
}
.tdl-check li strong, .tdl-cross li strong { color: var(--tdl-text); }
.tdl-check li::before {
	content: ""; position: absolute; left: 0; top: 7px;
	width: 18px; height: 10px; border-left: 2px solid var(--tdl-red);
	border-bottom: 2px solid var(--tdl-red); transform: rotate(-45deg);
}
.tdl-cross li::before {
	content: "\00d7"; position: absolute; left: 2px; top: -2px;
	color: var(--tdl-red); font-size: 22px; font-weight: 700; line-height: 1;
}

/* ---------- Features ---------- */
.tdl-feature-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
	background: var(--tdl-line); border: 1px solid var(--tdl-line); margin-top: 18px;
}
.tdl-feature { background: var(--tdl-bg); padding: 30px 26px; transition: background .25s; }
.tdl-feature:hover { background: var(--tdl-panel-2); }
.tdl-ico {
	display: inline-flex; width: 52px; height: 52px; margin-bottom: 16px;
	color: var(--tdl-red); align-items: center; justify-content: center;
	border: 1px solid var(--tdl-line);
}
.tdl-ico svg { width: 28px; height: 28px; }
.tdl-feature h4 {
	font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 600;
	font-size: 18px; margin: 0 0 8px; color: #fff;
}
.tdl-feature p { margin: 0; color: var(--tdl-muted); font-size: 15px; }

/* ---------- Bio ---------- */
.tdl-bio-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: center; }
.tdl-bio-img { position: relative; }
.tdl-bio-img::before {
	content: ""; position: absolute; inset: 14px -14px -14px 14px;
	border: 2px solid var(--tdl-red); z-index: 0;
}
.tdl-bio-img img { position: relative; z-index: 1; filter: grayscale(.2) contrast(1.05); }
.tdl-bio-text p { color: var(--tdl-muted); }
.tdl-bio-text p strong { color: var(--tdl-text); }

/* ---------- Pannelli target ---------- */
.tdl-panel { background: var(--tdl-panel); border: 1px solid var(--tdl-line); padding: 36px 32px; }
.tdl-panel--dark { background: #000; }

/* ---------- Reviews ---------- */
.tdl-review-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px;
}
.tdl-review {
	background: var(--tdl-bg); border: 1px solid var(--tdl-line);
	border-top: 3px solid var(--tdl-red); margin: 0; padding: 26px 24px;
}
.tdl-stars { color: var(--tdl-red); letter-spacing: 2px; margin-bottom: 12px; }
.tdl-review blockquote { margin: 0 0 16px; font-size: 15px; color: var(--tdl-text); }
.tdl-review figcaption {
	font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .12em;
	font-size: 14px; color: var(--tdl-muted);
}

/* ---------- CTA ---------- */
.tdl-cta { background: linear-gradient(135deg, #1a0809, #0d0d0f); text-align: center; }
.tdl-cta-inner p { color: var(--tdl-muted); font-size: 19px; max-width: 620px; margin: 0 auto 28px; }
.tdl-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Bottoni ----------
   Specificità alta + !important per battere le regole sui link del tema.
   -webkit-text-fill-color serve perché molti temi lo impostano e vince su color. */
.tdl-root a.tdl-btn,
.tdl-root a.tdl-btn:link,
.tdl-root a.tdl-btn:visited {
	display: inline-block; cursor: pointer;
	font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase;
	letter-spacing: .12em; font-size: 14px; text-decoration: none !important;
	color: #fff !important; -webkit-text-fill-color: #fff !important;
	background: var(--tdl-red) !important; border: 2px solid var(--tdl-red) !important;
	padding: 14px 30px; transition: background .2s, transform .2s, color .2s, border-color .2s;
}
.tdl-root a.tdl-btn:hover,
.tdl-root a.tdl-btn:focus,
.tdl-root a.tdl-btn:active {
	background: #fff !important; border-color: #fff !important;
	color: var(--tdl-red) !important; -webkit-text-fill-color: var(--tdl-red) !important;
	text-decoration: none !important; transform: translateY(-2px);
}
.tdl-root a.tdl-btn--ghost,
.tdl-root a.tdl-btn--ghost:link,
.tdl-root a.tdl-btn--ghost:visited {
	background: transparent !important; border-color: var(--tdl-line) !important;
	color: #fff !important; -webkit-text-fill-color: #fff !important;
}
.tdl-root a.tdl-btn--ghost:hover,
.tdl-root a.tdl-btn--ghost:focus,
.tdl-root a.tdl-btn--ghost:active {
	background: #fff !important; color: #000 !important; -webkit-text-fill-color: #000 !important;
	border-color: #fff !important;
}
.tdl-root a.tdl-btn--big { width: 100%; padding: 17px; font-size: 16px; }

/* ---------- Ancora per il modulo contatti ---------- */
.tdl-anchor { display: block; height: 0; scroll-margin-top: 60px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.tdl-feature-grid { grid-template-columns: repeat(2, 1fr); }
	.tdl-review-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
	.tdl-sec { padding: 60px 0; }
	.tdl-grid-2,
	.tdl-bio-grid,
	.tdl-feature-grid,
	.tdl-review-grid { grid-template-columns: 1fr; }
	.tdl-bio-img::before { display: none; }
}
