/* Team of Monkeys: 2026 visual refresh.
   Loaded last on every page (main site, /he/, /articles/ and /proxies/), so it layers over
   templatemo-noir-fashion.css, agency.css and proxies.css. Remove the <link> to roll back. */

:root {
	--accent: #ff3d71;
	--accent-hover: #ff5c88;
	--accent-2: #8b5cf6;
	--accent-3: #22d3ee;
	--bg-dark: #07070c;
	--bg-section: #0b0b12;
	--tom-surface: rgba(255, 255, 255, 0.035);
	--tom-surface-2: rgba(255, 255, 255, 0.06);
	--tom-border: rgba(255, 255, 255, 0.09);
	--tom-border-strong: rgba(255, 255, 255, 0.16);
	--tom-grad: linear-gradient(135deg, #ff3d71 0%, #c246c9 50%, #8b5cf6 100%);
	--tom-radius: 14px;
	--tom-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--px-text: #dcdce6;
	--px-muted: #a0a0b2;
	--px-line: rgba(255, 255, 255, 0.08);
	--px-card: rgba(255, 255, 255, 0.03);
	--px-card-hover: rgba(255, 255, 255, 0.06);
	--px-code: #0f0f18;
}

html {
	-webkit-text-size-adjust: 100%;
}

body,
body.proxy-page {
	font-family: var(--tom-font);
	background: var(--bg-dark);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

::selection {
	background: rgba(255, 61, 113, 0.35);
	color: #fff;
}

:focus-visible {
	outline: 2px solid var(--accent-3);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Scrollbar */
html {
	scrollbar-color: #2a2a3a #07070c;
}

::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

::-webkit-scrollbar-track {
	background: #07070c;
}

::-webkit-scrollbar-thumb {
	background: #2a2a3a;
	border-radius: 10px;
	border: 2px solid #07070c;
}

/* ------------------------------------------------------------ navigation */
nav,
nav#navbar {
	padding: 14px 40px;
	background: rgba(7, 7, 12, 0.72);
	-webkit-backdrop-filter: saturate(160%) blur(16px);
	backdrop-filter: saturate(160%) blur(16px);
	border-bottom: 1px solid var(--tom-border);
}

nav.scrolled {
	padding: 10px 40px;
	background: rgba(7, 7, 12, 0.9);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.logo-svg {
	width: 34px;
	height: 34px;
}

.logo-text {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.8px;
	background: linear-gradient(120deg, #ffffff 0%, #ffd1dd 35%, #ff3d71 70%, #a78bfa 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.nav-links {
	gap: 6px;
}

.nav-links a {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.2px;
	text-transform: none;
	padding: 8px 13px;
	border-radius: 999px;
	opacity: 0.78;
}

.nav-links a::before {
	display: none;
}

.nav-links a:hover {
	opacity: 1;
	background: var(--tom-surface-2);
}

.nav-links a.active {
	opacity: 1;
	background: rgba(255, 61, 113, 0.12);
	color: #fff;
}

.nav-links a.active::after {
	bottom: -2px;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: var(--tom-grad);
}

.nav-links a.nav-new::after {
	content: "New";
	position: absolute;
	top: -6px;
	right: -4px;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.4px;
	padding: 1px 5px;
	border-radius: 6px;
	background: var(--accent-3);
	color: #04121a;
	text-transform: uppercase;
}

.nav-cta,
.nav-links a.nav-cta {
	background: var(--tom-grad);
	padding: 9px 20px !important;
	border-radius: 999px;
	font-weight: 600;
	box-shadow: 0 6px 20px rgba(255, 61, 113, 0.25);
}

.nav-cta:hover,
.nav-links a.nav-cta:hover {
	background: var(--tom-grad);
	filter: brightness(1.08);
	transform: translateY(-1px);
	box-shadow: 0 10px 28px rgba(139, 92, 246, 0.35);
}

.lang-switch {
	border: 1px solid var(--tom-border-strong);
}

@media (max-width: 1360px) and (min-width: 1071px) {
	nav,
	nav#navbar {
		padding: 12px 24px;
	}

	.nav-links {
		gap: 2px;
	}

	.nav-links a {
		font-size: 13px;
		padding: 7px 10px;
	}

	.logo-text {
		font-size: 21px;
	}
}

.mobile-nav {
	background: rgba(7, 7, 12, 0.97);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	border-left: 1px solid var(--tom-border);
}

.mobile-nav-links a {
	font-weight: 500;
	letter-spacing: 0.2px;
	text-transform: none;
}

.mobile-nav-links a:hover {
	color: var(--accent);
}

.menu-toggle span {
	border-radius: 2px;
}

/* ------------------------------------------------------------ footer */
footer {
	background: linear-gradient(180deg, #07070c 0%, #0b0b14 100%);
	border-top: 1px solid var(--tom-border);
}

footer a {
	transition: color 0.2s ease;
}

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

.footer-bottom {
	border-top: 1px solid var(--tom-border);
}

.social-links a {
	border-radius: 10px;
	border: 1px solid var(--tom-border-strong);
	background: var(--tom-surface);
}

.social-links a:hover {
	background: var(--tom-grad);
	border-color: transparent;
}

/* ------------------------------------------------------------ proxies section */
.proxy-page .px-main {
	padding-top: 72px;
}

.proxy-page .px-header {
	background:
		radial-gradient(ellipse 60% 80% at 10% 0%, rgba(255, 61, 113, 0.16), transparent 60%),
		radial-gradient(ellipse 50% 70% at 90% 10%, rgba(139, 92, 246, 0.14), transparent 60%),
		#08080e;
	padding: 48px 0 40px;
}

.proxy-page .px-header h1 {
	font-weight: 800;
	letter-spacing: -1.4px;
}

.proxy-page .agency-eyebrow {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 2.4px;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(255, 61, 113, 0.1);
	border: 1px solid rgba(255, 61, 113, 0.25);
	color: #ff7a9a;
}

.proxy-page .px-meta span + span::before {
	color: var(--accent-2);
}

.proxy-page .px-article {
	font-size: 17.5px;
	line-height: 1.78;
}

.proxy-page .px-article h2 {
	font-weight: 750;
	letter-spacing: -0.5px;
	padding-top: 6px;
}

.proxy-page .px-article h2::before {
	content: "";
	display: block;
	width: 36px;
	height: 3px;
	border-radius: 3px;
	background: var(--tom-grad);
	margin-bottom: 14px;
}

.proxy-page .px-article h3 {
	font-weight: 650;
}

.proxy-page .px-article a:not(.gn-cta):not(.rel-card) {
	color: #ff7a9a;
	text-decoration-color: rgba(255, 122, 154, 0.4);
	text-underline-offset: 3px;
}

.proxy-page .px-article a:not(.gn-cta):not(.rel-card):hover {
	color: #fff;
	text-decoration-color: var(--accent);
}

/* Tables */
.proxy-page .table-wrap {
	border: 1px solid var(--tom-border);
	border-radius: var(--tom-radius);
	overflow: auto;
	background: var(--tom-surface);
}

.proxy-page .table-wrap table {
	border-collapse: collapse;
	width: 100%;
}

.proxy-page .table-wrap th {
	background: rgba(139, 92, 246, 0.12);
	color: #fff;
	font-weight: 650;
	font-size: 14px;
	letter-spacing: 0.2px;
	position: sticky;
	top: 0;
}

.proxy-page .table-wrap td,
.proxy-page .table-wrap th {
	border-bottom: 1px solid var(--tom-border);
	padding: 11px 14px;
}

.proxy-page .table-wrap tbody tr:nth-child(even) td {
	background: rgba(255, 255, 255, 0.018);
}

.proxy-page .table-wrap tbody tr:hover td {
	background: rgba(255, 61, 113, 0.05);
}

.proxy-page .table-wrap tbody tr:last-child td {
	border-bottom: 0;
}

/* Callouts and code */
.proxy-page .callout {
	border-radius: 12px;
	border: 1px solid var(--tom-border);
	border-left: 3px solid var(--accent-2);
	background: linear-gradient(120deg, rgba(139, 92, 246, 0.08), rgba(255, 255, 255, 0.015));
}

.proxy-page .code-block,
.proxy-page pre {
	border-radius: 12px;
	border: 1px solid var(--tom-border);
}

/* Cards, sidebar, hub */
.proxy-page .rel-card,
.proxy-page .aside-box,
.proxy-page .hub-cat {
	border-radius: var(--tom-radius);
	border-color: var(--tom-border);
	background: var(--tom-surface);
}

.proxy-page .rel-card {
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.proxy-page .rel-card:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 61, 113, 0.4);
	background: var(--tom-surface-2);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.proxy-page .rel-cat {
	color: #a78bfa;
}

.proxy-page .pillar-links a {
	border-radius: 999px;
	border: 1px solid var(--tom-border-strong);
	background: var(--tom-surface);
	transition: background 0.2s ease, border-color 0.2s ease;
}

.proxy-page .pillar-links a:hover {
	background: var(--tom-grad);
	border-color: transparent;
	color: #fff;
}

.proxy-page .hub-jump a {
	border-radius: 999px;
}

.proxy-page .px-hero {
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* Partner CTAs keep their own colors, with a softer modern shape */
.proxy-page .gn-cta {
	border-radius: 999px;
	font-weight: 650;
	transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.proxy-page .gn-cta:hover {
	transform: translateY(-1px);
	filter: brightness(1.08);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.proxy-page .gn-banner,
.proxy-page .duo-banner {
	border-radius: 16px;
}

/* Proxy Seller: banners, tips, sidebar box and coupon code (emerald accent) */
.ps-banner {
	border-color: rgba(16, 185, 129, 0.42);
	background: linear-gradient(120deg, rgba(16, 185, 129, 0.14), rgba(34, 211, 238, 0.07) 60%, rgba(255, 255, 255, 0.02));
}

.gn-cta.ps-cta,
.px-article a.gn-cta.ps-cta,
.proxy-page a.gn-cta.ps-cta {
	background: #059669;
	color: #fff;
}

.ps-tip {
	border-left-color: #10b981 !important;
	background: rgba(16, 185, 129, 0.07) !important;
}

.ps-aside {
	border-color: rgba(16, 185, 129, 0.42) !important;
	background: linear-gradient(160deg, rgba(16, 185, 129, 0.11), rgba(255, 255, 255, 0.02)) !important;
}

.ps-code,
.px-article code.ps-code {
	display: inline-block;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-weight: 700;
	letter-spacing: 1.5px;
	color: #d1fae5;
	background: rgba(16, 185, 129, 0.16);
	border: 1px dashed rgba(52, 211, 153, 0.7);
	border-radius: 7px;
	padding: 1px 8px;
}

.px-article .ps-coupon,
.ps-coupon {
	margin: 10px 0 0 !important;
	font-size: 14px;
	color: #a7f3d0;
}

.ps-coupon span {
	opacity: 0.85;
	margin-left: 6px;
}

/* Four-partner banner (four-way comparisons, buy pages and the hub) */
.quad-banner {
	background: linear-gradient(120deg, rgba(16, 185, 129, 0.11), rgba(255, 61, 113, 0.09) 40%, rgba(56, 189, 248, 0.10) 70%, rgba(249, 115, 22, 0.10));
}

.duo-grid.quad-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hub-banner .duo-grid.quad-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1240px) {
	.px-article .duo-grid.quad-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 980px) {
	.hub-banner .duo-grid.quad-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.duo-grid.quad-grid,
	.px-article .duo-grid.quad-grid,
	.hub-banner .duo-grid.quad-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ------------------------------------------------------------ small screens */
@media (max-width: 768px) {
	nav,
	nav#navbar,
	nav.scrolled {
		padding: 12px 16px;
	}

	.proxy-page .px-wrap {
		padding: 0 16px;
	}

	.proxy-page .px-header {
		padding: 34px 0 30px;
	}

	.proxy-page .px-article {
		font-size: 16.5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* Hebrew (RTL) pages: Inter has no Hebrew glyphs, so lead with Hebrew-capable fonts */
html[lang="he"] body,
html[dir="rtl"] body {
	font-family: "Segoe UI", "Arial Hebrew", "Noto Sans Hebrew", "Inter", system-ui, Arial, sans-serif;
}

html[dir="rtl"] .nav-links a.nav-new::after {
	right: auto;
	left: -4px;
}

/* ------------------------------------------------------------ main site components */
.hero {
	background: var(--bg-dark);
}

.hero-bg {
	background:
		radial-gradient(ellipse 55% 60% at 15% 30%, rgba(255, 61, 113, 0.16), transparent 65%),
		radial-gradient(ellipse 45% 55% at 85% 70%, rgba(139, 92, 246, 0.14), transparent 65%);
}

.hero-title .accent,
.hero-title .hero-rotate {
	background: linear-gradient(110deg, #ff3d71 10%, #ff7aa0 45%, #a78bfa 90%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero-image-wrapper,
.hero-carousel {
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.stat-number {
	background: var(--tom-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.stat-label {
	letter-spacing: 1.4px;
}

.cta-button {
	border-radius: 999px;
	letter-spacing: 0.6px;
	text-transform: none;
	font-size: 15px;
	font-weight: 600;
	padding: 15px 30px;
}

.cta-button.primary {
	background: var(--tom-grad);
	box-shadow: 0 10px 30px rgba(255, 61, 113, 0.28);
}

.cta-button.primary:hover {
	box-shadow: 0 16px 40px rgba(139, 92, 246, 0.35);
}

.cta-button.outline {
	border: 1px solid var(--tom-border-strong);
	background: var(--tom-surface);
}

.cta-button.outline:hover {
	background: var(--tom-surface-2);
	border-color: rgba(255, 255, 255, 0.3);
}

.agency-eyebrow {
	color: #ff7a9a;
	font-weight: 600;
}

.industry-card,
.chart-card,
.rate-panel,
.step,
.math-cell {
	border-radius: var(--tom-radius) !important;
	border-color: var(--tom-border) !important;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.industry-card:hover,
.step:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 61, 113, 0.35) !important;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.step-num {
	background: var(--tom-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.cta-band {
	background:
		radial-gradient(ellipse 60% 90% at 20% 50%, rgba(255, 61, 113, 0.16), transparent 70%),
		radial-gradient(ellipse 50% 80% at 85% 40%, rgba(139, 92, 246, 0.16), transparent 70%),
		var(--bg-section) !important;
	border-top: 1px solid var(--tom-border);
	border-bottom: 1px solid var(--tom-border);
}

.table-scroll table,
.table-view table {
	border-radius: var(--tom-radius);
	overflow: hidden;
}

/* Hero: grow with its content instead of clipping under the nav on shorter laptop screens */
@media (min-width: 901px) {
	.hero {
		height: auto;
		min-height: 100vh;
	}

	.hero-container {
		height: auto;
		min-height: 100vh;
		padding-top: 112px;
		padding-bottom: 64px;
	}

	.hero-right {
		padding-top: 0;
		justify-content: center;
	}

	.hero-title {
		font-size: clamp(54px, 6.2vw, 96px);
		letter-spacing: -2px;
	}
}

/* Links in header lead copy (hub intro) were falling back to the browser's default blue */
.proxy-page .px-lead a,
.proxy-page .px-aff-note a,
.proxy-page .px-meta a {
	color: #ff7a9a;
	text-decoration-color: rgba(255, 122, 154, 0.4);
	text-underline-offset: 3px;
}

.proxy-page .px-lead a:hover {
	color: #fff;
}
