/* linknabio.de — Landing (light + dark) */

.index {
	--idx-bg: #f4f4f5;
	--idx-surface: #ffffff;
	--idx-surface-2: #fafafa;
	--idx-border: rgba(24, 24, 27, 0.08);
	--idx-text: #18181b;
	--idx-muted: #71717a;
	--idx-primary: #7c3aed;
	--idx-primary-dark: #6d28d9;
	--idx-primary-soft: rgba(124, 58, 237, 0.12);
	--idx-shadow: 0 8px 30px rgba(24, 24, 27, 0.08);
	--idx-shadow-lg: 0 20px 50px rgba(24, 24, 27, 0.12);
	--idx-nav-pill: transparent;
	--idx-check: #18181b;
	--idx-pro-head: rgba(124, 58, 237, 0.1);

	background: var(--idx-bg);
	color: var(--idx-text);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

[data-theme-style="dark"].index {
	--idx-bg: #09090b;
	--idx-surface: #18181b;
	--idx-surface-2: #27272a;
	--idx-border: rgba(255, 255, 255, 0.08);
	--idx-text: #fafafa;
	--idx-muted: #a1a1aa;
	--idx-primary: #8b5cf6;
	--idx-primary-dark: #7c3aed;
	--idx-primary-soft: rgba(139, 92, 246, 0.18);
	--idx-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
	--idx-shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
	--idx-nav-pill: #27272a;
	--idx-check: #fafafa;
	--idx-pro-head: rgba(139, 92, 246, 0.22);
}

.index .col {
	top: auto !important;
}

/* Navbar */
.index #navbar.index-navbar {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	border-radius: 0;
	min-height: auto;
}

.index #navbar .navbar-brand {
	display: flex;
	align-items: center;
	padding-top: 0;
	padding-bottom: 0;
	font-weight: 700;
	color: var(--idx-text) !important;
}

.index #navbar .navbar-logo {
	max-height: 36px;
	height: auto;
	display: block;
}

@media (min-width: 992px) {
	[data-theme-style="dark"].index #navbar .navbar-collapse {
		background: var(--idx-nav-pill);
		border-radius: 999px;
		padding: 0.35rem 0.75rem 0.35rem 1rem;
		width: auto;
		flex-grow: 0;
	}

	[data-theme-style="dark"].index #navbar .navbar-nav > li {
		padding: 0.25rem 0.5rem !important;
	}

	[data-theme-style="dark"].index #navbar .nav-link {
		color: var(--idx-text) !important;
	}
}

.index .app-footer {
	border: none;
	background: transparent;
	padding-top: 0;
	margin-top: 0;
}

/* Buttons */
.index-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0.85rem 1.35rem;
	border-radius: 0.75rem;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none !important;
	border: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.index-btn--primary {
	background: var(--idx-primary);
	color: #fff !important;
	box-shadow: 0 10px 28px rgba(124, 58, 237, 0.35);
}

.index-btn--primary:hover {
	background: var(--idx-primary-dark);
	transform: translateY(-1px);
	color: #fff !important;
}

.index-btn--block {
	width: 100%;
}

.index-btn--cta {
	padding: 0.9rem 1.75rem;
	margin-top: 1.5rem;
}

/* Hero */
.index-hero {
	padding: 0.5rem 0 2.5rem;
}

.index-hero-card {
	background: var(--idx-surface);
	border: 1px solid var(--idx-border);
	border-radius: 1.75rem;
	box-shadow: var(--idx-shadow-lg);
	overflow: hidden;
}

.index-hero-card > .row {
	min-height: 0;
}

@media (min-width: 992px) {
	.index-hero-card > .row {
		min-height: 400px;
	}
}

.index-hero-card__content {
	padding: 2rem 1.75rem;
}

@media (min-width: 992px) {
	.index-hero-card__content {
		padding: 3.5rem 2.5rem 3.5rem 3rem;
	}
}

.index-hero-card__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--idx-primary);
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.index-hero-card__title {
	font-size: clamp(1.85rem, 4vw, 2.75rem) !important;
	font-weight: 800 !important;
	line-height: 1.12 !important;
	letter-spacing: -0.03em !important;
	color: var(--idx-text) !important;
	margin-bottom: 1rem;
}

.index-hero-card__lead {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--idx-muted);
	margin-bottom: 1.75rem;
	max-width: 32rem;
}

.index-hero-art-col {
	padding: 0 !important;
}

.index-hero-art {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 320px;
	padding: 1.5rem 1rem;
	background: var(--idx-surface);
	overflow: hidden;
}

@media (min-width: 992px) {
	.index-hero-art {
		min-height: 400px;
		padding: 2rem 1.5rem;
		border-radius: 0 1.65rem 1.65rem 0;
	}
}

.index-hero-art__scene {
	position: relative;
	display: block;
	width: 100%;
	max-width: 380px;
	height: auto;
	margin: 0 auto;
	object-fit: contain;
	object-position: center;
	animation: index-hero-scene-float 5s ease-in-out infinite;
}

@media (min-width: 992px) {
	.index-hero-art__scene {
		max-width: 420px;
	}
}

@keyframes index-hero-scene-float {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

[data-theme-style="dark"] .index-hero-art {
	background: #101012;
}

[data-theme-style="dark"] .index-hero-art__scene {
	filter: saturate(1.05) brightness(0.95);
}

/* Sections */
.index-block {
	padding: 3.5rem 0;
}

.index-block-head {
	text-align: center;
	max-width: 42rem;
	margin: 0 auto 2.5rem;
}

.index-block-head__title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.025em;
	color: var(--idx-text);
	margin-bottom: 0.85rem;
}

.index-block-head__lead {
	font-size: 0.98rem;
	line-height: 1.65;
	color: var(--idx-muted);
	margin: 0;
}

/* Features carousel */
.index-carousel-wrap {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.index-carousel {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	padding: 0.25rem 0.15rem 1rem;
	scrollbar-width: none;
	flex: 1;
}

.index-carousel::-webkit-scrollbar {
	display: none;
}

.index-slide-card {
	flex: 0 0 min(220px, 78vw);
	scroll-snap-align: start;
	background: var(--idx-surface);
	border: 1px solid var(--idx-border);
	border-radius: 1.25rem;
	padding: 1.5rem 1.25rem;
	text-align: center;
	box-shadow: var(--idx-shadow);
	min-height: 260px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.index-slide-card__icon {
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--slide-bg, var(--idx-primary-soft));
	color: var(--slide-accent, var(--idx-primary));
	font-size: 1.1rem;
	margin-bottom: 1rem;
}

.index-slide-card__title {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--idx-text);
	margin-bottom: 0.65rem;
	line-height: 1.35;
}

.index-slide-card__text {
	font-size: 0.82rem;
	line-height: 1.55;
	color: var(--idx-muted);
	margin: 0;
}

.index-carousel-nav {
	flex-shrink: 0;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	border: 1px solid var(--idx-border);
	background: var(--idx-surface);
	color: var(--idx-muted);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.index-carousel-nav:hover {
	background: var(--idx-surface-2);
	color: var(--idx-text);
}

.index-carousel-dots {
	display: flex;
	justify-content: center;
	gap: 0.45rem;
	margin-top: 0.5rem;
}

.index-carousel-dot {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	border: none;
	padding: 0;
	background: var(--idx-border);
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.index-carousel-dot.is-active {
	background: var(--idx-primary);
	transform: scale(1.15);
}

@media (max-width: 767px) {
	.index-carousel-nav {
		display: none;
	}
}

/* Pricing */
.index-block--pricing {
	padding-top: 2rem;
}

.index-plans {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	max-width: 920px;
	margin: 0 auto;
}

@media (min-width: 992px) {
	.index-plans {
		grid-template-columns: 1fr 1fr;
		align-items: stretch;
	}
}

.index-plan {
	background: var(--idx-surface);
	border: 1px solid var(--idx-border);
	border-radius: 1.25rem;
	overflow: hidden;
	box-shadow: var(--idx-shadow);
	display: flex;
	flex-direction: column;
}

.index-plan--pro {
	border-color: rgba(124, 58, 237, 0.25);
	box-shadow: var(--idx-shadow-lg);
}

.index-plan__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid var(--idx-border);
}

.index-plan__header--pro {
	background: var(--idx-pro-head);
	border-bottom-color: transparent;
}

.index-plan__name {
	font-size: 1.35rem;
	font-weight: 800;
	margin: 0;
	color: var(--idx-text);
}

.index-plan__label {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--idx-muted);
}

.index-plan__badge {
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	background: var(--idx-primary-soft);
	color: var(--idx-primary);
	font-size: 0.75rem;
	font-weight: 700;
}

.index-plan__body {
	padding: 1.25rem 1.5rem 1.5rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.index-plan__list {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem;
	flex: 1;
}

.index-plan__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin-bottom: 0.75rem;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--idx-muted);
}

.index-plan__list i {
	color: var(--idx-check);
	margin-top: 0.15rem;
	flex-shrink: 0;
	font-size: 0.75rem;
}

/* Final CTA */
.index-block--cta {
	padding: 3rem 0 4rem;
}

.index-cta-title {
	font-size: clamp(1.35rem, 3vw, 1.85rem);
	font-weight: 800;
	color: var(--idx-text);
	margin-bottom: 0;
	letter-spacing: -0.02em;
}

/* Site footer */
.index-site-footer {
	padding: 2.5rem 0 1rem;
	border-top: 1px solid var(--idx-border);
}

.index-site-footer__row {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	text-align: center;
	margin-bottom: 1.75rem;
}

@media (min-width: 992px) {
	.index-site-footer__row {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}
}

.index-site-footer__brand {
	font-weight: 800;
	font-size: 1rem;
	color: var(--idx-text);
}

.index-site-footer__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.25rem;
}

.index-site-footer__nav a {
	color: var(--idx-muted);
	font-size: 0.9rem;
	text-decoration: none;
	font-weight: 500;
}

.index-site-footer__nav a:hover {
	color: var(--idx-text);
}

.index-site-footer__social {
	display: flex;
	gap: 0.85rem;
}

.index-site-footer__social a {
	width: 2rem;
	height: 2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--idx-text);
	opacity: 0.75;
	transition: opacity 0.2s ease;
}

.index-site-footer__social a:hover {
	opacity: 1;
}

.index-site-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--idx-border);
	font-size: 0.85rem;
	color: var(--idx-muted);
}

@media (min-width: 768px) {
	.index-site-footer__bottom {
		flex-direction: row;
		justify-content: space-between;
	}
}

.index-site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
}

.index-site-footer__legal a,
.index-site-footer__lang {
	color: var(--idx-muted) !important;
	font-size: 0.85rem;
}

.index-site-footer__sep {
	opacity: 0.5;
}

.index-site-footer__theme {
	color: var(--idx-muted) !important;
}

/* Overrides do CSS customizado do admin */
.index .footer {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}
