/* ================================
   Dany Landing Page — CSS
   Original brand identity preserved
   ================================ */

:root {
	--color-bg: #ffffff;
	--color-bg-alt: #f9fafb;
	--color-text: #111827;
	--color-text-muted: #6b7280;
	--color-text-light: #9ca3af;
	--color-border: #e5e7eb;
	--color-accent: #ff6b35;
	--color-wa: #25d366;
	--color-wa-elegant: #065f46;
	--radius: 16px;
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
	--shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
	background-color: var(--color-bg);
	color: var(--color-text);
	overflow-x: hidden;
	line-height: 1.6;
}

a {
	text-decoration: none;
	color: inherit;
}

img {
	max-width: 100%;
	height: auto;
}

/* ===== LAYOUT ===== */
.container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}

.container-narrow {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 24px;
}

.section {
	padding: 100px 0;
}

.section-alt {
	background-color: var(--color-bg-alt);
}

.section-header {
	text-align: center;
	margin-bottom: 64px;
}

.section-header h2 {
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 800;
	color: var(--color-text);
	margin-bottom: 12px;
}

.section-header p {
	font-size: 1.125rem;
	color: var(--color-text-muted);
}

/* ===== NAVBAR ===== */
#navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--color-border);
	transition: box-shadow 0.3s ease;
}

#navbar.scrolled {
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.nav-inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
}

.nav-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--color-text);
}

.nav-logo img {
	width: 44px;
	height: 44px;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 28px;
}

.nav-links a {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--color-text-muted);
	transition: color 0.2s;
}

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

.nav-login {
	background: var(--color-bg-alt);
	padding: 8px 20px;
	border-radius: 100px;
	font-weight: 600 !important;
	color: var(--color-text) !important;
	transition:
		background 0.2s,
		transform 0.2s !important;
}

.nav-login:hover {
	background: #e5e7eb !important;
	transform: translateY(-1px);
}

/* Language selector */
.lang-selector {
	position: relative;
}

.lang-selector-btn {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--color-text-muted);
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px 8px;
	border-radius: 8px;
	transition:
		color 0.2s,
		background 0.2s;
}

.lang-selector-btn:hover {
	color: var(--color-text);
	background: var(--color-bg-alt);
}

.lang-selector-btn .lang-code {
	text-transform: uppercase;
	font-weight: 600;
}

.lang-selector-btn svg {
	width: 16px;
	height: 16px;
	color: var(--color-text-light);
}

.lang-dropdown {
	position: absolute;
	right: 0;
	top: 100%;
	margin-top: 4px;
	width: 180px;
	background: white;
	border-radius: 12px;
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--color-border);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition:
		opacity 0.2s,
		visibility 0.2s,
		transform 0.2s;
	overflow: hidden;
	z-index: 200;
}

.lang-selector:hover .lang-dropdown,
.lang-dropdown.open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.lang-dropdown a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	font-size: 0.85rem;
	color: var(--color-text-muted);
	transition: background 0.15s;
}

.lang-dropdown a:hover {
	background: var(--color-bg-alt);
}

.lang-dropdown a.active {
	font-weight: 700;
	background: var(--color-bg-alt);
}

.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--color-text);
}

.mobile-menu {
	display: none;
	flex-direction: column;
	padding: 0 24px 20px;
	gap: 16px;
}

.mobile-menu a {
	font-size: 1rem;
	font-weight: 500;
	color: var(--color-text-muted);
}

.mobile-menu.open {
	display: flex;
}

/* ===== HERO ===== */
.hero {
	padding: 160px 0 100px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero-grid {
	background-image:
		linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
	background-size: 48px 48px;
}

.hero-content {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 24px;
}

.hero-wa-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	margin-bottom: 32px;
}

.wa-icon-3d {
	background-color: var(--color-wa);
	border-radius: 22px;
	box-shadow:
		0 8px 32px rgba(37, 211, 102, 0.4),
		0 2px 8px rgba(0, 0, 0, 0.3);
	transform: perspective(800px) rotateY(-5deg);
	transition:
		transform 0.4s ease,
		box-shadow 0.4s ease;
}

.wa-icon-3d:hover {
	transform: perspective(800px) rotateY(0deg) scale(1.08);
	box-shadow:
		0 12px 40px rgba(37, 211, 102, 0.5),
		0 4px 12px rgba(0, 0, 0, 0.35);
}

.hero-title {
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 800;
	color: var(--color-text);
	margin-bottom: 20px;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.hero-title .accent {
	color: var(--color-accent);
}

.hero-title .wa-green {
	color: var(--color-wa-elegant);
}

.hero-subtitle {
	font-size: clamp(1.1rem, 2.5vw, 1.35rem);
	color: var(--color-text-muted);
	margin-bottom: 40px;
	line-height: 1.6;
}

/* Rotating text */
.rotating-word-container {
	display: inline-block;
	position: relative;
	vertical-align: bottom;
}

.rotating-word {
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
	transform: translateY(8px);
	transition:
		opacity 0.45s ease,
		transform 0.45s ease;
	white-space: nowrap;
	color: var(--color-accent);
	font-weight: 700;
}

.rotating-word.active {
	opacity: 1;
	transform: translateY(0);
	position: relative;
}

/* Actions */
.hero-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.hero-channel-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 36px;
	background: var(--color-accent);
	color: #fff;
	font-size: 1.05rem;
	font-weight: 600;
	border-radius: 100px;
	border: none;
	cursor: pointer;
	transition:
		background 0.2s,
		transform 0.2s,
		box-shadow 0.2s;
	box-shadow: var(--shadow-md);
}

.btn-channel {
	min-width: 180px;
}

.btn-primary:hover {
	background: #e65525;
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.btn-secondary {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--color-text-muted);
	transition: color 0.2s;
}

.btn-secondary:hover {
	color: var(--color-text);
}

.cta-micro {
	font-size: 13px;
	color: var(--color-text-muted);
	margin-top: 8px;
}

/* ===== STEPS GRID ===== */
.steps-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.step-card {
	text-align: center;
	padding: 32px 20px;
	border-radius: var(--radius);
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	transition:
		box-shadow 0.3s,
		transform 0.3s;
}

.step-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-4px);
}

.step-number {
	width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	background: var(--color-accent);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 800;
	box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.step-card h3 {
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 10px;
	color: var(--color-text);
}

.step-card p {
	font-size: 0.9rem;
	color: var(--color-text-muted);
	line-height: 1.5;
}

/* ===== FEATURES ===== */
.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.feature-card {
	padding: 36px 28px;
	border-radius: var(--radius);
	background: var(--color-bg-alt);
	border: 1px solid var(--color-border);
	transition:
		box-shadow 0.3s,
		transform 0.3s;
}

.feature-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-4px);
}

.feature-card h3 {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 10px;
	color: var(--color-text);
}

.feature-card p {
	font-size: 0.95rem;
	color: var(--color-text-muted);
	line-height: 1.5;
}

.feature-icon {
	width: 40px;
	height: 40px;
	background: rgba(255, 107, 53, 0.1);
	border-radius: 10px;
	padding: 8px;
	color: var(--color-accent);
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ===== PROOF BAR ===== */
.proof-bar {
	background: var(--color-text);
	color: #fff;
	padding: 28px 0;
	text-align: center;
}

.proof-bar p {
	font-size: 1rem;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

.proof-dot {
	opacity: 0.3;
	font-size: 1.4rem;
}

/* ===== PRICING ===== */
.pricing-embed {
	max-width: 900px;
	margin: 0 auto;
}

.pricing-fallback {
	display: none;
	margin-top: 24px;
	padding: 18px 20px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.9);
	color: var(--color-text-muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

.pricing-fallback.visible {
	display: block;
}

.pricing-fallback a {
	color: var(--color-accent);
	font-weight: 700;
}

/* ===== FAQ ===== */
.faq-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.faq-item {
	background: var(--color-bg-alt);
	padding: 24px 28px;
	border-radius: var(--radius);
	border: 1px solid var(--color-border);
	transition: box-shadow 0.2s;
}

.faq-item:hover {
	box-shadow: var(--shadow-sm);
}

.faq-item h3 {
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--color-text);
}

.faq-item p {
	font-size: 0.95rem;
	color: var(--color-text-muted);
	line-height: 1.6;
}

/* ===== FOOTER ===== */
.site-footer {
	background: var(--color-bg);
	border-top: 1px solid var(--color-border);
	padding: 48px 0;
}

.footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--color-text-light);
}

.footer-brand img {
	opacity: 1;
	filter: none;
}

.footer-links {
	display: flex;
	gap: 28px;
}

.footer-links a {
	font-size: 0.9rem;
	color: var(--color-text-muted);
	transition: color 0.2s;
}

.footer-links a:hover {
	color: var(--color-text);
}

.footer-copy {
	font-size: 0.8rem;
	color: var(--color-text-light);
}

/* ===== FADE-IN ANIMATION ===== */
.fade-in-up {
	opacity: 0;
	transform: translateY(30px);
	transition:
		opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
	opacity: 1;
	transform: translateY(0);
}

.delay-100 {
	transition-delay: 100ms;
}

.delay-200 {
	transition-delay: 200ms;
}

.delay-300 {
	transition-delay: 300ms;
}

.delay-400 {
	transition-delay: 400ms;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
	.steps-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.nav-links {
		display: none;
	}

	.legal-nav-links {
		display: flex;
		align-items: center;
		gap: 12px;
		margin-left: auto;
	}

	.legal-nav-links a {
		font-size: 0.85rem;
	}

	.legal-nav-links .nav-login {
		padding: 8px 14px;
		white-space: nowrap;
	}

	.mobile-menu-btn {
		display: block;
	}

	.hero {
		padding: 130px 0 72px;
	}

	.section {
		padding: 72px 0;
	}

	.steps-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.features-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.proof-bar p {
		flex-direction: column;
		gap: 8px;
	}

	.proof-dot {
		display: none;
	}

	.hero-wa-icon {
		width: 72px;
		height: 72px;
	}

	.hero-wa-icon svg {
		width: 36px;
		height: 36px;
	}
}

/* ===== LEGAL PAGES ===== */
.legal-page {
	padding-top: 100px;
	padding-bottom: 60px;
}

.legal-page h1 {
	font-size: 2rem;
	font-weight: 800;
	margin-bottom: 8px;
}

.legal-page .legal-date {
	font-weight: 600;
	color: var(--color-text-muted);
	margin-bottom: 32px;
}

.legal-page h2 {
	font-size: 1.3rem;
	font-weight: 700;
	margin-top: 28px;
	margin-bottom: 10px;
}

.legal-page p,
.legal-page li {
	font-size: 0.95rem;
	color: var(--color-text-muted);
	line-height: 1.7;
	margin-bottom: 12px;
}

.legal-page ul {
	padding-left: 24px;
}

.legal-page a {
	color: var(--color-accent);
	text-decoration: underline;
}
