/* ==========================================================================
   HOMEPAGE BRAND GUIDELINE STYLING - ADEV.CO.ID (v1.10.42)
   Brand Colors: Navy (#052D64), Yellow/Gold (#F4CF34), Light Blue (#CCE1ED), Cream (#F5F1E8)
   Font Family: Lato, Helvetica, Arial, sans-serif
   ========================================================================== */

:root {
	--adev-navy: #052d64;
	--adev-yellow: #f4cf34;
	--adev-yellow-hover: #e5bd1d;
	--adev-lightblue: #cce1ed;
	--adev-cream: #f5f1e8;
	--adev-bg-soft: #f8fbfd;
	--adev-text: #2d3748;
	--adev-text-muted: #64748b;
	--adev-border: #e2e8f0;
	--adev-card-bg: #ffffff;
	--adev-font: Lato, Helvetica, Arial, sans-serif;
	--adev-radius-sm: 8px;
	--adev-radius-md: 16px;
	--adev-radius-lg: 24px;
	--adev-shadow-sm: 0 2px 8px rgba(5, 45, 100, 0.04);
	--adev-shadow-md: 0 8px 24px rgba(5, 45, 100, 0.08);
	--adev-shadow-hover: 0 16px 32px rgba(5, 45, 100, 0.12);
}

/* 1. Global Container & Typography */
.adev-wrapper {
	font-family: var(--adev-font);
	color: var(--adev-text);
	line-height: 1.7;
	max-width: 1140px;
	margin: 0 auto;
	padding: 20px 20px 60px;
}

.adev-wrapper * {
	box-sizing: border-box;
}

/* Headings with Brand Accent */
.adev-wrapper h2.wp-block-heading,
.adev-section-title {
	color: var(--adev-navy);
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 800;
	line-height: 1.35;
	margin: 48px 0 16px;
	position: relative;
	padding-bottom: 14px;
}

.adev-wrapper h2.wp-block-heading::after,
.adev-section-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 56px;
	height: 4px;
	background: var(--adev-yellow);
	border-radius: 2px;
}

.adev-lead-desc {
	font-size: 17px;
	color: var(--adev-text-muted);
	margin-bottom: 28px;
	max-width: 900px;
}

/* 2. Hero Section (Above the Fold) */
.adev-hero-card {
	background: linear-gradient(145deg, #f8fbfd 0%, #eef5fa 100%);
	border: 1px solid var(--adev-lightblue);
	border-radius: var(--adev-radius-lg);
	padding: 40px;
	margin-bottom: 40px;
	box-shadow: var(--adev-shadow-sm);
}

.adev-badge-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--adev-lightblue);
	color: var(--adev-navy);
	padding: 6px 16px;
	border-radius: 50px;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.adev-hero-h1 {
	color: var(--adev-navy);
	font-size: clamp(26px, 4vw, 38px);
	font-weight: 900;
	line-height: 1.25;
	margin: 0 0 18px;
}

.adev-hero-text {
	font-size: 17px;
	color: #334155;
	margin-bottom: 28px;
	max-width: 850px;
}

.adev-hero-banner {
	border-radius: var(--adev-radius-md);
	overflow: hidden;
	margin: 24px 0;
	box-shadow: var(--adev-shadow-md);
}

.adev-hero-banner img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* High-Contrast Brand Buttons (Anti-Elementor Override) */
.adev-btn-group {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 24px 0 12px;
}

.adev-wrapper a.adev-btn,
.adev-wrapper .adev-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 28px;
	font-size: 15px;
	font-weight: 700;
	border-radius: 12px;
	text-decoration: none !important;
	cursor: pointer;
	transition: all 0.25s ease;
}

/* Primary Button (Gold Background + Navy Text) */
.adev-wrapper a.adev-btn-primary,
.adev-wrapper .adev-btn-primary {
	background: var(--adev-yellow) !important;
	color: var(--adev-navy) !important;
	border: 2px solid var(--adev-yellow) !important;
}

.adev-wrapper a.adev-btn-primary:hover,
.adev-wrapper .adev-btn-primary:hover {
	background: var(--adev-yellow-hover) !important;
	border-color: var(--adev-yellow-hover) !important;
	color: var(--adev-navy) !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(244, 207, 52, 0.4);
}

/* Secondary Button (Navy Background + White Text - 100% High Contrast) */
.adev-wrapper a.adev-btn-secondary,
.adev-wrapper .adev-btn-secondary {
	background: var(--adev-navy) !important;
	color: #ffffff !important;
	border: 2px solid var(--adev-navy) !important;
}

.adev-wrapper a.adev-btn-secondary:hover,
.adev-wrapper .adev-btn-secondary:hover {
	background: #073a82 !important;
	border-color: #073a82 !important;
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(5, 45, 100, 0.25);
}

/* 3. Product Categories Grid with Visual Thumbnails */
.adev-cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 24px;
	margin: 28px 0 48px;
}

.adev-cat-card {
	background: var(--adev-card-bg);
	border: 1px solid var(--adev-border);
	border-radius: var(--adev-radius-md);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: all 0.25s ease;
	position: relative;
	box-shadow: var(--adev-shadow-sm);
}

.adev-cat-card:hover {
	transform: translateY(-4px);
	border-color: var(--adev-lightblue);
	box-shadow: var(--adev-shadow-hover);
}

.adev-cat-thumb {
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f1f5f9;
}

.adev-cat-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

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

.adev-cat-content {
	padding: 22px 20px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	justify-content: space-between;
}

.adev-cat-title {
	font-size: 18px;
	font-weight: 800;
	color: var(--adev-navy);
	margin: 0 0 10px;
}

.adev-cat-body {
	font-size: 14.5px;
	color: #475569;
	margin-bottom: 16px;
	line-height: 1.6;
}

.adev-cat-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;
	color: var(--adev-navy);
	text-decoration: none;
	transition: color 0.2s ease;
	margin-top: auto;
}

.adev-cat-link:hover {
	color: #0a4da6;
	text-decoration: underline;
}

/* 4. Infographic Box & Visual Banners */
.adev-infographic-banner {
	border-radius: var(--adev-radius-md);
	overflow: hidden;
	border: 1px solid var(--adev-border);
	margin: 24px 0 36px;
	box-shadow: var(--adev-shadow-sm);
	background: #ffffff;
}

.adev-infographic-banner img {
	width: 100%;
	height: auto;
	display: block;
}

/* 5. Service Tiers (ODM / OEM / Toll) */
.adev-tiers-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
	margin: 32px 0 48px;
}

.adev-tier-card {
	background: var(--adev-card-bg);
	border: 1px solid var(--adev-border);
	border-radius: var(--adev-radius-lg);
	padding: 32px 24px;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: all 0.25s ease;
}

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

.adev-tier-card.is-popular {
	border: 2px solid var(--adev-navy);
	box-shadow: var(--adev-shadow-md);
}

.adev-tier-badge {
	position: absolute;
	top: -13px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--adev-yellow);
	color: var(--adev-navy);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	padding: 4px 14px;
	border-radius: 20px;
	letter-spacing: 0.5px;
}

.adev-tier-name {
	font-size: 20px;
	font-weight: 900;
	color: var(--adev-navy);
	margin: 0 0 6px;
}

.adev-tier-sub {
	font-size: 13.5px;
	color: var(--adev-text-muted);
	margin-bottom: 20px;
}

.adev-tier-features {
	margin: 0 0 24px;
	flex-grow: 1;
}

.adev-tier-feature {
	font-size: 14.5px;
	padding: 8px 0;
	border-bottom: 1px solid #f1f5f9;
	color: #334155;
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.adev-tier-feature::before {
	content: "\2713";
	color: #10b981;
	font-weight: 800;
}

/* 6. Facility & Certifications Grid */
.adev-cert-badges-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 24px;
	background: #ffffff;
	border: 1px solid var(--adev-border);
	border-radius: var(--adev-radius-md);
	padding: 24px 20px;
	margin: 24px 0 32px;
	box-shadow: var(--adev-shadow-sm);
}

.adev-cert-badge-img {
	height: 60px;
	width: auto;
	max-width: 120px;
	object-fit: contain;
	filter: grayscale(15%);
	transition: filter 0.2s ease, transform 0.2s ease;
}

.adev-cert-badge-img:hover {
	filter: grayscale(0%);
	transform: scale(1.05);
}

.adev-cert-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
	margin: 24px 0 32px;
}

.adev-cert-item {
	background: var(--adev-bg-soft);
	border-left: 4px solid var(--adev-navy);
	border-radius: 0 var(--adev-radius-sm) var(--adev-radius-sm) 0;
	padding: 16px 20px;
}

.adev-cert-item strong {
	color: var(--adev-navy);
	display: block;
	font-size: 15px;
	margin-bottom: 4px;
}

.adev-cert-item p {
	margin: 0;
	font-size: 13.5px;
	color: var(--adev-text-muted);
	line-height: 1.5;
}

/* 7. Clean B2B Data Table */
.adev-table-wrapper {
	overflow-x: auto;
	margin: 24px 0 36px;
	border-radius: var(--adev-radius-md);
	box-shadow: var(--adev-shadow-sm);
	border: 1px solid var(--adev-border);
}

.adev-table-wrapper table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
	background: #ffffff;
}

.adev-table-wrapper th {
	background: var(--adev-navy);
	color: #ffffff;
	font-weight: 700;
	padding: 14px 18px;
	text-align: left;
}

.adev-table-wrapper td {
	padding: 13px 18px;
	border-bottom: 1px solid var(--adev-border);
	color: #334155;
}

.adev-table-wrapper tr:nth-child(even) td {
	background: #fafcfe;
}

.adev-table-wrapper tr:hover td {
	background: #f0f7fc;
}

/* 8. Workflow Timeline Steps */
.adev-timeline-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	margin: 28px 0 36px;
}

.adev-step-card {
	background: #ffffff;
	border: 1px solid var(--adev-border);
	border-radius: var(--adev-radius-md);
	padding: 24px 18px;
	text-align: center;
	position: relative;
	box-shadow: var(--adev-shadow-sm);
}

.adev-step-num {
	width: 40px;
	height: 40px;
	background: var(--adev-navy);
	color: var(--adev-yellow);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	font-size: 18px;
	margin-bottom: 12px;
}

.adev-step-title {
	font-size: 15px;
	font-weight: 800;
	color: var(--adev-navy);
	margin-bottom: 8px;
}

.adev-step-desc {
	font-size: 13px;
	color: var(--adev-text-muted);
	line-height: 1.5;
	margin: 0;
}

/* 9. FAQ Cards */
.adev-faq-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 24px 0 44px;
}

.adev-faq-card {
	background: #ffffff;
	border: 1px solid var(--adev-border);
	border-radius: var(--adev-radius-md);
	padding: 22px 24px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.adev-faq-card:hover {
	border-color: var(--adev-lightblue);
	box-shadow: var(--adev-shadow-sm);
}

.adev-faq-q {
	font-size: 17px;
	font-weight: 800;
	color: var(--adev-navy);
	margin: 0 0 10px;
}

.adev-faq-a {
	font-size: 15px;
	color: #475569;
	line-height: 1.65;
	margin: 0;
}

/* Mobile Responsive */
@media (max-width: 767px) {
	.adev-hero-card {
		padding: 24px 18px;
	}
	.adev-btn-group {
		flex-direction: column;
	}
	.adev-wrapper a.adev-btn,
	.adev-wrapper .adev-btn {
		width: 100%;
	}
	.adev-cat-grid,
	.adev-tiers-grid {
		grid-template-columns: 1fr;
	}
	.adev-cert-badges-grid {
		gap: 16px;
	}
	.adev-cert-badge-img {
		height: 48px;
	}
}
