/*
 * قالب ۲ · فیروزه — light and open (theme 0.5.0).
 *
 * Lapis for words and links, turquoise for the one thing to press: the two blues of Persian tilework.
 * The page is white and airy, the header is light, the hero is centred and everything round is a pill.
 * Where face 1 is a bank, this one is a bright room.
 */

html[data-skin="firouzeh"] .nvpn,
html[data-skin="firouzeh"] .nvpn-sc {
	--nvpn-radius-btn: 999px;
	--nvpn-radius-card: 24px;
	--nvpn-radius-row: 16px;
}

/* ---- header: white bar, lapis words ---- */
html[data-skin="firouzeh"] .ct-header [data-row*="middle"] {
	background-color: var(--netraha-surface);
	box-shadow: 0 1px 0 var(--netraha-border);
}

html[data-skin="firouzeh"] .ct-header [data-id="logo"] .site-title {
	--theme-link-initial-color: var(--netraha-green);
	--theme-link-hover-color: var(--netraha-deep);
}

html[data-skin="firouzeh"] .ct-header [data-id="menu"] > ul > li > a {
	--theme-link-initial-color: var(--netraha-ink);
	--theme-link-hover-color: var(--netraha-green);
	--theme-link-active-color: var(--netraha-green);
}

html[data-skin="firouzeh"] .ct-header [data-id="trigger"] {
	--theme-icon-color: var(--netraha-ink);
	--theme-icon-hover-color: var(--netraha-green);
}

html[data-skin="firouzeh"] .ct-header [data-id="button"] {
	--theme-button-border-radius: 999px;
}

/* ---- hero: light, centred, the drawing under the words ---- */
html[data-skin="firouzeh"] .netraha-home-hero.is-layout-constrained {
	grid-template-columns: minmax(0, 1fr);
	justify-items: center;
	gap: var(--netraha-space-3);
	padding-block: 72px 40px;
}

/* the light ground goes with the dark words below whatever layout the hero group has in the editor:
   on the default deep ground the headline would be dark on dark */
html[data-skin="firouzeh"] .netraha-home-hero {
	background:
		radial-gradient(60% 70% at 50% 0%, rgba(22, 184, 168, 0.16) 0%, transparent 70%),
		linear-gradient(180deg, #EAF1FF 0%, var(--netraha-bg) 100%);
	color: var(--netraha-ink);
	text-align: center;
}

html[data-skin="firouzeh"] .netraha-home-hero-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-inline-size: 46em;
}

html[data-skin="firouzeh"] .netraha-home-eyebrow {
	padding: 6px 18px;
	border: 0;
	background: var(--netraha-surface);
	box-shadow: 0 0 0 1px var(--netraha-border);
	color: var(--netraha-green);
}

html[data-skin="firouzeh"] .netraha-home-hero .netraha-home-title {
	max-inline-size: 15em;
	color: var(--netraha-deep);
	font-size: clamp(34px, 5vw, 62px);
	line-height: 1.25;
	text-wrap: balance;
}

html[data-skin="firouzeh"] .netraha-home-lead {
	max-inline-size: 36em;
	color: var(--netraha-muted);
	font-size: 18px;
	line-height: 2;
	text-wrap: pretty;
}

html[data-skin="firouzeh"] .netraha-home-hero .netraha-home-actions {
	justify-content: center;
}

html[data-skin="firouzeh"] .netraha-home-hero .is-style-netraha-outline-teal .wp-block-button__link {
	border-color: var(--netraha-green);
	background: var(--netraha-surface);
	color: var(--netraha-green);
}

html[data-skin="firouzeh"] .netraha-home-hero .is-style-netraha-outline-teal .wp-block-button__link:hover,
html[data-skin="firouzeh"] .netraha-home-hero .is-style-netraha-outline-teal .wp-block-button__link:focus-visible {
	background: var(--netraha-green);
	color: var(--netraha-surface);
}

html[data-skin="firouzeh"] .netraha-home-hero .netraha-home-badges {
	justify-content: center;
}

html[data-skin="firouzeh"] .netraha-home-badges li {
	color: var(--netraha-muted);
}

html[data-skin="firouzeh"] .netraha-home-badges li::before {
	background: var(--netraha-gold);
}

html[data-skin="firouzeh"] .netraha-hero-art {
	--nh-line: var(--netraha-green);
	--nh-track: rgba(31, 71, 184, 0.28);
	--nh-node: var(--netraha-gold);
	--nh-text: var(--netraha-deep);
	--nh-chip: var(--netraha-surface);
	--nh-chip-line: var(--netraha-border);
}

/* only where there is room: on a tablet and a phone the smaller sizes of style.css section 12 stay in force */
@media (min-width: 1000px) {
	html[data-skin="firouzeh"] .netraha-hero-art {
		max-inline-size: 440px;
	}
}

/* ---- buttons: pills ---- */
html[data-skin="firouzeh"] .wp-block-button__link {
	min-block-size: 52px;
	padding-inline: 30px;
	border-radius: 999px;
	font-weight: var(--netraha-weight-black);
}

html[data-skin="firouzeh"] .is-style-netraha-cta-gold .wp-block-button__link,
html[data-skin="firouzeh"] .nvpn .nvpn-btn--gold,
html[data-skin="firouzeh"] .nvpn-sc .nvpn-btn--gold,
html[data-skin="firouzeh"] .ct-header [data-id="button"] .ct-button {
	box-shadow: 0 14px 28px -16px rgba(22, 184, 168, 0.95);
	transition: transform 140ms ease, box-shadow 140ms ease;
}

html[data-skin="firouzeh"] .is-style-netraha-cta-gold .wp-block-button__link:hover,
html[data-skin="firouzeh"] .nvpn .nvpn-btn--gold:hover,
html[data-skin="firouzeh"] .nvpn-sc .nvpn-btn--gold:hover,
html[data-skin="firouzeh"] .ct-header [data-id="button"] .ct-button:hover {
	box-shadow: 0 18px 30px -16px rgba(22, 184, 168, 1);
	transform: translateY(-2px);
}

/* ---- sections: centred headings, wide gaps ---- */
html[data-skin="firouzeh"] .netraha-home-section {
	--netraha-home-gap: 80px;
}

html[data-skin="firouzeh"] .netraha-home-section .netraha-home-h2,
html[data-skin="firouzeh"] .netraha-home-sub,
html[data-skin="firouzeh"] .netraha-home-more {
	text-align: center;
}

html[data-skin="firouzeh"] .netraha-home-section .netraha-home-h2 {
	color: var(--netraha-deep);
	font-size: clamp(25px, 2.8vw, 34px);
}

html[data-skin="firouzeh"] .netraha-home-sub {
	margin-block-end: var(--netraha-space-3);
	font-size: var(--netraha-text-md);
}

html[data-skin="firouzeh"] .netraha-home-pills {
	justify-content: center;
}

/* the questions sit in a narrow column under their centred heading */
html[data-skin="firouzeh"] .netraha-home-faq > :is(.wp-block-details, details) {
	max-inline-size: 760px;
	margin-inline: auto;
}

/* ---- cards: white, a thin lapis line on the reading side when pointed at ---- */
html[data-skin="firouzeh"] .wp-block-group.is-style-netraha-card,
html[data-skin="firouzeh"] .nvpn-card:not(.nvpn-card--dark) {
	border-color: var(--netraha-border);
	box-shadow: var(--netraha-shadow-card);
}

html[data-skin="firouzeh"] .netraha-home-card {
	align-items: center;
	padding: 32px 24px;
	text-align: center;
	transition: border-color 160ms ease, transform 160ms ease;
}

html[data-skin="firouzeh"] .netraha-home-card:hover {
	border-color: var(--netraha-green);
	transform: translateY(-3px);
}

html[data-skin="firouzeh"] .netraha-home-icon {
	box-sizing: content-box;
	inline-size: 28px;
	block-size: 28px;
	padding: 16px;
	border-radius: 50%;
	background: #E8EEFF;
	color: var(--netraha-green);
}

html[data-skin="firouzeh"] .netraha-home-card .netraha-home-card-title {
	color: var(--netraha-deep);
	font-size: 19px;
	font-weight: var(--netraha-weight-black);
}

/* ---- the closing call and the footer: lapis ---- */
html[data-skin="firouzeh"] .netraha-home-cta {
	max-inline-size: min(var(--netraha-content-width), calc(100% - 2 * var(--netraha-space-3)));
	margin-inline: auto;
	border-radius: 32px;
	background:
		radial-gradient(60% 120% at 100% 0%, rgba(88, 213, 201, 0.28) 0%, transparent 60%),
		var(--netraha-deep);
	text-align: center;
}

html[data-skin="firouzeh"] .netraha-home-cta .wp-block-buttons {
	justify-content: center;
}

/* ---- inputs ---- */
html[data-skin="firouzeh"] .nvpn input.nvpn-in,
html[data-skin="firouzeh"] .nvpn-sc input.nvpn-in {
	border-radius: 16px;
}

html[data-skin="firouzeh"] .nvpn input.nvpn-in:focus,
html[data-skin="firouzeh"] .nvpn-sc input.nvpn-in:focus {
	border-color: var(--netraha-green);
	box-shadow: 0 0 0 4px rgba(31, 71, 184, 0.14);
	outline: 0;
}

@media (prefers-reduced-motion: reduce) {
	html[data-skin="firouzeh"] .netraha-home-card,
	html[data-skin="firouzeh"] .wp-block-button__link,
	html[data-skin="firouzeh"] .nvpn-btn {
		transition: none;
	}
}

@media (max-width: 689.98px) {
	html[data-skin="firouzeh"] .netraha-home-hero.is-layout-constrained {
		padding-block: 44px 24px;
	}

	html[data-skin="firouzeh"] .netraha-home-section {
		--netraha-home-gap: 56px;
	}

	html[data-skin="firouzeh"] .netraha-home-lead {
		font-size: var(--netraha-text-md);
	}

	html[data-skin="firouzeh"] .netraha-home-hero .wp-block-buttons,
	html[data-skin="firouzeh"] .netraha-home-hero .wp-block-button,
	html[data-skin="firouzeh"] .netraha-home-hero .wp-block-button__link {
		inline-size: 100%;
	}

	html[data-skin="firouzeh"] .netraha-home-cta {
		border-radius: 24px;
	}
}

/* ---- warnings keep their own colour ----
   The module paints its main action and every warning with the "gold" token, which is turquoise in this face:
   «در انتظار واریز» looked like a success note and the two arcs of the usage ring were one hue. */
html[data-skin="firouzeh"] :is(.nvpn, .nvpn-sc) {
	--nvpn-gold-soft: #FFF1D6;
}

html[data-skin="firouzeh"] :is(.nvpn-pill--warn, .nvpn-tag.pending, .nvpn-note--warn, .nvpn-note.warn) {
	color: #6B4A00;
}

/* «یک فاکتور پرداخت‌نشده دارید» on the checkout */
html[data-skin="firouzeh"] .nvpn-gate {
	border-color: #F2B33A;
	background: #FFF8EA;
}

html[data-skin="firouzeh"] :is(.nvpn-traffic__warn, .nvpn-bar--gold > i, .nvpn-legend i.is-iran) {
	background: #F2B33A;
}

html[data-skin="firouzeh"] .nvpn-ring__part.is-iran {
	stroke: #F2B33A;
}

/* ---- a computer screen (theme 0.5.1 and 0.5.2, owner 11 Nov: «روی کامپیوتر بی‌روح») ----
   Same page, same words; only from 1100px wide. A phone and a tablet keep the look above untouched.
   The hero opens into two columns, the four reasons sit on a lapis band in one row,
   and the questions take two columns. */
@media (min-width: 1100px) {
	html[data-skin="firouzeh"] .netraha-home-hero {
		background:
			radial-gradient(42% 70% at 24% 46%, rgba(22, 184, 168, 0.20) 0%, transparent 70%),
			radial-gradient(50% 60% at 85% 0%, rgba(31, 71, 184, 0.10) 0%, transparent 70%),
			linear-gradient(180deg, #EAF1FF 0%, var(--netraha-bg) 100%);
	}

	/* words on the reading side, the drawing beside them */
	html[data-skin="firouzeh"] .netraha-home-hero.is-layout-constrained {
		grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
		justify-items: stretch;
		column-gap: 56px;
		padding-block: 88px 88px;
		padding-inline: max(var(--netraha-space-3), calc((100% - 1280px) / 2));
		text-align: start;
	}

	html[data-skin="firouzeh"] .netraha-home-hero.is-layout-constrained > :not(.netraha-hero-art) {
		margin-inline: 0 !important;
	}

	html[data-skin="firouzeh"] .netraha-home-hero-inner {
		align-items: flex-start;
		max-inline-size: none;
	}

	html[data-skin="firouzeh"] .netraha-home-hero .netraha-home-title {
		max-inline-size: 11em;
		font-size: clamp(44px, 3.9vw, 60px);
		line-height: 1.2;
		text-wrap: initial;
	}

	html[data-skin="firouzeh"] .netraha-home-lead {
		max-inline-size: 31em;
	}

	html[data-skin="firouzeh"] .netraha-home-hero :is(.netraha-home-actions, .netraha-home-badges) {
		justify-content: flex-start;
	}

	html[data-skin="firouzeh"] .netraha-hero-art {
		max-inline-size: 600px;
	}

	/* the four reasons: one row on a lapis band that runs to both edges of the screen */
	html[data-skin="firouzeh"] .netraha-home-why {
		--netraha-band: #E9EFFB;
		padding-block: 72px 80px;
		background: var(--netraha-band);
		box-shadow: 0 0 0 100vmax var(--netraha-band);
		clip-path: inset(0 -100vmax);
	}

	html[data-skin="firouzeh"] .netraha-home-why .netraha-home-grid.is-layout-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 24px;
		margin-block-start: var(--netraha-space-3);
	}

	html[data-skin="firouzeh"] .netraha-home-card {
		padding: 40px 28px;
	}

	/* the questions: two columns under the heading */
	html[data-skin="firouzeh"] .netraha-home-faq.is-layout-constrained {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 56px;
		align-items: start;
	}

	html[data-skin="firouzeh"] .netraha-home-faq.is-layout-constrained > * {
		max-inline-size: none;
		margin-inline: 0 !important;
	}

	html[data-skin="firouzeh"] .netraha-home-faq > :is(.netraha-home-h2, .netraha-home-more) {
		grid-column: 1 / -1;
	}

	html[data-skin="firouzeh"] .netraha-home-faq .netraha-home-h2 {
		margin-block-end: var(--netraha-space-2);
	}
}

/* ---- the scene of the hero (theme 0.5.2, decisions 349 and 350; redrawn in 0.5.11) ----
   inc/skins.php netraha_hero_scene(): five places abroad with their flags, the map of Iran in gold between
   its seas, one line each way, and nine services that open. On every screen since 0.5.11: beside the words
   from 1100px, under the headline below that. Where it shows, the small drawing of style.css section 12 does not. */
.netraha-hero-scene {
	display: none;
}

html[data-skin="firouzeh"] .netraha-home-hero .netraha-hero-art {
	display: none;
}

html[data-skin="firouzeh"] .netraha-hero-scene {
	display: flex;
	flex-direction: column;
	gap: 20px;
	inline-size: 100%;
	max-inline-size: 640px;
	margin-inline: auto;
	direction: ltr;
}

/* as strong as style.css section 12's `> :not(.netraha-hero-art) { max-inline-size: none }`, and later */
html[data-skin="firouzeh"] .netraha-home-hero.is-layout-constrained > .netraha-hero-scene {
	max-inline-size: 640px;
}

html[data-skin="firouzeh"] .netraha-hero-scene > svg {
	display: block;
	inline-size: 100%;
	block-size: auto;
	overflow: visible;
	font-family: inherit;
}

.ns-cap {
	fill: var(--netraha-muted);
	font-size: 16px;
	font-weight: var(--netraha-weight-bold);
}

.ns-ray {
	fill: none;
	stroke: rgba(31, 71, 184, 0.3);
	stroke-width: 1.5;
}

/* only the pill's own shapes: the flags inside keep their colours */
.ns-place > rect {
	fill: var(--netraha-surface);
	stroke: var(--netraha-border);
}

.ns-place > circle {
	fill: var(--netraha-gold);
}

.ns-place text {
	fill: var(--netraha-deep);
	font-size: 17px;
	font-weight: var(--netraha-weight-bold);
}

/* the seas: light water with white waves, under the land */
.ns-sea-water {
	fill: url(#ns-water);
	stroke: #4DA3E0;
	stroke-width: 1.2;
	stroke-linejoin: round;
}

.ns-wave {
	fill: none;
	stroke: #FFFFFF;
	stroke-width: 1.2;
	stroke-linecap: round;
	stroke-dasharray: 10 6;
	opacity: 0.85;
}

.ns-sea {
	fill: #1565A8;
	font-size: 13px;
	font-weight: var(--netraha-weight-bold);
}

/* Iran in gold, no word on it */
.ns-land {
	fill: url(#ns-land);
	stroke: var(--netraha-green);
	stroke-width: 1.6;
	stroke-linejoin: round;
}

.ns-land--gold {
	stroke: #A9761A;
	stroke-width: 1.8;
}

.ns-shine {
	pointer-events: none;
}

.ns-sparkle {
	fill: #FFFDF2;
	opacity: 0.85;
	transform-box: fill-box;
	transform-origin: center;
	filter: drop-shadow(0 0 3px #FFE08A) drop-shadow(0 0 6px #F2B53A);
}

.ns-way {
	fill: none;
	stroke-width: 4;
	stroke-linecap: round;
}

.ns-way--in,
.ns-head--in {
	stroke: var(--netraha-green);
}

.ns-way--out,
.ns-head--out {
	stroke: var(--netraha-gold);
}

/* a white dash runs along each line, in its own direction */
.ns-flow {
	fill: none;
	stroke: #FFFFFF;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-dasharray: 6 26;
	opacity: 0.9;
}

.ns-head {
	fill: none;
	stroke-width: 4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ns-tag rect {
	fill: var(--netraha-surface);
}

.ns-tag--in rect {
	stroke: var(--netraha-green);
}

.ns-tag--out rect {
	stroke: var(--netraha-gold);
}

.ns-tag text {
	fill: var(--netraha-deep);
	font-size: 16px;
	font-weight: var(--netraha-weight-bold);
}

.ns-node--you {
	fill: var(--netraha-gold);
	stroke: var(--netraha-surface);
	stroke-width: 3;
}

.ns-node--iran,
.ns-halo {
	fill: var(--netraha-green);
}

.ns-node--iran {
	stroke: var(--netraha-surface);
	stroke-width: 3;
}

.ns-halo {
	opacity: 0.22;
	transform-box: fill-box;
	transform-origin: center;
}

.ns-you {
	fill: var(--netraha-deep);
	font-size: 18px;
	font-weight: var(--netraha-weight-black);
}

.ns-spark--in {
	fill: var(--netraha-green);
}

.ns-spark--out {
	fill: var(--netraha-gold);
}

.ns-spark {
	stroke: var(--netraha-surface);
	stroke-width: 2;
}

/* the services that open: three to a row, mark and name */
html[data-skin="firouzeh"] .netraha-scene-apps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	direction: rtl;
}

html[lang^="en"][data-skin="firouzeh"] .netraha-scene-apps {
	direction: ltr;
}

html[data-skin="firouzeh"] .netraha-scene-apps li {
	display: flex;
	align-items: center;
	gap: 12px;
	min-inline-size: 0;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--netraha-border);
	border-radius: 16px;
	background: var(--netraha-surface);
	color: var(--netraha-green);
	text-align: start;
}

html[data-skin="firouzeh"] .netraha-scene-apps :is(img, svg) {
	flex: none;
	inline-size: 44px;
	block-size: 44px;
}

html[data-skin="firouzeh"] .netraha-scene-apps span {
	min-inline-size: 0;
	color: var(--netraha-deep);
	font-size: 14px;
	font-weight: var(--netraha-weight-bold);
	line-height: 1.5;
}

/* below 1100px: the scene comes after the hero's words and buttons (the buy button stays on the first
   screen of a phone), across the column, and each service is its mark over its name. */
@media (max-width: 1099.98px) {
	html[data-skin="firouzeh"] .netraha-home-hero.is-layout-constrained {
		row-gap: 0;
	}

	html[data-skin="firouzeh"] .netraha-home-hero.is-layout-constrained > .netraha-hero-scene {
		max-inline-size: 720px;
		margin-block: var(--netraha-space-3);
	}



	html[data-skin="firouzeh"] .netraha-scene-apps {
		gap: 8px;
	}

	html[data-skin="firouzeh"] .netraha-scene-apps li {
		flex-direction: column;
		justify-content: flex-start;
		gap: 6px;
		padding: 8px 10px;
		text-align: center;
	}

	html[data-skin="firouzeh"] .netraha-scene-apps :is(img, svg) {
		inline-size: 40px;
		block-size: 40px;
	}

	html[data-skin="firouzeh"] .netraha-scene-apps span {
		font-size: 13px;
	}
}

/* calm, continuous motion, only when the visitor has not asked for less: the point in Iran breathes, a dash
   runs along each line, the waves move, stars light up on the gold, and the places and the services
   light up one after another (each carries its turn in --ns-i). At rest everything is drawn and still. */
@media (prefers-reduced-motion: no-preference) {
	.ns-halo {
		animation: ns-breathe 3.2s ease-in-out infinite;
	}

	.ns-flow--in,
	.ns-flow--out {
		animation: ns-run 1.6s linear infinite;
	}

	.ns-wave {
		animation: ns-water 2.4s linear infinite;
	}

	.ns-sea-water {
		animation: ns-tide 4s ease-in-out infinite;
	}

	.ns-sparkle {
		animation: ns-twinkle 4s ease-in-out infinite;
	}

	.ns-place {
		transform-box: fill-box;
		transform-origin: center;
		animation: ns-place-pop 3.6s ease-in-out infinite;
		animation-delay: calc(var(--ns-i, 0) * 0.6s);
	}

	html[data-skin="firouzeh"] .netraha-scene-apps li {
		transform-origin: center;
		animation: ns-pop 4.5s ease-in-out infinite;
		animation-delay: calc(var(--ns-i, 0) * 0.5s);
	}

	html[data-skin="firouzeh"] .netraha-scene-apps li :is(img, svg) {
		transform-origin: center;
		animation: ns-icon 4.5s ease-in-out infinite;
		animation-delay: calc(var(--ns-i, 0) * 0.5s);
	}
}

/* the travelling lights and the shine are SVG animations: with less motion they are not drawn */
@media (prefers-reduced-motion: reduce) {
	.ns-spark,
	.ns-shine {
		display: none;
	}
}

@keyframes ns-breathe {
	0%,
	100% {
		opacity: 0.26;
		transform: scale(1);
	}

	50% {
		opacity: 0.06;
		transform: scale(2.1);
	}
}

@keyframes ns-run {
	to {
		stroke-dashoffset: -32;
	}
}

@keyframes ns-water {
	to {
		stroke-dashoffset: -32;
	}
}

@keyframes ns-tide {
	50% {
		filter: brightness(1.08) saturate(1.15);
	}
}

@keyframes ns-twinkle {
	0%,
	100% {
		opacity: 0;
	}

	12% {
		opacity: 1;
	}

	24% {
		opacity: 0;
	}
}

@keyframes ns-place-pop {
	0%,
	22%,
	100% {
		transform: none;
	}

	10% {
		transform: scale(1.12);
	}
}

@keyframes ns-pop {
	0%,
	18%,
	100% {
		border-color: var(--netraha-border);
		box-shadow: none;
		transform: none;
	}

	8% {
		border-color: var(--netraha-gold);
		box-shadow: 0 8px 20px rgba(31, 71, 184, 0.16);
		transform: translateY(-3px) scale(1.06);
	}
}

@keyframes ns-icon {
	0%,
	18%,
	100% {
		transform: none;
	}

	8% {
		transform: scale(1.18) rotate(-4deg);
	}
}
