/* Base Styles */
:root {
	--primary: #10B981;
	--primary-dark: #059669;
	--secondary: #F59E0B;
	--accent: #8B5CF6;
	--light: #F9FAFB;
	--light-gray: #E5E7EB;
	--dark: #1F2937;
	--gray: #6B7280;
	--success: #84CC16;
	--danger: #F43F5E;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Poppins', sans-serif;
	line-height: 1.6;
	color: var(--dark);
	background-color: #fff;
	overflow-x: hidden;
}

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

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

ul {
	list-style: none;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.btn {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 50px;
	font-weight: 600;
	text-align: center;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.btn-primary {
	background-color: var(--secondary);
	color: white;
}

.btn-primary:hover {
	background-color: #0ea371;
	transform: translateY(-2px);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-outline {
	background-color: transparent;
	border: 2px solid var(--primary);
	color: var(--primary);
}

.btn-outline:hover {
	background-color: var(--primary);
	color: white;
}

.btn-secondary {
	background-color: var(--success);
	color: white;
}

.btn-secondary:hover {
	background-color: #e08d0a;
	transform: translateY(-2px);
}

.section {
	padding: 50px 0;
}

.section-title {
	font-size: 2.5rem;
	margin-bottom: 1.5rem;
	text-align: center;
	color: var(--dark);
	position: relative;
}

.section-title::after {
	content: '';
	display: block;
	width: 80px;
	height: 4px;
	background-color: var(--primary);
	margin: 15px auto;
	border-radius: 2px;
}

.section-subtitle {
	font-size: 1.1rem;
	color: var(--gray);
	text-align: center;
	margin: 0 auto 50px;
}

#scrollProgress {
	position: fixed;
	top: 0;
	left: 0;
	height: 6px;
	width: 0%;
	background: linear-gradient(to right, #10B981, orange);
	z-index: 9999;
}

#particleCanvas {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 9px;
	pointer-events: none;
	z-index: 10000;
}

/* Header */
header {
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	color: white;
	padding: 120px 0 60px;
	position: relative;
	overflow: hidden;
}

/* Sub Header (Legal Pages) */
.section-header {
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	color: white;
	padding: 100px 0 50px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.section-header h1 {
	font-size: 2.2rem;
	font-weight: 700;
}

.header-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

.header-text, .header-image {
	flex: 1 1 50%;
}

.header-text {
	max-width: 600px;
}

.header-text p {
	text-align: justify;
}

.header h1 {
	font-size: 2.8rem;
	margin-bottom: 1.5rem;
	line-height: 1.2;
}

.slogan {
	font-size: 1.8rem;
	color: var(--secondary);
	font-weight: 600;
	margin-bottom: 20px;
}

.header p {
	font-size: 1.2rem;
	max-width: 700px;
	margin-bottom: 2.5rem;
}

.header-btns {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	justify-content: flex-start;
	margin-top: 2rem;
	margin-bottom: 40px;
}

.header-image {
	flex: 1;
	text-align: center;
}

.header-image img {
	width: 100%;
	height: auto;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Navigation */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.95);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	transition: all 0.3s ease;
}

.navbar.scrolled {
	background-color: rgba(255, 255, 255, 0.95);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.navbar-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
}

.navbar-brand {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary);
	display: flex;
	align-items: center;
}

.navbar-brand div {
	margin: 0 10px;
}

.navbar-brand span {
	color: var(--secondary);
}

.navbar-menu {
	display: flex;
	align-items: center;
}

.navbar-nav {
	display: flex;
	margin-right: 20px;
}

.nav-item {
	margin: 0 10px;
	position: relative;
}

.nav-link {
	padding: 8px 12px;
	font-weight: 500;
	color: var(--dark);
	position: relative;
	transition: color 0.3s ease;
}

.nav-link:hover {
	color: var(--primary);
}

.nav-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 0;
	height: 2px;
	background: var(--primary);
	transition: width 0.3s;
}

.nav-link.active {
    color: var(--primary-dark);
}
.nav-link.active::after {
	width: 100%;
}

.nav-btn {
	display: inline-block;
	padding: 5px 18px;
	border-radius: 50px;
	font-weight: 600;
	text-align: center;
	transition: all 0.3s ease;
	cursor: pointer;
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background-color: white;
	box-shadow: none;
	border-radius: 8px;
	padding: 10px 0;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	min-width: 200px;
	width: max-content;
	z-index: 100;
}

.dropdown:hover .dropdown-menu {
	opacity: 1;
	visibility: visible;
}

.dropdown-item {
	display: block;
	padding: 8px 20px;
	color: var(--dark);
	transition: all 0.2s ease;
}

.dropdown-item:hover {
	background-color: var(--light);
	color: var(--primary);
}

.dropdown-item.active {
    background-color: var(--primary);
    color: var(--light);
    border-radius: 50px;
    margin: 10px;
}

.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	color: var(--dark);
	cursor: pointer;
}

/* About Section */
.about {
	background-color: var(--light);
}

.about-content {
	display: flex;
	align-items: flex-start;
	gap: 50px;
}

.about-image {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.about-image img {
	width: auto;
	max-height: 720px;
	border-radius: 12px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.about-text {
	flex: 1;
}

.about-text h2 {
	font-size: 2rem;
	margin-bottom: 1.5rem;
	color: var(--dark);
}

.about-text p {
	margin-bottom: 1.5rem;
	color: var(--gray);
	text-align: justify;
}

.feature-list {
	margin-top: 20px;
}

.feature-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 15px;
}

.feature-icon {
	color: var(--primary);
	margin-right: 15px;
	font-size: 1.2rem;
	margin-top: 3px;
}

/* Features Section */
.features {
	padding-bottom: 60px;
}

.features-container {
	display: flex;
	gap: 30px;
	margin-top: 50px;
}

.features-list {
	flex: 1;
}

.feature-card {
	display: flex;
	align-items: flex-start;
	margin-bottom: 30px;
	padding: 20px;
	border-radius: 10px;
	transition: all 0.3s ease;
}

.feature-card:hover {
	background-color: var(--light);
	transform: translateY(-5px);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-icon-container {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 20px;
	flex-shrink: 0;
}

.feature-icon-1 {
	background-color: rgba(16, 185, 129, 0.1);
	color: var(--primary);
}

.feature-icon-2 {
	background-color: rgba(245, 158, 11, 0.1);
	color: var(--secondary);
}

.feature-icon-3 {
	background-color: rgba(239, 68, 68, 0.1);
	color: var(--danger);
}

.feature-icon-4 {
	background-color: rgba(139, 92, 246, 0.1);
	color: var(--accent);
}

.feature-content h4 {
	font-size: 1.2rem;
	margin-bottom: 10px;
	color: var(--dark);
}

.feature-content p {
	color: var(--gray);
	text-align: justify;
}

.features-image {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.features-image img {
	width: auto;
	max-height: 720px;
	border-radius: 12px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Benefits Section */
.benefits {
	background-color: var(--light);
	padding: 60px 0;
}

.benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
	margin-top: 50px;
}

.benefit-card {
	text-align: center;
	padding: 30px 20px;
	border-radius: 10px;
	transition: all 0.3s ease;
	background-color: white;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	font-size: 1.5rem;
	color: white;
}

.benefit-icon-1 {
	background-color: var(--primary);
}

.benefit-icon-2 {
	background-color: var(--secondary);
}

.benefit-icon-3 {
	background-color: var(--accent);
}

.benefit-icon-4 {
	background-color: var(--danger);
}

.benefit-icon-5 {
	background-color: var(--success);
}

.benefit-card h4 {
	margin-bottom: 10px;
	color: var(--dark);
}

.benefit-card p {
	color: var(--gray);
	font-size: 0.9rem;
}

/* Screenshots Section */
.screenshots {
	padding: 60px 0;
}

.screenshots-slider {
	margin-top: 50px;
	position: relative;
	overflow: hidden;
}

.swiper-container {
	width: 100%;
	padding: 20px 0;
}

.swiper-slide {
	text-align: center;
	width: 300px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.swiper-slide:hover {
	transform: scale(1.05);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.swiper-slide img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}

.prev, .next {
	width: 40px;
	height: 40px;
	cursor: pointer;
	opacity: 0.7;
	transition: all 0.3s ease;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 100;
	background-color: var(--zayn-color-surface, #E5E7EB);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px var(--zayn-color-text-secondary, rgba(0,0,0,0.2));
	border: 1px solid var(--zayn-color-text-secondary, rgba(0,0,0,0.1));
}

.prev {
	left: 15px;
	animation: floatLeft 2s infinite ease-in-out;
}

.next {
	right: 15px;
	animation: floatRight 2s infinite ease-in-out;
}

.prev svg,
.next svg {
	width: 24px;
	height: 24px;
}

.prev path,
.next path {
	fill: var(--zayn-color-primary, #10B981);
	transition: fill 0.3s ease;
}

.prev:hover,
.next:hover {
	opacity: 1;
	background-color: var(--zayn-color-primary, #10B981);
	transform: translateY(-50%) scale(1.05);
}

.prev:hover path,
.next:hover path {
	fill: white;
}

/* Tutorial Section */
.tutorial {
	background-color: var(--light);
	padding: 60px 0;
}

.video-wrapper {
  width: 65%;
  margin: 50px auto 0 auto;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Testimonials Section */
.testimonials {
	padding: 60px 0;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 50px;
}

.testimonial-card {
	background-color: white;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
	position: relative;
	transition: all 0.3s ease;
}

.testimonial-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
	color: var(--secondary);
	margin-bottom: 15px;
}

.testimonial-text {
	font-style: italic;
	margin-bottom: 20px;
	text-align: justify;
	color: var(--dark);
}

.testimonial-author {
	font-weight: 600;
	color: var(--primary);
}

.testimonial-divider {
	height: 2px;
	background-color: var(--light-gray);
	margin: 15px 0;
	opacity: 0.5;
}

/* Stats Section */
.stats {
	background: linear-gradient(135deg, var(--primary), #059669);
	color: white;
	padding: 80px 0;
	text-align: center;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 40px;
	margin-top: 50px;
}

.stat-item {
	padding: 20px;
}

.stat-icon {
	font-size: 2.5rem;
	margin-bottom: 15px;
	color: white;
}

.stat-number {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 10px;
}

.stat-label {
	font-size: 1.1rem;
	opacity: 0.9;
}

/* CTA Section */
.cta {
	padding: 80px 0;
	text-align: center;
	background-color: var(--light);
}

.cta h2 {
	font-size: 2.2rem;
	margin-bottom: 1.5rem;
	color: var(--dark);
}

.cta p {
	font-size: 1.1rem;
	margin: 0 auto 40px;
	color: var(--gray);
}

.cta-btns {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

.cta-image {
	flex: 1;
	text-align: center;
	width: 50%;
	height: auto;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Footer */
.footer {
	background-color: var(--dark);
	color: white;
	padding: 60px 0 0;
}

.footer-legal {
	background-color: var(--dark);
	color: white;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 40px;
	margin-bottom: 60px;
}

.footer-col h5 {
	font-size: 1.2rem;
	margin-bottom: 20px;
	position: relative;
	color: white;
}

.footer-col h5::after {
	content: '';
	display: block;
    height: 3px;
    background-color: var(--primary);
	margin-top: 10px;
}

.footer-col p {
	color: var(--light-gray);
	margin-bottom: 20px;
	text-align: justify;
	font-size: 0.9rem;
}

.footer-links li {
	margin-bottom: 10px;
}

.footer-links a {
	color: var(--light-gray);
	font-size: 0.9rem;
	transition: color 0.3s ease;
}

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

.footer-contact li {
	display: flex;
	align-items: flex-start;
	margin-bottom: 15px;
	color: var(--light-gray);
	font-size: 0.9rem;
}

.footer-contact i {
	margin-top: 5px;
	margin-right: 10px;
	color: var(--primary);
}

.social-links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	margin-top: 20px;
	max-width: 100px;
}

.social-link {
	width: 50px;
	height: 50px;
	font-size: 25px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.social-link:hover {
	background-color: var(--primary);
	transform: translateY(-3px);
}

.footer-bottom {
	background-color: rgba(0, 0, 0, 0.2);
	padding: 20px 0;
	text-align: center;
}

.copyright {
	color: var(--light-gray);
	font-size: 0.8rem;
	text-align: center;
}

.copyright .line-break {
  display: none;
}

/* Back to Top Button */
.back-to-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 99;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background-color: var(--primary);
	color: white;
	border: none;
	border-radius: 50%;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;

	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	user-select: none;
}

.back-to-top.active {
	opacity: 1;
	visibility: visible;
}

.back-to-top:hover {
	background-color: var(--accent);
}

.back-to-top:focus {
	outline: none;
	box-shadow: 0 0 0 3px var(--accent);
}

.back-to-top:active {
	background-color: var(--primary);
}

/* ===== Halaman Statis (legal) ===== */
.legal-page-wrapper {
  background: #f8f9fa;
  min-height: 60vh;
  font-family: 'Poppins', sans-serif;
  padding: 10px 0 12px;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.legal-post {
  background: #fff;
  padding: 40px 45px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.legal-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #eaeaea;
}

.legal-body {
  font-size: 16px;
  line-height: 1.75;
  color: #444;
}

.legal-body p,
.legal-body li {
  text-align: justify;
}

.legal-body h1,
.legal-body h2,
.legal-body h3 {
  color: #1a1a1a;
  margin-top: 1.5em;
  margin-bottom: 0.6em;
}

.legal-body h1 { font-size: 24px; }
.legal-body h2 { font-size: 20px; }
.legal-body h3 { font-size: 18px; }
.legal-body p { margin-bottom: 1em; }
.legal-body ul,
.legal-body ol {
  margin: 1em 0;
  padding-left: 1.75em;
}

.legal-body ul {
  list-style: disc outside;
}

.legal-body ol {
  list-style: decimal outside;
}

.legal-body ul ul {
  list-style: circle outside;
}

.legal-body ul ul ul {
  list-style: square outside;
}

.legal-body ol ol {
  list-style: lower-alpha outside;
}

.legal-body li {
  margin-bottom: 0.5em;
  padding-left: 0.25em;
  line-height: 1.75;
}

.legal-body a {
  color: #0066cc;
  text-decoration: none;
}

/* Tabel di halaman legal */
.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}

.legal-body table th,
.legal-body table td {
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  text-align: left;
}

.legal-body table th {
  background: #f5f8ff;
  font-weight: 600;
  color: #1a1a1a;
}

.legal-body table tr:nth-child(even) td {
  background: #fafbfc;
}

/* ===== Contact Cards ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 24px 0 40px;
}

.contact-card {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #0066cc;
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f0f6ff;
  color: #0066cc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
}

.contact-desc {
  font-size: 13px;
  color: #888;
  margin: 0 0 10px;
}

.contact-value {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0 0 16px;
  word-break: break-word;
}

.contact-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #0066cc;
  color: #fff !important;
  border-radius: 8px;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s ease;
  margin-top: auto;
}

.contact-btn:hover {
  background: #0052a3;
  color: #fff !important;
}

/* Jam operasional */
.contact-hours {
  width: 100%;
  max-width: 400px;
  margin: 16px auto;
  border-collapse: collapse;
}

.contact-hours tr {
  border-bottom: 1px solid #eee;
}

.contact-hours tr:last-child {
  border-bottom: none;
}

.contact-hours td {
  padding: 8px 12px;
  font-size: 14px;
  color: #444;
}

.contact-hours td:first-child {
  font-weight: 600;
  color: #1a1a1a;
  width: 40%;
}

.contact-hours td:last-child {
  text-align: right;
}

/* ===== Sitemap: Halaman Statis ===== */
.sitemap-list {
list-style: none !important;
padding: 0 !important;
margin: 0 0 40px;
}

.sitemap-list > li {
padding: 12px 16px 12px 40px;
background: #f8f9fa;
border-radius: 8px;
border: 1px solid #eaeaea;
transition: all 0.2s ease;
margin-bottom: 8px;
position: relative;
display: flex;
align-items: center;
min-height: 44px;
}

.sitemap-list > li::before {
content: '\2022';
color: #0066cc;
position: absolute;
left: 16px;
top: 50%;
transform: translateY(-50%);
font-weight: bold;
font-size: 16px;
line-height: 1;
}

.sitemap-list > li:hover {
background: #f0f6ff;
border-color: #0066cc;
transform: translateY(-2px);
}

.sitemap-list > li a {
color: #0066cc;
text-decoration: none;
font-weight: 500;
display: block;
font-size: 14px;
}

.sitemap-list > li a:hover {
color: #0052a3;
}

/* ===== Sitemap: Artikel ===== */
.sitemap-articles {
display: flex;
flex-direction: column;
gap: 24px;
}

.sitemap-article-group ul {
list-style: none !important;
padding: 0 !important;
margin: 0;
}

.sitemap-article-title {
font-size: 15px;
font-weight: 700;
color: #1a1a1a;
margin: 0 0 10px;
display: flex;
align-items: center;
gap: 6px;
}

.sitemap-article-title i {
color: #0066cc;
font-size: 13px;
}

.sitemap-article-count {
font-size: 12px;
font-weight: 400;
color: #888;
margin-left: 4px;
}

.sitemap-article-group ul li {
padding: 8px 0 8px 20px;
border-bottom: 1px solid #f0f0f0;
position: relative;
list-style: none !important;
display: flex;
align-items: center;
min-height: 36px;
}

.sitemap-article-group ul li:last-child {
border-bottom: none;
}

.sitemap-article-group ul li::before {
content: '\2022';
color: #0066cc;
position: absolute;
left: 4px;
top: 50%;
transform: translateY(-50%);
font-weight: bold;
font-size: 14px;
line-height: 1;
}

.sitemap-article-group ul li a {
color: #333;
text-decoration: none;
font-size: 14px;
display: block;
}

.sitemap-article-group ul li a:hover {
color: #0066cc;
text-decoration: underline;
}

/* ===== Halaman Postingan ===== */
.post-page-wrapper {
  background: #f8f9fa;
  min-height: 60vh;
  font-family: 'Poppins', sans-serif;
  padding: 10px 0 60px;
}

.post-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

.post-single {
  background: #fff;
  padding: 40px 45px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.post-header {
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  margin: 0 0 20px !important;
  position: static !important;
  overflow: visible !important;
}

.post-title {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px;
  line-height: 1.3;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: #777;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid #eee;
}

.post-meta i { color: #0066cc; margin-right: 4px; }
.post-meta a {
  color: #0066cc;
  text-decoration: none;
  margin-right: 6px;
}

.post-meta a:hover { text-decoration: underline; }
.post-body {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.post-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #777;
}

.post-reading-time i {
  color: #0066cc;
  margin-right: 4px;
}

.post-body h1,
.post-body h2,
.post-body h3 {
  color: #1a1a1a;
  margin: 1.5em 0 0.6em;
}

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1em 0;
}

.post-body p { margin-bottom: 1em; }
.post-body a { color: #0066cc; }
.post-body ul,
.post-body ol {
  margin: 1em 0;
  padding-left: 1.75em;
}

.post-body ul { list-style: disc outside; }
.post-body ol { list-style: decimal outside; }
.post-body ul ul { list-style: circle outside; }
.post-body ul ul ul { list-style: square outside; }
.post-body ol ol { list-style: lower-alpha outside; }
.post-body li {
  margin-bottom: 0.5em;
  padding-left: 0.25em;
}

.post-body blockquote {
  border-left: 4px solid #0066cc;
  padding: 10px 20px;
  margin: 1.5em 0;
  background: #f5f8ff;
  color: #555;
  font-style: italic;
  border-radius: 0 8px 8px 0;
}

.post-body pre {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 14px;
  margin: 1em 0;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #888;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.breadcrumb a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #0052a3;
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #ccc;
  font-weight: 300;
}

.breadcrumb-current {
  color: #333;
  font-weight: 500;
  max-width: 400px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== Share Buttons ===== */
.post-share-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 20px;
  padding: 20px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.share-label {
  font-size: 14px;
  font-weight: 600;
  color: #777;
  margin-right: 8px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  color: #fff;
  transition: all 0.2s ease;
  text-decoration: none;
  padding: 0;
  line-height: 1;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.share-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Grup tombol sosmed — horizontal */
.share-buttons-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

.share-fb { background: #1877F2; }
.share-wa { background: #25D366; }
.share-tg { background: #0088cc; }
.share-x { background: #000000; }
.share-copy { background: #6c757d; }

.share-close-mobile {
  display: none;
  background: #333;
  width: 40px;
  height: 40px;
}

.share-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
}

.share-toggle-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f6ff;
  color: #0066cc;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 0;
  transition: all 0.2s ease;
  font-size: 14px;
}

.share-toggle-mobile:hover {
  background: #0066cc;
  color: #fff;
}

/* ===== Related Posts ===== */
.related-posts {
  margin: 40px 0 20px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.related-posts-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-posts-title i {
  color: #0066cc;
  font-size: 16px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-post-card {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.related-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border-color: #0066cc;
}

.related-post-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f0f6ff;
}

.related-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-thumb img {
  transform: scale(1.05);
}

.related-post-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #0066cc;
  background: #f0f6ff;
}

.related-post-body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.related-post-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-post-card:hover .related-post-card-title {
  color: #0066cc;
}

.related-post-date {
  font-size: 12px;
  color: #888;
  margin-top: auto;
}

.related-posts-loading {
  text-align: center;
  padding: 20px;
  color: #888;
  font-size: 14px;
}

/* ===== Navigasi Prev/Next di Post ===== */
.post-nav {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.post-nav a {
  flex: 1;
  padding: 16px 20px;
  border-radius: 8px;
  background: #f5f8ff;
  text-decoration: none;
  color: #0066cc;
  font-size: 14px;
  transition: all 0.2s ease;
  border: 1px solid #e0e8f5;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.post-nav a:hover {
  background: #0066cc;
  color: #fff;
  border-color: #0066cc;
}

.post-nav a .nav-label {
  font-size: 13px;
  font-weight: 500;
  color: #888;
}

.post-nav a:hover .nav-label {
  color: #cce0ff;
}

.post-nav a .nav-title-placeholder,
.post-nav a .nav-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.post-nav a:hover .nav-title-placeholder,
.post-nav a:hover .nav-title {
  color: #fff;
}

/* ===== PREV: label kanan, judul kanan ===== */
.post-nav a.nav-prev {
  text-align: right;
  align-items: flex-end;
}

/* ===== NEXT: label kiri, judul kiri ===== */
.post-nav a.nav-next {
  text-align: left;
  align-items: flex-start;
}

/* ===== Tombol tunggal (post pertama/terakhir) ===== */
.post-nav a:only-child.nav-next {
  text-align: left;
  align-items: flex-start;
}

.post-nav a:only-child.nav-prev {
  text-align: right;
  align-items: flex-end;
}

/* ===== Halaman 404 ===== */
.error-404-wrapper {
  padding-top: 100px !important;
  padding-bottom: 60px !important;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.error-404-wrapper .legal-container {
  width: 100%;
}

/* ===== Footer Mini (Halaman & Post) ===== */
.footer-mini {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 30px 0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.footer-mini .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-mini-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #0066cc;
  color: #fff !important;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 16px;
  transition: background 0.2s ease;
}

.footer-mini-btn:hover { background: #0052a3; }
.footer-mini-copy {
  font-size: 13px;
  color: #888;
  margin: 0;
}

.footer-mini-copy a { color: #0066cc; text-decoration: none; }

/* ===== Section Panduan di Homepage ===== */
.panduan {
  background: #f8f9fa;
  padding: 60px 0;
}

/* Default (desktop): tampilkan dropdown, sembunyikan mobile items */
.panduan-mobile {
  display: none;
}

.panduan-desktop {
  display: block;
}

.panduan-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.panduan-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.panduan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* ===== Kartu Compact (Homepage) ===== */
.panduan-card-compact .panduan-body {
  padding: 14px 16px;
}

.panduan-card-compact .panduan-labels {
  margin-bottom: 8px;
}

.panduan-card-compact .panduan-label {
  font-size: 10px;
  padding: 2px 8px;
}

.panduan-card-compact .panduan-title {
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;  /* maks 2 baris */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.panduan-card-compact .panduan-read {
  font-size: 13px;
}

.panduan-thumb {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f0f6ff;
}

.panduan-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.panduan-card:hover .panduan-thumb img {
  transform: scale(1.05);
}

.panduan-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #0066cc;
  background: #f0f6ff;
}

.panduan-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.panduan-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.panduan-label {
  font-size: 11px;
  font-weight: 600;
  color: #0066cc;
  background: #f0f6ff;
  padding: 3px 10px;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.panduan-label:hover {
  background: #0066cc;
  color: #fff;
}

.panduan-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px;
  line-height: 1.3;
}

.panduan-title a {
  color: inherit;
  text-decoration: none;
}

.panduan-title a:hover {
  color: #0066cc;
}

.panduan-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

.panduan-read {
  font-size: 14px;
  font-weight: 600;
  color: #0066cc;
  text-decoration: none;
  margin-top: auto;
}

.panduan-read:hover {
  color: #0052a3;
}

.panduan-cta {
  text-align: center;
  margin-top: 20px;
}

.panduan-loading {
  text-align: center;
  padding: 40px;
  color: #888;
  font-size: 14px;
}

/* ===== Halaman Panduan (Arsip) ===== */
.panduan-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 30px;
  justify-content: center;
}

.filter-btn {
  padding: 10px 20px;
  border: 2px solid #e0e8f5;
  background: #fff;
  color: #333;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: #0066cc;
  color: #0066cc;
}

.filter-btn.active {
  background: #0066cc;
  border-color: #0066cc;
  color: #fff;
}

.panduan-archive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.panduan-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 30px 0;
}

.panduan-pagination button {
  padding: 10px 16px;
  border: 1px solid #e0e8f5;
  background: #fff;
  color: #333;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}

.panduan-pagination button.active {
  background: #0066cc;
  color: #fff;
  border-color: #0066cc;
}

.panduan-pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Style untuk semua link eksternal */
a[target="_blank"]:not(.social-link) {
  position: relative;
  display: inline-block;
  padding-right: 25px;
}

/* Tambahkan ikon otomatis */
a[target="_blank"]:not(.social-link)::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f35d";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8em;
  color: inherit;
  margin-left: 5px;
}

/* Responsive Styles */
/* Desktop besar: lebih lega */
@media (min-width: 1200px) {
	.legal-nav .nav-item {
		margin: 0 6px;
	}

	.legal-nav .nav-link {
		padding: 8px 10px;
		font-size: 0.9rem;
	}
}

/* Desktop sedang: lebih rapat */
@media (min-width: 992px) and (max-width: 1199px) {
	.legal-nav .nav-item {
		margin: 0 3px;
	}

	.legal-nav .nav-link {
		padding: 7px 7px;
		font-size: 0.8rem;
	}
}

@media (max-width: 992px) {
	.section-title {
		font-size: 2.2rem;
	}
	
	.header-content {
		flex-direction: column;
		text-align: center;
	}

	.header-text, .header-image {
		flex: 1 1 100%;
	}

	.header-btns {
		justify-content: center;
	}

	.about-content {
		flex-direction: column;
	}
	
	.features-container {
		flex-direction: column;
	}
	
	.features-image {
		order: -1;
	}

    .footer-col h5::after {
        display: none;
        content: none;
    }
}

/* Desktop kecil: paling rapat */
@media (min-width: 769px) and (max-width: 991px) {
	.legal-nav .nav-item {
		margin: 0 2px;
	}

	.legal-nav .nav-link {
		padding: 6px 6px;
		font-size: 0.75rem;
	}

	.panduan-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.panduan-archive {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ===== Navbar Halaman Legal: 6 item muat di desktop ===== */
@media (min-width: 769px) {
	.legal-nav {
		margin-right: 10px;
	}

	.legal-nav .nav-item {
		margin: 0 4px;
	}

	.legal-nav .nav-link {
		padding: 8px 8px;
		font-size: 0.85rem;
		white-space: nowrap;
	}
}

@media (max-width: 768px) {
	.section {
		padding: 30px 0;
	}
	
	.section-title {
		font-size: 2rem;
	}

	.section-subtitle {
		text-align: justify;
	}

	.header h1 {
		font-size: 2.2rem;
	}
	
	.slogan {
		font-size: 1.5rem;
	}

	.header p {
		font-size: 1rem;
	}

	.about-content {
		align-items: center;
	}

	.benefit-card p {
		text-align: justify;
	}

	.navbar-menu {
		position: absolute;
		top: 68px;
		left: 0;
		right: 0;
		max-height: 0;
		overflow: hidden;
		background-color: rgba(255, 255, 255, 0.95);
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		padding: 0 20px;
		transition: max-height 0.3s ease;
		border-bottom: 1px solid #eee;
	}
	
	.navbar-menu.active {
		max-height: calc(100vh);
		padding: 20px;
	}
	
	.navbar-nav {
		flex-direction: column;
		margin-right: 0;
		margin-bottom: 30px;
		width: 100%;
	}
	
	.nav-item {
		margin: 10px 0;
		width: 100%;
		text-align: center;
	}
	
    .nav-item.dropdown .fa-chevron-down {
        display: none;
    }
    
    .nav-item.dropdown .dropdown-menu {
        display: none !important;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        background: transparent;
        box-shadow: none;
        
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
    }

    .dropdown.open .dropdown-menu {
        max-height: 500px;
        opacity: 1;
    }

    .nav-link.active {
        font-weight: 600;
    }

	.dropdown > .nav-link i {
		display: inline;
	}

	.mobile-menu-btn {
		display: block;
	}
	
	.header-btns {
		flex-direction: column;
		gap: 10px;
	}
	
	.btn {
		width: 100%;
	}
	
	.cta-btns {
		flex-direction: column;
		gap: 10px;
	}

	.cta h2 {
		font-size: 1.5em;
	}

	.video-wrapper {
		width: 90%;
	}

	.social-links {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		max-width: 100%;
	}

	.social-link {
		width: 40px;
		height: 40px;
		font-size: 20px;
	}

	.copyright .line-break {
		display: inline;
	}

	.copyright .dash {
		display: none;
	}

	.panduan-desktop {
		display: none;
	}

	.panduan-mobile {
		display: block;
	}

	.panduan-archive {
		grid-template-columns: 1fr;
	}

	.legal-page-wrapper,
	.post-page-wrapper {
		padding: 80px 0 60px;
	}

	.legal-post,
	.post-single { padding: 24px 20px; }

	/* Modal Container */
	.post-share-buttons {
		display: none;
		position: fixed;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		z-index: 9999;
		background: #fff;
		border-radius: 16px;
		padding: 28px 20px 24px;
		margin: 0;
		border: none;
		box-shadow: 0 10px 40px rgba(0,0,0,0.3);
		flex-direction: column;
		align-items: center;
		width: 90%;
		max-width: 340px;
		gap: 16px;
	}

	.post-share-buttons.active {
		display: flex;
	}

	/* Label "Bagikan:" */
	.post-share-buttons .share-label {
		width: 100%;
		text-align: center;
		margin: 0;
		font-size: 15px;
		font-weight: 600;
		color: #333;
	}

	/* Container untuk tombol sosmed — horizontal */
	.post-share-buttons .share-btn {
		width: 44px;
		height: 44px;
		flex-shrink: 0;
	}

	.post-share-buttons .share-btn svg {
		width: 20px;
		height: 20px;
	}

	/* Tombol close — pojok kanan atas */
	.share-close-mobile {
		display: inline-flex;
		position: absolute;
		top: 12px;
		right: 12px;
		width: 32px;
		height: 32px;
		border-radius: 50%;
		background: #f0f0f0;
		color: #333;
		border: none;
		cursor: pointer;
		align-items: center;
		justify-content: center;
		font-size: 14px;
		padding: 0;
		transition: all 0.2s ease;
		margin: 0;
	}

	.share-close-mobile:hover {
		background: #e0e0e0;
	}

	/* Overlay */
	.share-overlay.active {
		display: block;
	}

	/* Ikon share di post-meta */
	.share-toggle-mobile {
		display: inline-flex;
	}

	.post-share-buttons .share-buttons-group {
		justify-content: center;
		gap: 10px;
	}

	.related-posts-grid {
		grid-template-columns: 1fr;
	}

	.related-post-card {
		flex-direction: row;
	}

	.related-post-thumb {
		width: 100px;
		flex-shrink: 0;
		aspect-ratio: auto;
	}

	.related-post-body {
		padding: 12px 14px;
	}

	.related-post-card-title {
		font-size: 14px;
	}

	.breadcrumb {
		font-size: 12px;
		margin-bottom: 16px;
		padding-bottom: 12px;
	}
	.breadcrumb-current {
		max-width: 200px;
	}

	.error-404-wrapper {
		padding-top: 90px !important;
		min-height: 70vh;
	}
	.legal-title { font-size: 22px; }
	.post-title { font-size: 24px; }
	.post-nav { flex-direction: column; }
	.legal-body p,
	.legal-body li {
		text-align: left;
	}

	.sitemap-list > li {
		padding: 10px 14px 10px 36px;
		font-size: 13px;
		min-height: 40px;
	}
	.sitemap-list > li::before {
		left: 14px;
		font-size: 14px;
	}

	.post-nav a {
		padding: 14px 16px;
	}

	.contact-grid {
		grid-template-columns: 1fr;
	}

	.panduan-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 576px) {
	.section-title {
		font-size: 1.8rem;
	}
	
	.header h1 {
		font-size: 1.8rem;
	}
	
	.slogan {
		font-size: 1.3rem;
	}

	.stat-number {
		font-size: 2rem;
	}

	.cta-image {
		width: 90%;
	}
}