:root {
	--tn-primary: #0a2540;
	--tn-secondary: #1e90ff;
	--tn-accent: #00c896;
	--tn-highlight: #ffd700;
	--tn-bg-start: #0a2540;
	--tn-bg-mid: #102d4b;
	--tn-bg-end: #03060b;
	--tn-text: #eaf2ff;
	--tn-muted: #b4c6df;
	--tn-card-bg: rgba(255, 255, 255, 0.08);
}

body {
	font-family: "Inter", "Poppins", sans-serif;
	background: linear-gradient(140deg, var(--tn-bg-start), var(--tn-bg-mid) 50%, var(--tn-bg-end));
	color: var(--tn-text);
	line-height: 1.65;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand {
	font-family: "Poppins", "Inter", sans-serif;
	font-weight: 700;
}

.section-space {
	padding: 6rem 0;
}

.section-space-sm {
	padding: 2.5rem 0;
}

.section-title {
	color: #fff;
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	margin-bottom: 1rem;
}

.section-text {
	color: var(--tn-muted);
}

.tn-header .navbar {
	background: rgba(6, 22, 41, 0.85);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
	color: #d8e7ff;
	font-weight: 600;
}

.nav-link:hover {
	color: #fff;
}

.tn-auth-nav {
	display: flex;
	align-items: center;
}

.tn-user-trigger,
.tn-login-btn {
	background: linear-gradient(135deg, var(--tn-secondary), #3db2ff);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 10px;
	font-weight: 700;
	padding: 0.55rem 1rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tn-user-trigger:hover,
.tn-login-btn:hover {
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(30, 144, 255, 0.35);
}

.tn-user-dropdown {
	background: rgba(7, 22, 40, 0.96);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	padding: 0.35rem;
	min-width: 220px;
}

.tn-user-dropdown .dropdown-item {
	color: #d4e6ff;
	border-radius: 8px;
	padding: 0.55rem 0.7rem;
}

.tn-user-dropdown .dropdown-item:hover {
	background: rgba(30, 144, 255, 0.2);
	color: #fff;
}

.tn-user-dropdown .dropdown-divider {
	border-color: rgba(255, 255, 255, 0.12);
}

.hero-section {
	position: relative;
	padding-top: 7rem;
	padding-bottom: 6rem;
	overflow: hidden;
}

.hero-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(130deg, rgba(10, 37, 64, 0.85), rgba(30, 144, 255, 0.2)),
		url("../images/hero/hero-bg.jpg") center/cover no-repeat;
	opacity: 0.55;
	z-index: 0;
}

.hero-section > .container {
	position: relative;
	z-index: 1;
}

.hero-title {
	font-size: clamp(2rem, 5vw, 3.4rem);
	line-height: 1.2;
	margin-top: 1rem;
}

.hero-subtitle {
	color: var(--tn-muted);
	max-width: 650px;
}

.pill-badge {
	display: inline-block;
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
	background: rgba(30, 144, 255, 0.2);
	border: 1px solid rgba(30, 144, 255, 0.45);
	color: #cde3ff;
	font-weight: 600;
	font-size: 0.82rem;
}

.pill-badge.gold {
	background: rgba(255, 215, 0, 0.12);
	border-color: rgba(255, 215, 0, 0.5);
	color: #ffe680;
}

.btn-premium,
.btn-outline-premium,
.mobile-sticky-cta {
	border-radius: 8px;
	padding: 0.72rem 1.4rem;
	font-weight: 700;
	transition: all 0.25s ease;
}

.btn-premium {
	background: linear-gradient(135deg, var(--tn-secondary), #3db2ff);
	border: none;
	color: #fff;
	box-shadow: 0 8px 22px rgba(30, 144, 255, 0.35);
}

.btn-premium:hover {
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 12px 28px rgba(30, 144, 255, 0.5);
	color: #fff;
}

.btn-outline-premium {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.5);
	color: #fff;
}

.btn-outline-premium:hover {
	transform: translateY(-2px);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.glass-card,
.tn-card,
.trust-card,
.cta-panel,
.glass-wrap {
	background: var(--tn-card-bg);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	backdrop-filter: blur(12px);
}

.tn-card,
.trust-card {
	padding: 1.4rem;
	height: 100%;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tn-card:hover,
.trust-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(120px, 1fr));
	gap: 12px;
}

.stat-card {
	padding: 0.85rem;
}

.stat-card span {
	display: block;
	font-size: 1.05rem;
	font-weight: 800;
	color: #fff;
}

.stat-card small {
	color: var(--tn-muted);
}

.hero-media-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.hero-media-grid img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-media-grid .hero-media-lg {
	grid-column: span 2;
	aspect-ratio: 16/9;
}

.trust-card h6 {
	margin-bottom: 0.2rem;
	color: #fff;
}

.trust-icon {
	width: 56px;
	height: 56px;
	object-fit: contain;
	margin-bottom: 0.7rem;
}

.trust-card small {
	color: var(--tn-muted);
}

.product-image {
	width: 100%;
	border-radius: 18px;
	object-fit: cover;
	aspect-ratio: 4/5;
	max-height: 480px;
}

.benefits-list {
	color: #d8e6fc;
	padding-left: 1rem;
}

.benefits-list li {
	margin-bottom: 0.45rem;
}

.income-tree {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.income-row {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.income-node {
	min-width: 145px;
	text-align: center;
	padding: 1rem;
	border-radius: 14px;
	background: linear-gradient(145deg, rgba(30, 144, 255, 0.22), rgba(10, 37, 64, 0.85));
	border: 1px solid rgba(30, 144, 255, 0.45);
	animation: pulseNode 2.5s infinite;
}

.income-node.top {
	background: linear-gradient(145deg, rgba(255, 215, 0, 0.28), rgba(10, 37, 64, 0.9));
	border-color: rgba(255, 215, 0, 0.55);
	margin: 0 auto;
}

.income-node span {
	color: #fff;
	font-weight: 800;
}

@keyframes pulseNode {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-3px); }
}

.lifestyle-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.lifestyle-item {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	min-height: 240px;
}

.lifestyle-item img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.lifestyle-item:hover img {
	transform: scale(1.07);
}

.overlay-label {
	position: absolute;
	inset: auto 12px 12px 12px;
	background: rgba(10, 37, 64, 0.75);
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 0.5rem 0.8rem;
	border-radius: 10px;
	font-weight: 700;
}

.cta-panel {
	padding: 3rem 1.5rem;
	background: linear-gradient(130deg, rgba(30, 144, 255, 0.25), rgba(0, 200, 150, 0.2));
}

.cta-panel p {
	color: var(--tn-muted);
	margin-bottom: 1.4rem;
}

.mobile-sticky-cta {
	display: none;
	position: fixed;
	bottom: 14px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1050;
	background: linear-gradient(135deg, var(--tn-accent), #00a57d);
	color: #05231a;
	text-decoration: none;
	box-shadow: 0 10px 28px rgba(0, 200, 150, 0.35);
}

.tn-footer {
	background: rgba(6, 18, 33, 0.9);
	margin-top: 3rem;
}

.footer-link {
	color: #bcd4f8;
	text-decoration: none;
}

.footer-link:hover {
	color: #fff;
}

.form-feedback {
	min-height: 1.4rem;
	font-weight: 600;
}

[data-animate] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].in-view {
	opacity: 1;
	transform: none;
}

.dashboard-shell {
	padding-top: 2rem;
}

.dash-stat {
	padding: 1.25rem;
	border-radius: 16px;
	background: linear-gradient(145deg, rgba(30, 144, 255, 0.2), rgba(10, 37, 64, 0.75));
	border: 1px solid rgba(255, 255, 255, 0.16);
}

.dash-stat .value {
	font-size: 1.8rem;
	font-weight: 800;
}

.dash-table {
	width: 100%;
	border-collapse: collapse;
}

.dash-table th,
.dash-table td {
	padding: 0.7rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	color: #dce8fb;
}

.referral-actions {
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
}

.inner-page-content .tn-card {
	padding: 1.6rem;
}

.mlm-tree-card {
	overflow-x: auto;
}

.mlm-tree-wrap {
	padding: 1rem 0.25rem 0.5rem;
}

.mlm-tree-root,
.mlm-tree-root ul {
	margin: 0;
	padding-top: 1.2rem;
	position: relative;
	display: flex;
	justify-content: center;
	gap: 1.5rem;
}

.mlm-tree-root li {
	list-style-type: none;
	position: relative;
	padding: 1.2rem 0.7rem 0;
	text-align: center;
}

.mlm-tree-root li::before,
.mlm-tree-root li::after {
	content: "";
	position: absolute;
	top: 0;
	right: 50%;
	width: 50%;
	height: 1.2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.mlm-tree-root li::after {
	right: auto;
	left: 50%;
	border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.mlm-tree-root li:only-child::after,
.mlm-tree-root li:only-child::before {
	display: none;
}

.mlm-tree-root li:only-child {
	padding-top: 0;
}

.mlm-tree-root li:first-child::before,
.mlm-tree-root li:last-child::after {
	border: 0 none;
}

.mlm-tree-root li:last-child::before {
	border-right: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 0 8px 0 0;
}

.mlm-tree-root li:first-child::after {
	border-radius: 8px 0 0 0;
}

.mlm-tree-root ul::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 0;
	height: 1.2rem;
	border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.mlm-user-card {
	min-width: 180px;
	max-width: 220px;
	padding: 0.8rem;
	border-radius: 14px;
	background: linear-gradient(145deg, rgba(30, 144, 255, 0.2), rgba(10, 37, 64, 0.8));
	border: 1px solid rgba(255, 255, 255, 0.16);
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	cursor: pointer;
}

.mlm-user-card:hover,
.mlm-user-card.is-active {
	transform: translateY(-3px);
	box-shadow: 0 16px 28px rgba(0, 0, 0, 0.34);
	border-color: rgba(30, 144, 255, 0.7);
}

.mlm-user-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;
}

.mlm-user-id {
	font-size: 0.82rem;
	color: #d3e5ff;
	font-weight: 700;
}

.mlm-user-name {
	margin-top: 0.4rem;
	font-weight: 800;
	color: #fff;
}

.mlm-user-code {
	font-size: 0.82rem;
	color: #c6daf6;
	margin-top: 0.3rem;
	word-break: break-word;
}

.mlm-toggle {
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	line-height: 1;
	font-weight: 700;
	padding: 0;
}

.mlm-toggle:hover {
	background: rgba(30, 144, 255, 0.28);
}

.mlm-user-details {
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 12px;
	padding: 0.9rem;
	background: rgba(6, 24, 44, 0.5);
	color: #d7e6ff;
}

.icon-bullet-list {
	list-style: none;
	padding: 0;
}

.icon-bullet-list li {
	padding: 0.55rem 0 0.55rem 1.8rem;
	position: relative;
	color: #d7e7ff;
}

.icon-bullet-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #00c896;
	font-weight: 800;
}

@media (max-width: 991.98px) {
	.hero-stats {
		grid-template-columns: 1fr;
	}
	.lifestyle-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.tn-auth-nav {
		width: 100%;
	}
	.tn-user-trigger,
	.tn-login-btn {
		width: 100%;
		text-align: center;
	}
}

@media (max-width: 767.98px) {
	.section-space {
		padding: 4.2rem 0;
	}
	.hero-media-grid .hero-media-lg {
		height: 180px;
	}
	.hero-media-grid img {
		height: 130px;
	}
	.lifestyle-grid {
		grid-template-columns: 1fr;
	}
	.mobile-sticky-cta {
		display: inline-block;
	}
	.mlm-tree-root,
	.mlm-tree-root ul {
		gap: 0.6rem;
	}
	.mlm-user-card {
		min-width: 150px;
		max-width: 170px;
		padding: 0.65rem;
	}
}
