:root {
	--lp-bg-start: #071427;
	--lp-bg-mid: #0c1d38;
	--lp-bg-end: #132a4f;
	--lp-surface: #f5f8ff;
	--lp-card: #ffffff;
	--lp-text: #10213f;
	--lp-text-soft: #4b5f82;
	--lp-primary: #f08b1d;
	--lp-primary-hover: #d97706;
	--lp-dark-btn: #142745;
	--lp-dark-btn-hover: #0d1b34;
	--lp-border: #e2e8f4;
	--lp-shadow: 0 24px 60px rgba(6, 19, 40, 0.24);
	--lp-radius-xl: 32px;
	--lp-radius-lg: 20px;
	--lp-radius-md: 14px;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
	color: var(--lp-text);
	background:
		radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.08), transparent 42%),
		radial-gradient(circle at 85% 0%, rgba(240, 139, 29, 0.2), transparent 38%),
		linear-gradient(160deg, var(--lp-bg-start) 0%, var(--lp-bg-mid) 45%, var(--lp-bg-end) 100%);
	min-height: 100vh;
	
}



.lp-main {
	
}

.lp-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 34px;
}

.lp-logo {
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	color: #0d1f3f;
	text-decoration: none;
}

.lp-menu {
	display: flex;
	align-items: center;
	gap: 26px;
	flex-wrap: wrap;
}

.lp-menu a {
	color: var(--lp-text);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
}

.lp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 20px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	border: 0;
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.lp-btn:hover {
	transform: translateY(-1px);
}

.lp-btn-primary {
	background: var(--lp-primary);
	color: #fff;
}

.lp-btn-primary:hover {
	background: var(--lp-primary-hover);
}

.lp-btn-dark {
	background: var(--lp-dark-btn);
	color: #fff;
}

.lp-btn-dark:hover {
	background: var(--lp-dark-btn-hover);
}

.lp-btn-outline {
	background: transparent;
	color: var(--lp-text);
	border: 1px solid #c9d3e6;
}

.lp-hero {
	background: linear-gradient(135deg, #e9f0ff 0%, #f8fbff 100%);
	border: 1px solid var(--lp-border);
	border-radius: var(--lp-radius-lg);
	padding: 54px 42px;
	margin-bottom: 34px;
}

.lp-hero h1 {
	margin: 0 0 14px;
	font-size: clamp(2rem, 4.3vw, 3.4rem);
	line-height: 1.05;
	color: #0c2143;
	max-width: 760px;
}

.lp-hero p {
	margin: 0 0 24px;
	max-width: 680px;
	font-size: 1.05rem;
	line-height: 1.65;
	color: var(--lp-text-soft);
}

.lp-hero-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.lp-section {
	margin-bottom: 12px;
}

.lp-section h2 {
	margin: 0 0 18px;
	font-size: clamp(1.35rem, 2.2vw, 2rem);
	color: #ffffff;
  text-align: center;
}

.lp-features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.lp-feature-card {
	background: var(--lp-card);
	border: 1px solid var(--lp-border);
	border-radius: var(--lp-radius-md);
	padding: 24px;
	box-shadow: 0 8px 20px rgba(13, 33, 67, 0.06);
}

.lp-feature-card h3 {
	margin: 0 0 10px;
	font-size: 1.08rem;
	color: #10284d;
}

.lp-feature-card p {
	margin: 0;
	line-height: 1.6;
	color: var(--lp-text-soft);
}

.lp-why {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 22px;
	align-items: stretch;
}

.lp-why-content,
.lp-why-image {
	background: var(--lp-card);
	border: 1px solid var(--lp-border);
	border-radius: var(--lp-radius-md);
	padding: 24px;
}

.lp-why-content p {
	margin: 0 0 14px;
	line-height: 1.7;
	color: var(--lp-text-soft);
}

.lp-why-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.lp-why-list li {
	position: relative;
	padding-left: 22px;
	color: #1a3159;
}

.lp-why-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 8px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--lp-primary);
}

.lp-why-image {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 240px;
	background:
		radial-gradient(circle at 30% 25%, rgba(240, 139, 29, 0.35), transparent 48%),
		linear-gradient(145deg, #172f56 0%, #0f2242 100%);
	color: #fff;
	font-weight: 700;
	text-align: center;
}

.lp-articles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 18px;
}

.lp-article-card {
	background: var(--lp-card);
	border: 1px solid var(--lp-border);
	border-radius: var(--lp-radius-md);
	overflow: hidden;
}

.lp-article-link,
.lp-article-link:hover,
.lp-article-link:focus,
.lp-article-link:active {
	display: block;
	color: inherit;
	text-decoration: none;
}

.lp-article-media {
	height: 140px;
	background: linear-gradient(135deg, #17315a, #23457e);
}

.lp-article-content {
	padding: 10px;
  text-align: center;
}

.lp-article-content h3 {
	margin: 0 0 8px;
	font-size: 1.04rem;
	color: #10284d;
}

.lp-article-content p {
	margin: 0;
	color: var(--lp-text-soft);
	line-height: 1.6;
}

.lp-articles-more {
	display: flex;
	justify-content: center;
}

.lp-newsletter {
	background: #122a50;
	border-radius: var(--lp-radius-lg);
	padding: 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	color: #f5f8ff;
}

.lp-newsletter h3 {
	margin: 0;
	font-size: 1.3rem;
}

.lp-newsletter p {
	margin: 6px 0 0;
	color: #d4dff5;
}

.lp-newsletter-form {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
	justify-content: flex-end;
	min-width: 260px;
}

.lp-newsletter-form input {
	width: min(360px, 100%);
	height: 46px;
	border-radius: 999px;
	border: 1px solid #2f4e7f;
	padding: 0 18px;
	font-size: 0.95rem;
	color: #132a4f;
}

.lp-newsletter-form input:focus {
	outline: 2px solid rgba(240, 139, 29, 0.45);
	outline-offset: 1px;
}

@media (max-width: 991px) {
	.lp-main {
		padding: 28px 24px 34px;
	}

	.lp-features,
	.lp-articles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lp-why {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 680px) {
	body {
		padding: 20px 10px;
	}

	.lp-container {
		border-radius: 22px;
	}

	.lp-nav {
		align-items: flex-start;
		flex-direction: column;
	}

	.lp-menu {
		gap: 14px;
	}

	.lp-hero {
		padding: 34px 22px;
	}

	.lp-features,
	.lp-articles {
		grid-template-columns: 1fr;
	}

	.lp-newsletter {
		padding: 20px;
	}

	.lp-newsletter-form {
		justify-content: stretch;
		width: 100%;
		flex-direction: column;
	}

	.lp-newsletter-form input,
	.lp-newsletter-form .lp-btn {
		width: 100%;
	}
}

/* Compact language selector for landing nav only */
.lp-lang {
	position: relative;
	display: inline-flex;
	align-items: center;
	z-index: 20;
}

.lp-lang .dropdown-toggle {
	height: 34px;
	padding: 6px 10px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: 999px;
	line-height: 1;
}

.lp-lang img,
.lp-lang .img-fluid {
	max-height: 18px;
	width: auto;
	vertical-align: middle;
}

.lp-lang ul,
.lp-lang ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lp-lang li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lp-lang .dropdown-menu {
	display: none;
	position: absolute;

	right: 0;
	left: auto;
	z-index: 2000;
	min-width: 160px;
	margin: 0;
	padding: 8px;
	background: #ffffff;
	border: 1px solid #dfe7f4;
	border-radius: 12px;
	box-shadow: 0 12px 28px rgba(6, 19, 40, 0.16);
}

.lp-lang .dropdown-item,
.lp-lang .dropdown-menu button,
.lp-lang .dropdown-menu a {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 7px 8px;
	border-radius: 8px;
	white-space: nowrap;
}

.lp-lang .dropdown-item:hover,
.lp-lang .dropdown-menu button:hover,
.lp-lang .dropdown-menu a:hover {
	background: #f3f7ff;
}

.lp-lang:hover .dropdown-menu,
.lp-lang:focus-within .dropdown-menu {
	display: block;
}

.lp-nav.lp-nav--outside {
	position: relative;
	z-index: 10;
	padding: 12px 24px;
	background: rgba(10, 16, 26, 0.55);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(255,255,255,0.06);
}

.lp-nav.lp-nav--outside .lp-nav-inner {
	max-width: 1350px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.lp-nav.lp-nav--outside .lp-menu {
	display: flex;
	align-items: center;
	gap: 18px;
}

.lp-nav.lp-nav--outside .lp-logo {
	color: #fff;
	text-decoration: none;
	font-weight: 800;
}

.lp-nav.lp-nav--outside .lp-menu a {
	color: rgba(255, 255, 255, .85);
	text-decoration: none;
}

.lp-nav.lp-nav--outside .lp-menu a:hover {
	color: #fff;
}

/* Landing: remove big white shell card to match main-page style */
.lp-shell.lp-container {
	background: transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	overflow: visible !important;
}

/* keep content centered */
.lp-shell.lp-container {
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* Landing hero: dark variant (match reference) */
.lp-hero {
	background: rgba(10, 18, 34, 0.65) !important;
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 24px;
}

.lp-hero h1,
.lp-hero p {
	color: #fff !important;
}

.lp-hero p {
	color: rgba(255,255,255,0.78) !important;
}

.lp-hero .lp-btn-dark {
	background: transparent;
	border: 1px solid rgba(255,255,255,0.25);
	color: #fff;
}

.lp-hero .lp-btn-dark:hover {
	border-color: rgba(255,255,255,0.45);
}

/* Wide container for header + hero (match reference width) */
.lp-wide {
	max-width: 1350px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

/* Keep normal content narrower (do NOT change cards now) */
.lp-main {

	margin-left: auto;
	margin-right: auto;
}

.lp-hero.lp-wide {
	max-width: none;
}

.lp-hero-grid{
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 32px;
	align-items: center;
}

.lp-hero-right{
	min-height: 260px;
	background: url('/image/btc-hero.png') no-repeat center / contain;
	opacity: 0.9;
}

@media (max-width: 900px){
	.lp-hero-grid{ grid-template-columns: 1fr; }
	.lp-hero-right{ min-height: 180px; opacity: 0.6; }
}

/* === WIDE vs CONTENT separation (override, safe) === */

/* Ensure shell/main do not constrain width (CONTENT is constrained by lp-content wrapper) */
.lp-shell.lp-container { max-width: none; }
.lp-main { max-width: 1320px; }

/* Content wrapper: keep original site content width */
.lp-content.lp-container {
	
	margin: 0 auto;
}

/* Header wide: outside nav-inner must not be capped at 1180 */
.lp-nav.lp-nav--outside .lp-nav-inner {
	max-width: 1350px;
	margin: 0 auto;
}

/* === Landing tweaks: center chaos title + brand coloring === */

/* Center the title of the "chaos" section only:
   relies on the first .lp-section directly after hero (current structure). */
.lp-hero + .lp-content .lp-section:first-of-type > h2 {
	text-align: center;
}

/* If there's a subtitle/paragraph right under that title, center it too (safe). */
.lp-hero + .lp-content .lp-section:first-of-type > p,
.lp-hero + .lp-content .lp-section:first-of-type .lp-lead {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

/* Split brand colors (landing only) */
.lp-logo { letter-spacing: 0.5px; }
.lp-logo .lp-logo-btc { color: #ffffff; padding-right: 1px; }
.lp-logo .lp-logo-style { color: #f7931a; }

/* ===== MOBILE HAMBURGER MENU (landing only) ===== */

.lp-nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
}

.lp-nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: rgba(255,255,255,0.92);
  border-radius: 2px;
}

/* mobile layout */
@media (max-width: 900px) {

  .lp-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .lp-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* hide menu by default */
  .lp-menu {
    display: none;
  }

  /* opened state */
  .lp-nav.is-open .lp-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 14px 16px;
    gap: 10px;
    background: rgba(10,16,28,0.97);
    border-top: 1px solid rgba(255,255,255,0.08);
    z-index: 999;
  }

  .lp-nav.is-open .lp-menu a,
  .lp-nav.is-open .lp-menu .lp-lang {
    padding: 10px 8px;
    border-radius: 10px;
  }

  .lp-nav.lp-nav--outside {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .lp-nav.lp-nav--outside .lp-nav-inner {
    position: relative;
  }
}

/* === FIX: hamburger bars stacking + force-hide menu on mobile === */
@media (max-width: 900px) {

  /* Ensure toggle icon is 3 bars VERTICALLY (not side-by-side) */
  .lp-nav-toggle {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    line-height: 0 !important;
  }
  .lp-nav-toggle__bar {
    display: block !important;
    flex: 0 0 auto !important;
    width: 22px !important;
    height: 2px !important;
    margin: 0 !important;
  }

  /* Force-hide menu until opened (existing CSS likely overrides this) */
  .lp-nav .lp-menu {
    display: none !important;
  }

  /* Opened state */
  .lp-nav.is-open .lp-menu {
    display: flex !important;
  }

  /* Reduce header height a bit (optional but helps) */
  .lp-nav.lp-nav--outside {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* === Mobile: language switcher stays in top bar (outside hamburger panel) === */
@media (max-width: 900px) {
  .lp-lang.lp-lang--top {
    display: inline-flex;
    align-items: center;
    margin-left: auto; /* push it to the right */
    margin-right: 6px; /* small gap before hamburger */
  }

  /* remove any panel styling that might apply to lp-lang inside menu (now moved out) */
  .lp-nav.is-open .lp-menu .lp-lang {
    display: none !important;
  }
}


/* === Header: place language next to menu (desktop) and next to hamburger (mobile) === */

/* Desktop: keep language on the right, directly before menu */
.lp-nav-inner {
  display: flex;
  align-items: center;
}

/* Push language + menu cluster to the right */
.lp-lang.lp-lang--top {
  margin-left: auto !important;
  margin-right: 14px;
  display: inline-flex;
  align-items: center;
}

/* Ensure menu itself doesn't re-push layout unexpectedly */
.lp-menu {
  margin-left: 0 !important;
}

/* Mobile: keep language near hamburger; menu panel stays without language */
@media (max-width: 900px) {
  .lp-lang.lp-lang--top {
    margin-right: 8px;
  }
  .lp-nav.is-open .lp-menu .lp-lang {
    display: none !important;
  }
}


/* === Chaos section (template-like) === */

/* Target: first section inside lp-content after hero (your current structure) */
.lp-hero + .lp-content .lp-section:first-of-type {
  padding-top: 10px;
}

.lp-hero + .lp-content .lp-section:first-of-type > h2 {
  text-align: center;
  margin-bottom: 10px;
}

.lp-hero + .lp-content .lp-section:first-of-type > p {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 26px;
  opacity: 0.9;
}

/* Cards grid */
.lp-hero + .lp-content .lp-section:first-of-type .lp-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* Individual card (try common selectors; if your class differs, we�ll adjust after inspection) */
.lp-hero + .lp-content .lp-section:first-of-type .lp-features > * {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 22px 22px 20px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.30);
  min-height: 210px;

  display: flex;
  flex-direction: column;
}

/* Headings inside cards */
.lp-hero + .lp-content .lp-section:first-of-type .lp-features > * h3,
.lp-hero + .lp-content .lp-section:first-of-type .lp-features > * h4 {
  margin-top: 0;
  margin-bottom: 10px;
}

/* Make card body readable */
.lp-hero + .lp-content .lp-section:first-of-type .lp-features > * p {
  margin-top: 0;
  opacity: 0.9;
}

/* Push button(s) to bottom of card */
.lp-hero + .lp-content .lp-section:first-of-type .lp-features > * .lp-btn,
.lp-hero + .lp-content .lp-section:first-of-type .lp-features > * a.lp-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Hover like template (subtle) */
@media (hover: hover) {
  .lp-hero + .lp-content .lp-section:first-of-type .lp-features > *:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.16);
  }
}

/* Mobile stacking */
@media (max-width: 900px) {
  .lp-hero + .lp-content .lp-section:first-of-type .lp-features {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .lp-hero + .lp-content .lp-section:first-of-type .lp-features > * {
    border-radius: 16px;
  }
}


/* === Chaos cards: match template (contrast + image strip + buttons) === */

/* scope: first lp-section in lp-content after hero */
.lp-hero + .lp-content .lp-section:first-of-type .lp-features > * {
  /* card base like template */
  background: linear-gradient(180deg, rgba(7,14,26,0.72), rgba(7,14,26,0.46));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 45px rgba(0,0,0,0.40);
  color: rgba(255,255,255,0.92);
  overflow: hidden; /* so image strip rounds nicely */
  padding: 0;       /* we'll control padding inside */
}

/* inner spacing for typical structure (most cards have h3+p+a directly) */
.lp-hero + .lp-content .lp-section:first-of-type .lp-features > * > * {
  padding-left: 22px;
  padding-right: 22px;
}

/* image strip (top) */
.lp-hero + .lp-content .lp-section:first-of-type .lp-features > *::before {
  content: "";
  display: block;
  height: 270px;                 /* template-like */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* headings/text */
.lp-hero + .lp-content .lp-section:first-of-type .lp-features > * h3,
.lp-hero + .lp-content .lp-section:first-of-type .lp-features > * h4 {
  color: #fff;
  margin: 18px 0 10px;
}

.lp-hero + .lp-content .lp-section:first-of-type .lp-features > * p {
  color: rgba(255,255,255,0.72);
  margin: 0 0 16px;
}

/* push CTA to bottom and style like template (outline) */
.lp-hero + .lp-content .lp-section:first-of-type .lp-features > * a.lp-btn {
  margin-top: auto;
  margin-bottom: 18px;
  display: inline-flex;
  align-self: flex-start;
}

/* Ensure outline buttons have enough contrast on dark */
.lp-hero + .lp-content .lp-section:first-of-type .lp-features > * .lp-btn-outline,
.lp-hero + .lp-content .lp-section:first-of-type .lp-features > * a.lp-btn-outline,
.lp-hero + .lp-content .lp-section:first-of-type .lp-features > * a.lp-btn {
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.92);
  background: transparent;
}

@media (hover: hover) {
  .lp-hero + .lp-content .lp-section:first-of-type .lp-features > *:hover {
    border-color: rgba(255,255,255,0.16);
    transform: translateY(-2px);
  }
}

/* === SET IMAGE URLS === */
.lp-hero + .lp-content .lp-section:first-of-type .lp-features > *:nth-child(1)::before {
  background-image: url('/image/learning.png');
}
.lp-hero + .lp-content .lp-section:first-of-type .lp-features > *:nth-child(2)::before {
  background-image: url('/image/btckniha.png');
}
.lp-hero + .lp-content .lp-section:first-of-type .lp-features > *:nth-child(3)::before {
  background-image: url('/image/tricka.png');
}


/* Wide container for header + hero (match reference width) */
.lp-wide {
  max-width: 1520px;   /* adjust later to match reference exactly */
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* Keep normal content narrower (do NOT change cards now) */
.lp-main {
  max-width: 1200px;   /* only if lp-main already uses a max-width; otherwise skip */
  margin-left: auto;
  margin-right: auto;
}

/* Avoid hero max-width conflicts */
.lp-hero.lp-wide {
  max-width: none;
}


/* === "Pre�o BTCSTYLE?" section: template-like split cards === */

/* Try to target by heading text area: section that contains the h2 with BTCSTYLE */
.lp-content .lp-section h2 + .lp-split,
.lp-content .lp-section .lp-split {
  /* if you already have a split wrapper, this will refine it */
}

/* Common split wrapper: make it a 2-col grid when possible */
.lp-content .lp-section .lp-split,
.lp-content .lp-section .lp-why-grid,
.lp-content .lp-section .lp-why {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}

/* Panels inside split */
.lp-content .lp-section .lp-split > *,
.lp-content .lp-section .lp-why-grid > *,
.lp-content .lp-section .lp-why > * {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 45px rgba(0,0,0,0.40);
  overflow: hidden;
}

/* Left panel: dark card like template */
.lp-content .lp-section .lp-split > *:first-child,
.lp-content .lp-section .lp-why-grid > *:first-child,
.lp-content .lp-section .lp-why > *:first-child {
  background: linear-gradient(180deg, rgba(7,14,26,0.72), rgba(7,14,26,0.46));
  color: rgba(255,255,255,0.92);
  padding: 22px 24px;
}

.lp-content .lp-section .lp-split > *:first-child p,
.lp-content .lp-section .lp-why-grid > *:first-child p,
.lp-content .lp-section .lp-why > *:first-child p,
.lp-content .lp-section .lp-split > *:first-child li,
.lp-content .lp-section .lp-why-grid > *:first-child li,
.lp-content .lp-section .lp-why > *:first-child li {
  color: rgba(255,255,255,0.74);
}

/* Bullet styling (orange dots like template) */
.lp-content .lp-section .lp-split > *:first-child ul,
.lp-content .lp-section .lp-why-grid > *:first-child ul,
.lp-content .lp-section .lp-why > *:first-child ul {
  margin: 14px 0 0;
  padding-left: 18px;
}
.lp-content .lp-section .lp-split > *:first-child li::marker,
.lp-content .lp-section .lp-why-grid > *:first-child li::marker,
.lp-content .lp-section .lp-why > *:first-child li::marker {
  color: #f7931a;
}

/* Right panel: image container */
.lp-content .lp-section .lp-split > *:last-child,
.lp-content .lp-section .lp-why-grid > *:last-child,
.lp-content .lp-section .lp-why > *:last-child {
  background: radial-gradient(circle at 20% 20%, rgba(247,147,26,0.22), rgba(7,14,26,0.60)),
              linear-gradient(180deg, rgba(7,14,26,0.70), rgba(7,14,26,0.40));
  min-height: 210px;
  position: relative;
}

/* If the right panel contains placeholder text, keep it readable */
.lp-content .lp-section .lp-split > *:last-child,
.lp-content .lp-section .lp-why-grid > *:last-child,
.lp-content .lp-section .lp-why > *:last-child {
  color: rgba(255,255,255,0.85);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
}

/* Mobile stack */
@media (max-width: 900px) {
  .lp-content .lp-section .lp-split,
  .lp-content .lp-section .lp-why-grid,
  .lp-content .lp-section .lp-why {
    grid-template-columns: 1fr;
  }
}

/* === Why section: single combined panel (template-like) === */
.lp-why-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0; /* no visual separation */
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 45px rgba(0,0,0,0.40);
  overflow: hidden;

  background: linear-gradient(180deg, rgba(7,14,26,0.72), rgba(7,14,26,0.46));
}

.lp-why-text {
  padding: 22px 24px;
  color: rgba(255,255,255,0.92);
}

.lp-why-text p,
.lp-why-text li {
  color: rgba(255,255,255,0.74);
}

.lp-why-text ul {
  margin: 14px 0 0;
  padding-left: 18px;
}
.lp-why-text li::marker {
  color: #f7931a;
}

/* Right media area */
.lp-why-media {
  position: relative;
  min-height: 220px;
}

/* Actual image layer (easy to swap URL) */
.lp-why-media__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* TODO: replace with your real image path */
  background-image: url('/image/whybtc.png');

  /* Overlay to match dark theme */
  filter: saturate(0.95) contrast(1.05);
}

/* Dark overlay for readability / template feel */
.lp-why-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(247,147,26,0.20), rgba(7,14,26,0.55)),
              linear-gradient(180deg, rgba(7,14,26,0.35), rgba(7,14,26,0.65));
}

/* Hide placeholder text (keep for fallback if image missing) */
.lp-why-media__fallback {
  position: relative;
  z-index: 1;
  display: none;
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 18px;
}

/* Mobile stack */
@media (max-width: 900px) {
  .lp-why-panel {
    grid-template-columns: 1fr;
  }
  .lp-why-media {
    min-height: 200px;
  }
}

/* === Fix: "Pre�o BTCSTYLE?" wrapper must NOT create extra empty grid column === */
.lp-content .lp-section .lp-why {
  display: block !important;
}

/* Safety: if parent remains grid for any reason, force the panel to span all columns */
.lp-content .lp-section .lp-why .lp-why-panel {
  grid-column: 1 / -1;
  width: 100%;
}

/* === Fix: ensure why image is visible (stacking order) === */
.lp-why-media {
  position: relative;
}

.lp-why-media__img {
  z-index: 0;
}

.lp-why-media::after {
  z-index: 1;
  pointer-events: none;
  /* keep overlay but not too strong */
  opacity: 0.75;
}

.lp-why-media__fallback {
  position: relative;
  z-index: 2;
}


/* === Fix: ensure why media area has size and isn't overridden by generic last-child rules === */
.lp-why-media {
  position: relative !important;
  min-height: 260px !important;
  display: block !important;      /* override any inherited grid/centering */
  place-items: unset !important;  /* in case it's applied via grid */
  text-align: left !important;
  padding: 0 !important;
  overflow: hidden;
}

.lp-why-media__img {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.lp-why-media::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none;
  background: radial-gradient(circle at 20% 20%, rgba(247,147,26,0.18), rgba(7,14,26,0.55)),
              linear-gradient(180deg, rgba(7,14,26,0.25), rgba(7,14,26,0.65));
  opacity: 0.70;
}

.lp-why-media__fallback {
  position: relative;
  z-index: 2;
  display: none;
}

/* === WHY section namespace: neutralize generic split rules + final layout === */
.lp-content .lp-section--why .lp-why > .lp-why-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 45px rgba(0,0,0,0.40);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(7,14,26,0.72), rgba(7,14,26,0.46));
  padding: 0;
  text-align: left;
  place-items: unset;
  min-height: 0;
}

/* Reset generic first/last-child split styling only for this section */
.lp-content .lp-section--why .lp-why > *:first-child,
.lp-content .lp-section--why .lp-why > *:last-child {
  padding: 0;
  text-align: left;
  place-items: unset;
  min-height: 0;
  color: inherit;
}

.lp-section--why .lp-why-text {
  padding: 22px 24px;
  color: rgba(255,255,255,0.92);
}

.lp-section--why .lp-why-text p,
.lp-section--why .lp-why-text li {
  color: rgba(255,255,255,0.74);
}

.lp-section--why .lp-why-text ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.lp-section--why .lp-why-text li::marker {
  color: #f7931a;
}

.lp-section--why .lp-why-media {
  position: relative;
  min-height: 240px;
  overflow: hidden;
}

.lp-section--why .lp-why-media__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.lp-section--why .lp-why-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at 20% 20%, rgba(247,147,26,0.18), rgba(7,14,26,0.55)),
              linear-gradient(180deg, rgba(7,14,26,0.25), rgba(7,14,26,0.65));
  opacity: 0.65;
}

.lp-section--why .lp-why-media__fallback {
  position: relative;
  z-index: 2;
  display: none;
}

@media (max-width: 900px) {
  .lp-content .lp-section--why .lp-why > .lp-why-panel {
    grid-template-columns: 1fr;
  }

  .lp-section--why .lp-why-media {
    min-height: 200px;
  }
}

/* === Center heading only in WHY section === */
.lp-section--why > h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* z�rove� mierne zlep�� vertik�lny spacing ako v template */
.lp-section--why > h2 {
  margin-bottom: 22px;
}


/* === Newsletter: center like template (landing only) === */
.lp-newsletter {
  /* keep the outer bar but center its content */
  padding: 28px 0;
  max-width: 1200px;
}

.lp-newsletter .lp-container,
.lp-newsletter .lp-wide,
.lp-newsletter .lp-newsletter-inner {
  /* we�ll normalize once we see exact structure */
}

/* Try common patterns: if there is an inner wrapper, make it a centered card */
.lp-newsletter .lp-newsletter-inner,
.lp-newsletter .lp-newsletter-wrap,
.lp-newsletter .lp-newsletter-content,
.lp-newsletter .lp-newsletter-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 22px;

  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

/* Layout inside card: text + form */
.lp-newsletter .lp-newsletter-inner,
.lp-newsletter .lp-newsletter-wrap,
.lp-newsletter .lp-newsletter-content,
.lp-newsletter .lp-newsletter-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Left text block */
.lp-newsletter h2,
.lp-newsletter h3 {
  margin: 0 0 6px;
}
.lp-newsletter p {
  margin: 0;
  opacity: 0.85;
}

/* Form alignment (input + button) */
.lp-newsletter form {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.lp-newsletter input[type="email"],
.lp-newsletter input[type="text"] {
  min-width: 320px;
  height: 44px;
  border-radius: 999px;
}

.lp-newsletter button,
.lp-newsletter .lp-btn {
  height: 44px;
  border-radius: 999px;
}

/* Mobile: stack */
@media (max-width: 900px) {
  .lp-newsletter .lp-newsletter-inner,
  .lp-newsletter .lp-newsletter-wrap,
  .lp-newsletter .lp-newsletter-content,
  .lp-newsletter .lp-newsletter-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .lp-newsletter form {
    justify-content: center;
    flex-wrap: wrap;
  }

  .lp-newsletter input[type="email"],
  .lp-newsletter input[type="text"] {
    min-width: 0;
    width: 100%;
    max-width: 420px;
  }

  .lp-newsletter button,
  .lp-newsletter .lp-btn {
    width: 100%;
    max-width: 220px;
  }
}


/* === Center newsletter footer content === */

/* footer bar itself */
.lp-newsletter {
  display: flex;
  justify-content: center;   /* THIS is the real fix */
}

/* inner content wrapper (whatever div is directly inside footer) */
.lp-newsletter > * {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* layout inside */
.lp-newsletter > * {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

/* mobile stack */
@media (max-width: 900px) {
  .lp-newsletter > * {
    flex-direction: column;
    text-align: center;
  }
}


/* === Newsletter footer: centered 2-column layout like template (no HTML changes) === */
footer.lp-newsletter {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title form"
    "text form";
  align-items: center;
  column-gap: 28px;
  row-gap: 12px;

  padding: 22px 24px;
}

/* Map existing children into grid areas (title/text are inside first div) */
footer.lp-newsletter > div {
  min-width: 0;
}

footer.lp-newsletter > div > h3 {
  grid-area: title;
  margin: 0;
}

footer.lp-newsletter > div > p {
  grid-area: text;
  margin: 0;
  opacity: 0.85;
}

/* form on the right */
footer.lp-newsletter > form {
  grid-area: form;
  margin: 0;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* input sizing */
footer.lp-newsletter input[type="email"],
footer.lp-newsletter input[type="text"] {
  width: 320px;
  max-width: 52vw;
  height: 42px;
  border-radius: 999px;
}

/* button sizing */
footer.lp-newsletter button,
footer.lp-newsletter .lp-btn {
  height: 42px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Mobile: stack everything centered */
@media (max-width: 900px) {
  footer.lp-newsletter {
    max-width: 100%;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "text"
      "form";
    text-align: center;
  }

  footer.lp-newsletter > div > p {
    text-align: center;
  }

  footer.lp-newsletter > form {
    justify-self: center;
    flex-wrap: wrap;
    justify-content: center;
  }

  footer.lp-newsletter input[type="email"],
  footer.lp-newsletter input[type="text"] {
    width: min(420px, 92vw);
    max-width: 92vw;
  }
}

/* Newsletter subscribe states */
.lp-newsletter-consent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.84);
}

.lp-newsletter-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.lp-newsletter-result {
  grid-column: 1 / -1;
  min-height: 1.2em;
  margin-top: 4px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.86);
}

.lp-newsletter-result.is-success {
  color: #9fe6b8;
}

.lp-newsletter-result.is-error {
  color: #ff9da1;
}

/* Newsletter: consent under email input (grid layout) */
.lp-newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "email button"
    "consent consent";
  gap: 12px;
  align-items: center;
}

.lp-newsletter-form .lp-input {
  grid-area: email;
  width: 100%;
}

.lp-newsletter-form .lp-btn {
  grid-area: button;
  white-space: nowrap;
}

.lp-newsletter-consent {
  grid-area: consent;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}

.lp-newsletter-consent input[type="checkbox"] {
  margin-top: 2px;
}

/* Mobile: stack */
@media (max-width: 640px) {
  .lp-newsletter-form {
    grid-template-columns: 1fr;
    grid-template-areas:
      "email"
      "consent"
      "button";
  }

  .lp-newsletter-form .lp-btn {
    width: 100%;
  }
}


/* FORCE newsletter layout to grid (override old flex layout) */
footer.lp-newsletter form.lp-newsletter-form {
  display: grid !important;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "email button"
    "consent consent";
  gap: 12px;
  align-items: center;
}

footer.lp-newsletter form.lp-newsletter-form > input.lp-input {
  grid-area: email;
  width: 100%;
}

footer.lp-newsletter form.lp-newsletter-form > button.lp-btn {
  grid-area: button;
  white-space: nowrap;
}

footer.lp-newsletter form.lp-newsletter-form > label.lp-newsletter-consent {
  grid-area: consent;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}

footer.lp-newsletter form.lp-newsletter-form > label.lp-newsletter-consent input[type="checkbox"] {
  margin-top: 2px;
}

/* Mobile stacking */
@media (max-width: 640px) {
  footer.lp-newsletter form.lp-newsletter-form {
    grid-template-columns: 1fr;
    grid-template-areas:
      "email"
      "consent"
      "button";
  }

  footer.lp-newsletter form.lp-newsletter-form > button.lp-btn {
    width: 100%;
  }
}


#join-section {
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.join-highlight {
    box-shadow: 0 0 0 3px rgba(247,147,26,0.7),
                0 0 30px rgba(247,147,26,0.45);
    transform: scale(1.01);
}

.lp-articles .lp-article-card:first-child .lp-article-media {
    background-image: url('/image/blockchain.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.lp-articles .lp-article-card:nth-child(2) .lp-article-media {
    background-image: url('/image/desatoro.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.lp-articles .lp-article-card:nth-child(3) .lp-article-media {
    background-image: url('/image/wallet.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
