/*
Theme Name: Ajgroup Digital
Theme URI: https://ajgroup.id/
Author: AJ Group
Author URI: https://ajgroup.id/
Description: Modern, responsive and performance-focused WordPress business and digital products theme by AJ Group.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ajgroup-digital
Tags: custom-logo, custom-menu, featured-images, full-width-template, blog, e-commerce, translation-ready
*/

:root {
    --aj-primary: #2563eb;
    --aj-primary-hover: #1d4ed8;
    --aj-secondary: #0f172a;
    --aj-accent: #7c3aed;
    --aj-text: #334155;
    --aj-heading: #0f172a;
    --aj-muted: #64748b;
    --aj-bg: #ffffff;
    --aj-surface: #f8fafc;
    --aj-border: #e2e8f0;
    --aj-radius: 14px;
    --aj-container: 1200px;
    --aj-section-space: 96px;
    --aj-font-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --aj-font-heading: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--aj-bg);
    color: var(--aj-text);
    font-family: var(--aj-font-body);
    font-size: 16px;
    line-height: 1.7;
}

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

a {
    color: var(--aj-primary);
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

a:hover { color: var(--aj-primary-hover); }

button,
input,
textarea,
select { font: inherit; }

button,
input[type="submit"] { cursor: pointer; }

h1,h2,h3,h4,h5,h6 {
    margin: 0 0 1rem;
    color: var(--aj-heading);
    font-family: var(--aj-font-heading);
    line-height: 1.2;
}

p { margin: 0 0 1rem; }

.container {
    width: min(calc(100% - 40px), var(--aj-container));
    margin-inline: auto;
}

.site-main { min-height: 50vh; }

.aj-section { padding: var(--aj-section-space) 0; }

.aj-section--surface { background: var(--aj-surface); }

.aj-section__header {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.aj-section__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--aj-primary);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.aj-section__title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    letter-spacing: -.035em;
}

.aj-section__description { color: var(--aj-muted); }

.aj-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: var(--aj-primary);
    color: #fff;
    font-weight: 700;
    line-height: 1;
}

.aj-button:hover {
    background: var(--aj-primary-hover);
    color: #fff;
    transform: translateY(-1px);
}

.aj-button--outline {
    border-color: var(--aj-border);
    background: transparent;
    color: var(--aj-heading);
}

.aj-button--outline:hover {
    border-color: var(--aj-primary);
    background: transparent;
    color: var(--aj-primary);
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    top: 10px;
    left: 10px;
    z-index: 99999;
    width: auto;
    height: auto;
    padding: 12px 16px;
    margin: 0;
    overflow: visible;
    clip: auto;
    background: #fff;
    color: #000;
}

.aj-card {
    padding: 28px;
    border: 1px solid var(--aj-border);
    border-radius: var(--aj-radius);
    background: #fff;
}

/* Header */
.aj-promotion-bar {
    padding: 9px 20px;
    background: var(--aj-secondary);
    color: #fff;
    font-size: .9rem;
    text-align: center;
}

.aj-promotion-bar a { color: #fff; font-weight: 700; text-decoration: underline; }

.aj-header {
    position: relative;
    z-index: 100;
    border-bottom: 1px solid var(--aj-border);
    background: rgba(255,255,255,.96);
}

.aj-header__inner {
    display: flex;
    align-items: center;
    min-height: 78px;
    gap: 28px;
}

.site-branding { flex: 0 0 auto; }

.custom-logo-link,
.custom-logo-link img { display: block; }

.custom-logo { max-height: 44px; width: auto; }

.aj-site-title {
    color: var(--aj-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.03em;
}

.aj-main-navigation { margin-left: auto; }

.aj-main-navigation ul {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.aj-main-navigation a {
    display: block;
    padding: 10px 0;
    color: var(--aj-heading);
    font-size: .95rem;
    font-weight: 600;
}

.aj-main-navigation a:hover { color: var(--aj-primary); }

.aj-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.aj-search-toggle,
.aj-menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--aj-heading);
}

.aj-menu-toggle {
    padding: 8px;
    font-size: 1.5rem;
}

.aj-menu-toggle__bars,
.aj-menu-toggle__bars::before,
.aj-menu-toggle__bars::after {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    content: "";
}

.aj-menu-toggle__bars::before { transform: translateY(-7px); }
.aj-menu-toggle__bars::after { transform: translateY(5px); }

/* Hero */
.aj-hero {
    padding: 110px 0 96px;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(124,58,237,.13), transparent 32%),
        radial-gradient(circle at 10% 20%, rgba(37,99,235,.10), transparent 30%),
        #fff;
}

.aj-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: center;
    gap: 72px;
}

.aj-hero__eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 7px 12px;
    border: 1px solid var(--aj-border);
    border-radius: 999px;
    background: rgba(255,255,255,.8);
    color: var(--aj-primary);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.aj-hero__title {
    max-width: 780px;
    font-size: clamp(2.7rem, 6vw, 5.2rem);
    letter-spacing: -.055em;
}

.aj-hero__description {
    max-width: 650px;
    margin-bottom: 30px;
    color: var(--aj-muted);
    font-size: 1.1rem;
}

.aj-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.aj-hero__visual {
    min-height: 430px;
    display: grid;
    place-items: center;
}

.aj-hero__visual img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    border-radius: calc(var(--aj-radius) + 8px);
}

.aj-placeholder-visual {
    width: min(100%, 500px);
    aspect-ratio: 1 / .85;
    border: 1px solid var(--aj-border);
    border-radius: 28px;
    background: linear-gradient(145deg, #eff6ff, #f5f3ff);
    box-shadow: 0 30px 80px rgba(15,23,42,.08);
}

/* Footer */
.aj-footer {
    border-top: 1px solid var(--aj-border);
    background: var(--aj-secondary);
    color: #cbd5e1;
}

.aj-footer__main { padding: 72px 0 48px; }

.aj-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
}

.aj-footer__brand .aj-site-title,
.aj-footer h2,
.aj-footer h3 { color: #fff; }

.aj-footer__description { max-width: 420px; color: #94a3b8; }

.aj-footer ul { padding: 0; margin: 0; list-style: none; }

.aj-footer li + li { margin-top: 9px; }

.aj-footer a { color: #cbd5e1; }
.aj-footer a:hover { color: #fff; }

.aj-footer__bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    color: #94a3b8;
    font-size: .9rem;
}

.aj-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* Content */
.aj-page-header { padding: 80px 0 50px; background: var(--aj-surface); }
.aj-page-header__title { font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: -.04em; }

.aj-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 64px;
}

.aj-entry + .aj-entry { margin-top: 52px; }
.aj-entry__thumbnail { margin-bottom: 22px; }
.aj-entry__thumbnail img { width: 100%; border-radius: var(--aj-radius); }
.aj-entry__title { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.aj-entry__meta { color: var(--aj-muted); font-size: .9rem; }

.aj-sidebar__widget {
    margin-bottom: 32px;
    padding: 24px;
    border: 1px solid var(--aj-border);
    border-radius: var(--aj-radius);
}

.aj-sidebar__widget ul { padding-left: 18px; }

.aj-empty-state { padding: 80px 0; text-align: center; }

/* Forms */
.aj-form input,
.aj-form textarea,
.aj-form select,
.search-form input[type="search"] {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--aj-border);
    border-radius: 9px;
    background: #fff;
    color: var(--aj-text);
}

.aj-form textarea { min-height: 160px; resize: vertical; }

.aj-form__field { margin-bottom: 18px; }
.aj-form label { display: block; margin-bottom: 7px; color: var(--aj-heading); font-weight: 700; }

@media (max-width: 1024px) {
    .aj-hero { padding: 80px 0; }
    .aj-hero__grid { gap: 40px; }
    .aj-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .aj-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
    .container { width: min(calc(100% - 30px), var(--aj-container)); }
    :root { --aj-section-space: 70px; }

    .aj-header__inner { min-height: 68px; }
    .aj-menu-toggle { display: inline-block; }
    .aj-main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        padding: 12px 15px 20px;
        border-bottom: 1px solid var(--aj-border);
        background: #fff;
    }
    .aj-main-navigation.is-open { display: block; }
    .aj-main-navigation ul { display: block; }
    .aj-main-navigation li { border-bottom: 1px solid #f1f5f9; }
    .aj-main-navigation a { padding: 13px 0; }
    .aj-header__actions .aj-button { display: none; }

    .aj-hero__grid { grid-template-columns: 1fr; }
    .aj-hero__visual { min-height: 300px; }
    .aj-content-grid { grid-template-columns: 1fr; }
    .aj-footer__grid { grid-template-columns: 1fr 1fr; gap: 35px; }
}

@media (max-width: 520px) {
    .aj-footer__grid { grid-template-columns: 1fr; }
    .aj-footer__bottom-inner { display: block; }
    .aj-footer__bottom-inner > * + * { margin-top: 8px; }
    .aj-hero__actions { flex-direction: column; align-items: stretch; }
}


/* Homepage Professional System */
.aj-home-hero { padding-top: 92px; }
.aj-hero__copy { position: relative; z-index: 2; }
.aj-hero__visual-card {
	position: relative;
	width: min(100%, 520px);
	min-height: 470px;
	padding: 28px;
	overflow: hidden;
	border: 1px solid rgba(37,99,235,.12);
	border-radius: 32px;
	background:
		radial-gradient(circle at 50% 45%, rgba(37,99,235,.16), transparent 34%),
		linear-gradient(145deg, #f8fbff, #f7f4ff);
	box-shadow: 0 35px 100px rgba(15,23,42,.10);
}
.aj-hero__visual-label {
	display: inline-flex;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255,255,255,.85);
	color: var(--aj-heading);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .04em;
}
.aj-hero__visual-orbit { position: absolute; inset: 80px 40px 40px; display:grid; place-items:center; }
.aj-hero__visual-core {
	display:grid; place-items:center; width: 150px; height:150px; border-radius:50%;
	background: var(--aj-heading); color:#fff; font-size:2.4rem; font-weight:900;
	box-shadow: 0 20px 60px rgba(15,23,42,.22);
}
.aj-hero__visual-chip {
	position:absolute; padding:10px 14px; border:1px solid var(--aj-border); border-radius:999px;
	background:#fff; color:var(--aj-heading); font-size:.82rem; font-weight:800;
	box-shadow:0 12px 30px rgba(15,23,42,.08);
}
.aj-hero__visual-chip--one { top: 10%; left: 2%; }
.aj-hero__visual-chip--two { right: 0; top: 34%; }
.aj-hero__visual-chip--three { bottom: 4%; left: 18%; }

.aj-project-card {
	display:flex; align-items:center; justify-content:space-between; gap:30px;
	margin-top: 52px; padding: 30px 34px; border-radius: 22px;
	background: var(--aj-secondary); color:#fff; box-shadow:0 24px 70px rgba(15,23,42,.14);
}
.aj-project-card h2 { margin-bottom:8px; color:#fff; font-size:clamp(1.35rem,2.5vw,2rem); }
.aj-project-card p { max-width:700px; margin:0; color:#cbd5e1; }
.aj-project-card__eyebrow { display:block; margin-bottom:8px; color:#93c5fd; font-size:.72rem; font-weight:800; letter-spacing:.12em; }
.aj-button--light { background:#fff; color:var(--aj-heading); }
.aj-button--light:hover { background:#f8fafc; color:var(--aj-heading); }

.aj-section__header--split {
	display:flex; align-items:flex-end; justify-content:space-between; gap:35px; max-width:none; text-align:left;
}
.aj-section__header--split .aj-section__description { max-width:680px; }
.aj-text-link { flex:0 0 auto; margin-bottom:8px; font-weight:800; }

.aj-services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.aj-service-card {
	position:relative; padding:32px; border:1px solid var(--aj-border); border-radius:20px; background:#fff;
	transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.aj-service-card:hover { transform:translateY(-5px); border-color:rgba(37,99,235,.25); box-shadow:0 22px 55px rgba(15,23,42,.08); }
.aj-service-card__icon {
	display:grid; place-items:center; width:48px; height:48px; margin-bottom:25px; border-radius:14px;
	background:#eff6ff; color:var(--aj-primary); font-size:1.35rem; font-weight:900;
}
.aj-service-card h3 { font-size:1.3rem; }
.aj-service-card p { color:var(--aj-muted); }
.aj-service-card a { display:inline-block; margin-top:10px; font-size:.9rem; font-weight:800; }

.aj-product-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.aj-product-card {
	overflow:hidden; border:1px solid var(--aj-border); border-radius:20px; background:#fff;
	transition:transform .25s ease, box-shadow .25s ease;
}
.aj-product-card:hover { transform:translateY(-5px); box-shadow:0 22px 55px rgba(15,23,42,.08); }
.aj-product-card__media { display:block; aspect-ratio:16/10; overflow:hidden; background:#eef2ff; }
.aj-product-card__media img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.aj-product-card:hover .aj-product-card__media img { transform:scale(1.035); }
.aj-product-card__placeholder { display:grid; place-items:center; height:100%; background:linear-gradient(145deg,#eff6ff,#f5f3ff); color:var(--aj-primary); font-size:2rem; font-weight:900; }
.aj-product-card__body { padding:24px; }
.aj-product-card__topline { display:flex; justify-content:space-between; gap:12px; margin-bottom:10px; color:var(--aj-muted); font-size:.75rem; font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
.aj-product-card__topline strong { color:var(--aj-primary); text-transform:none; letter-spacing:0; }
.aj-product-card h3 { margin-bottom:8px; font-size:1.25rem; }
.aj-product-card h3 a { color:var(--aj-heading); }
.aj-product-card p { min-height:52px; color:var(--aj-muted); font-size:.92rem; }
.aj-card-link { font-weight:800; font-size:.9rem; }
.aj-empty-home { grid-column:1/-1; padding:55px; border:1px dashed var(--aj-border); border-radius:20px; text-align:center; background:#fff; }
.aj-empty-home p { color:var(--aj-muted); margin-bottom:0; }

.aj-home-testimonials { overflow:hidden; }
.aj-testimonial-slider { position:relative; max-width:900px; margin:0 auto; padding:0 64px 55px; }
.aj-testimonial-track { display:flex; transition:transform .45s ease; will-change:transform; }
.aj-testimonial-slide { flex:0 0 100%; min-width:100%; }
.aj-testimonial-card {
	position:relative; min-height:330px; padding:45px 50px; border:1px solid var(--aj-border); border-radius:26px;
	background:#fff; box-shadow:0 18px 60px rgba(15,23,42,.07);
}
.aj-testimonial-card__quote { position:absolute; top:18px; right:32px; color:#dbeafe; font-size:6rem; line-height:1; font-family:Georgia,serif; }
.aj-rating { margin-bottom:18px; color:#f59e0b; letter-spacing:.1em; }
.aj-testimonial-card blockquote { margin:0 0 30px; color:var(--aj-heading); font-size:clamp(1.2rem,2.3vw,1.55rem); line-height:1.55; }
.aj-testimonial-author { display:flex; align-items:center; gap:13px; }
.aj-testimonial-author__image, .aj-testimonial-author__avatar { width:46px; height:46px; border-radius:50%; object-fit:cover; }
.aj-testimonial-author__avatar { display:grid; place-items:center; background:var(--aj-secondary); color:#fff; font-weight:800; }
.aj-testimonial-author strong, .aj-testimonial-author span { display:block; }
.aj-testimonial-author span { color:var(--aj-muted); font-size:.85rem; }
.aj-slider-button {
	position:absolute; top:50%; z-index:2; display:grid; place-items:center; width:44px; height:44px;
	border:1px solid var(--aj-border); border-radius:50%; background:#fff; color:var(--aj-heading);
	transform:translateY(-50%); box-shadow:0 10px 25px rgba(15,23,42,.07);
}
.aj-slider-button:hover { background:var(--aj-heading); color:#fff; }
.aj-slider-button--prev { left:4px; }
.aj-slider-button--next { right:4px; }
.aj-slider-dots { position:absolute; bottom:10px; left:0; right:0; display:flex; justify-content:center; gap:7px; }
.aj-slider-dot { width:8px; height:8px; padding:0; border:0; border-radius:50%; background:#cbd5e1; }
.aj-slider-dot.is-active { width:24px; border-radius:99px; background:var(--aj-primary); }

.aj-feature-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.aj-feature-item { display:flex; gap:18px; padding:25px; border:1px solid var(--aj-border); border-radius:18px; background:#fff; }
.aj-feature-item__icon {
	flex:0 0 44px; display:grid; place-items:center; width:44px; height:44px; border-radius:12px;
	background:#eff6ff; color:var(--aj-primary); font-weight:900;
}
.aj-feature-item h3 { margin-bottom:7px; font-size:1.08rem; }
.aj-feature-item p { margin:0; color:var(--aj-muted); font-size:.93rem; }

.aj-home-cta { padding-top:35px; padding-bottom:100px; }
.aj-cta-banner {
	display:flex; align-items:center; justify-content:space-between; gap:35px; padding:55px 60px;
	border-radius:28px; background:linear-gradient(135deg,var(--aj-secondary),#1e293b); color:#fff;
	box-shadow:0 25px 75px rgba(15,23,42,.15);
}
.aj-cta-banner .aj-section__eyebrow { color:#93c5fd; margin-bottom:10px; }
.aj-cta-banner h2 { max-width:760px; color:#fff; font-size:clamp(2rem,4vw,3.3rem); letter-spacing:-.04em; }
.aj-cta-banner p { max-width:700px; margin:0; color:#cbd5e1; }

@media (max-width: 1024px) {
	.aj-services-grid, .aj-product-grid { grid-template-columns:repeat(2,1fr); }
	.aj-hero__visual-card { min-height:390px; }
}
@media (max-width: 800px) {
	.aj-home-hero { padding-top:70px; }
	.aj-project-card, .aj-cta-banner { align-items:flex-start; flex-direction:column; padding:32px; }
	.aj-section__header--split { display:block; }
	.aj-text-link { display:inline-block; margin-top:8px; }
	.aj-testimonial-slider { padding-left:45px; padding-right:45px; }
}
@media (max-width: 620px) {
	.aj-services-grid, .aj-product-grid, .aj-feature-grid { grid-template-columns:1fr; }
	.aj-hero__visual-card { min-height:320px; }
	.aj-hero__visual-orbit { inset:70px 20px 20px; }
	.aj-hero__visual-core { width:120px; height:120px; font-size:2rem; }
	.aj-project-card { margin-top:35px; }
	.aj-testimonial-card { min-height:360px; padding:35px 25px; }
	.aj-testimonial-slider { padding-left:0; padding-right:0; }
	.aj-slider-button--prev { left:10px; top:auto; bottom:0; transform:none; }
	.aj-slider-button--next { right:10px; top:auto; bottom:0; transform:none; }
	.aj-slider-dots { bottom:14px; }
	.aj-cta-banner { padding:35px 25px; }
}


.aj-product-hero { padding: 90px 0; background: var(--aj-surface); }
.aj-product-hero__grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(320px,.85fr); align-items:center; gap:70px; }
.aj-product-title { font-size:clamp(2.5rem,5vw,4.6rem); letter-spacing:-.05em; }
.aj-product-description { max-width:680px; color:var(--aj-muted); font-size:1.08rem; }
.aj-product-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; }
.aj-product-image img { width:100%; border-radius:var(--aj-radius); box-shadow:0 25px 70px rgba(15,23,42,.1); }
.aj-product-layout { display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:55px; }
.aj-product-tabs { display:flex; flex-wrap:wrap; gap:10px; padding-bottom:18px; margin-bottom:35px; border-bottom:1px solid var(--aj-border); }
.aj-product-tabs a { padding:8px 13px; border-radius:8px; background:var(--aj-surface); color:var(--aj-heading); font-weight:700; }
.aj-product-section { margin-bottom:55px; scroll-margin-top:30px; }
.aj-product-section h2 { font-size:1.8rem; }
.aj-product-features,.aj-product-changelog { padding-left:22px; }
.aj-product-features li,.aj-product-changelog li { margin-bottom:10px; }
.aj-purchase-card { position:sticky; top:25px; padding:28px; border:1px solid var(--aj-border); border-radius:var(--aj-radius); box-shadow:0 15px 45px rgba(15,23,42,.06); }
.aj-purchase-card__label { margin:0 0 14px; color:var(--aj-muted); font-weight:700; }
.aj-price { display:flex; flex-direction:column; gap:5px; margin-bottom:24px; }
.aj-price del { color:var(--aj-muted); }
.aj-price strong { color:var(--aj-heading); font-size:1.9rem; }
.aj-license { margin:20px 0; padding:18px; border-radius:10px; background:var(--aj-surface); }
.aj-license h3 { font-size:1rem; }
.aj-license p { margin:0; color:var(--aj-muted); font-size:.92rem; }
.aj-button--whatsapp { width:100%; background:#16a34a; }
.aj-button--whatsapp:hover { background:#15803d; }
.aj-faq-item { padding:18px 0; border-bottom:1px solid var(--aj-border); }
.aj-faq-item summary { cursor:pointer; color:var(--aj-heading); font-weight:700; }
.aj-faq-item p { margin:12px 0 0; color:var(--aj-muted); }
.aj-product-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.aj-product-card { overflow:hidden; border:1px solid var(--aj-border); border-radius:var(--aj-radius); background:#fff; }
.aj-product-card > a:first-child img { display:block; width:100%; aspect-ratio:1.35; object-fit:cover; }
.aj-product-card__placeholder { aspect-ratio:1.35; background:linear-gradient(145deg,#eff6ff,#f5f3ff); }
.aj-product-card__body { padding:22px; }
.aj-product-card h2 { margin:5px 0 12px; font-size:1.25rem; }
@media (max-width:800px){
  .aj-product-hero__grid,.aj-product-layout { grid-template-columns:1fr; }
  .aj-product-grid { grid-template-columns:1fr 1fr; }
  .aj-purchase-card { position:static; }
}
@media (max-width:520px){ .aj-product-grid { grid-template-columns:1fr; } }


/* v0.3.1 — Precision navigation + homepage polish */
.aj-header__inner {
    min-height: 76px;
    gap: 18px;
}
.site-branding { flex: 0 0 auto; min-width: 155px; }
.custom-logo { max-height: 42px; max-width: 155px; }
.aj-main-navigation {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 0;
}
.aj-main-navigation > div > ul,
.aj-main-navigation > ul {
    justify-content: center;
    gap: clamp(12px, 1.55vw, 24px);
}
.aj-main-navigation a {
    padding: 8px 0;
    white-space: nowrap;
    font-size: .88rem;
    line-height: 1.2;
}
.aj-header__actions { flex: 0 0 auto; }
.aj-header__actions .aj-button { min-height: 42px; padding-inline: 17px; font-size: .84rem; white-space: nowrap; }
.aj-home-hero { padding-bottom: 76px; }
.aj-section { padding: 82px 0; }
.aj-home-services { padding-top: 76px; }
.aj-home-products { padding-top: 76px; padding-bottom: 76px; }
.aj-home-testimonials { padding-top: 78px; padding-bottom: 76px; }
.aj-home-features { padding-top: 76px; padding-bottom: 76px; }
.aj-home-cta { padding-top: 28px; padding-bottom: 82px; }
.aj-section__header { margin-bottom: 38px; }

@media (max-width: 1080px) {
    .aj-header__inner { gap: 12px; }
    .site-branding { min-width: 135px; }
    .custom-logo { max-width: 135px; }
    .aj-main-navigation > div > ul,
    .aj-main-navigation > ul { gap: 12px; }
    .aj-main-navigation a { font-size: .82rem; }
    .aj-header__actions .aj-button { padding-inline: 13px; font-size: .78rem; }
}

@media (max-width: 920px) {
    .aj-menu-toggle { display: inline-block; }
    .aj-main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        padding: 12px 20px 20px;
        border-bottom: 1px solid var(--aj-border);
        background: #fff;
        box-shadow: 0 18px 35px rgba(15,23,42,.08);
    }
    .aj-main-navigation.is-open { display: block; }
    .aj-main-navigation > div > ul,
    .aj-main-navigation > ul { display: block; }
    .aj-main-navigation li { border-bottom: 1px solid #f1f5f9; }
    .aj-main-navigation a { padding: 13px 0; font-size: .95rem; }
    .aj-header__actions .aj-button { display: none; }
}

@media (max-width: 620px) {
    .aj-header__inner { min-height: 66px; }
    .site-branding { min-width: 0; }
    .custom-logo { max-height: 38px; max-width: 132px; }
    .aj-home-hero { padding-top: 66px; padding-bottom: 58px; }
    .aj-section { padding: 64px 0; }
}

/* v0.4.0 — Theme Engine, dark mode and responsive precision */
:root {
    color-scheme: light;
    --aj-card-bg: #fff;
    --aj-input-bg: #fff;
    --aj-on-primary: #fff;
}

html[data-aj-theme="dark"] {
    color-scheme: dark;
    --aj-bg: #0b1120;
    --aj-surface: #111827;
    --aj-card-bg: #151e2f;
    --aj-input-bg: #0f172a;
    --aj-border: #263244;
    --aj-heading: #f8fafc;
    --aj-text: #cbd5e1;
    --aj-muted: #94a3b8;
    --aj-secondary: #020617;
}

@media (prefers-color-scheme: dark) {
    html[data-aj-theme="system"] {
        color-scheme: dark;
        --aj-bg: #0b1120;
        --aj-surface: #111827;
        --aj-card-bg: #151e2f;
        --aj-input-bg: #0f172a;
        --aj-border: #263244;
        --aj-heading: #f8fafc;
        --aj-text: #cbd5e1;
        --aj-muted: #94a3b8;
        --aj-secondary: #020617;
    }
}

body {
    background: var(--aj-bg);
    color: var(--aj-text);
}

.aj-header--sticky {
    position: sticky;
    top: 0;
}

.aj-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--aj-border);
    border-radius: 999px;
    background: var(--aj-card-bg);
    color: var(--aj-heading);
    box-shadow: none;
}

.aj-theme-toggle:hover {
    border-color: var(--aj-primary);
    color: var(--aj-primary);
}

.aj-theme-toggle__icon { font-size: 1.05rem; line-height: 1; }

.aj-header,
.aj-main-navigation,
.aj-main-navigation.is-open,
.aj-card,
.aj-service-card,
.aj-product-card,
.aj-testimonial-card,
.aj-feature-item,
.aj-purchase-card,
.aj-sidebar__widget,
.aj-form input,
.aj-form textarea,
.aj-form select,
.search-form input[type="search"] {
    background-color: var(--aj-card-bg);
    border-color: var(--aj-border);
}

.aj-header { background: color-mix(in srgb, var(--aj-card-bg) 94%, transparent); }
.aj-card,
.aj-service-card,
.aj-product-card,
.aj-testimonial-card,
.aj-feature-item,
.aj-purchase-card,
.aj-sidebar__widget { background: var(--aj-card-bg); }

.aj-form input,
.aj-form textarea,
.aj-form select,
.search-form input[type="search"] {
    color: var(--aj-text);
    background: var(--aj-input-bg);
}

.aj-button-style-outline .aj-button:not(.aj-button--outline):not(.aj-button--light):not(.aj-button--whatsapp) {
    border-color: var(--aj-primary);
    background: transparent;
    color: var(--aj-primary);
}

.aj-button-style-soft .aj-button:not(.aj-button--outline):not(.aj-button--light):not(.aj-button--whatsapp) {
    border-color: transparent;
    background: color-mix(in srgb, var(--aj-primary) 12%, var(--aj-card-bg));
    color: var(--aj-primary);
}

.aj-button-style-soft .aj-button:not(.aj-button--outline):not(.aj-button--light):not(.aj-button--whatsapp):hover {
    background: color-mix(in srgb, var(--aj-primary) 18%, var(--aj-card-bg));
    color: var(--aj-primary);
}

.aj-button-style-outline .aj-button:not(.aj-button--outline):not(.aj-button--light):not(.aj-button--whatsapp):hover {
    background: var(--aj-primary);
    color: var(--aj-on-primary);
}

.aj-hero {
    background:
        radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--aj-accent) 15%, transparent), transparent 32%),
        radial-gradient(circle at 10% 20%, color-mix(in srgb, var(--aj-primary) 12%, transparent), transparent 30%),
        var(--aj-bg);
}

.aj-hero__eyebrow,
.aj-hero__visual-card,
.aj-placeholder-visual,
.aj-product-card__placeholder,
.aj-main-navigation li { border-color: var(--aj-border); }

.aj-hero__eyebrow,
.aj-hero__visual-card,
.aj-placeholder-visual { background: var(--aj-card-bg); }

.aj-hero__visual-card { box-shadow: 0 30px 80px color-mix(in srgb, var(--aj-secondary) 12%, transparent); }
.aj-placeholder-visual,
.aj-product-card__placeholder { background: linear-gradient(145deg, color-mix(in srgb, var(--aj-primary) 9%, var(--aj-card-bg)), color-mix(in srgb, var(--aj-accent) 9%, var(--aj-card-bg))); }

.aj-product-card__media { background: var(--aj-surface); }
.aj-product-card h3 a,
.aj-main-navigation a,
.aj-text-link,
.aj-card-link { color: var(--aj-heading); }
.aj-product-card h3 a:hover,
.aj-main-navigation a:hover,
.aj-text-link:hover,
.aj-card-link:hover { color: var(--aj-primary); }

.aj-section--surface,
.aj-page-header,
.aj-product-hero { background: var(--aj-surface); }

.aj-testimonial-card__quote { color: color-mix(in srgb, var(--aj-primary) 16%, transparent); }
.aj-feature-item__icon,
.aj-service-card__icon { color: var(--aj-primary); }

.aj-footer { background: var(--aj-secondary); }

@media (max-width: 920px) {
    .aj-header__actions { margin-left: auto; }
    .aj-theme-toggle { width: 38px; height: 38px; }
    .aj-main-navigation { background: var(--aj-card-bg); }
}

@media (max-width: 620px) {
    .aj-header__actions .aj-button { display: none; }
    .aj-theme-toggle { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Final component corrections for v0.4.0 */
.aj-testimonial-slider { overflow: hidden; }
.aj-testimonial-card,
.aj-slider-button,
.aj-empty-home,
.aj-service-card,
.aj-feature-item,
.aj-product-card { background: var(--aj-card-bg); }
.aj-service-card__icon,
.aj-feature-item__icon { background: color-mix(in srgb, var(--aj-primary) 9%, var(--aj-card-bg)); }
.aj-slider-button { color: var(--aj-heading); }
.aj-slider-dot { background: color-mix(in srgb, var(--aj-muted) 35%, var(--aj-card-bg)); }
.aj-hero__visual-label,
.aj-hero__visual-chip { background: color-mix(in srgb, var(--aj-card-bg) 92%, transparent); }
.aj-hero__visual-card {
    background:
        radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--aj-primary) 16%, transparent), transparent 34%),
        linear-gradient(145deg, color-mix(in srgb, var(--aj-primary) 4%, var(--aj-card-bg)), color-mix(in srgb, var(--aj-accent) 5%, var(--aj-card-bg)));
}
body.admin-bar .aj-header--sticky { top: 32px; }
@media (max-width: 782px) {
    body.admin-bar .aj-header--sticky { top: 46px; }
}

/* v0.5 Section Builder + Portfolio */
.aj-builder-section { background-color: var(--aj-section-custom-bg, transparent); }
.aj-builder-align--center { text-align: center; }
.aj-builder-align--right { text-align: right; }
.aj-builder-align--center .aj-section__header,
.aj-builder-align--right .aj-section__header { margin-left: auto; margin-right: auto; }
.aj-builder-align--center .aj-section__header--split,
.aj-builder-align--right .aj-section__header--split { text-align: inherit; }
.aj-builder-align--center .aj-hero__copy { text-align: center; }
.aj-builder-align--center .aj-hero__actions { justify-content: center; }
.aj-portfolio-filters { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 28px; }
.aj-portfolio-filters button,
.aj-portfolio-filters a { border:1px solid var(--aj-border); border-radius:999px; background:var(--aj-card-bg); color:var(--aj-text); padding:9px 15px; cursor:pointer; text-decoration:none; font:inherit; }
.aj-portfolio-filters button:hover,
.aj-portfolio-filters button.is-active,
.aj-portfolio-filters a:hover,
.aj-portfolio-filters a.is-active { background:var(--aj-primary); border-color:var(--aj-primary); color:var(--aj-on-primary, #fff); }
.aj-portfolio-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.aj-portfolio-card { overflow:hidden; border:1px solid var(--aj-border); border-radius:var(--aj-radius); background:var(--aj-card-bg); }
.aj-portfolio-card[hidden] { display:none; }
.aj-portfolio-card__media { display:grid; place-items:center; aspect-ratio:16/10; overflow:hidden; background:linear-gradient(145deg,var(--aj-surface),var(--aj-card-bg)); color:var(--aj-primary); font-size:2rem; font-weight:900; text-decoration:none; }
.aj-portfolio-card__media img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.aj-portfolio-card:hover .aj-portfolio-card__media img { transform:scale(1.035); }
.aj-portfolio-card__body { padding:22px; }
.aj-portfolio-card__category { display:inline-block; margin-bottom:8px; color:var(--aj-primary); font-size:.75rem; font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
.aj-portfolio-card h2,.aj-portfolio-card h3 { margin:0 0 8px; font-size:1.25rem; }
.aj-portfolio-card h2 a,.aj-portfolio-card h3 a { color:var(--aj-heading); }
.aj-portfolio-card p { color:var(--aj-muted); }
.aj-portfolio-card__client { margin-bottom:6px; font-weight:700; }
.aj-portfolio-card__tech { display:flex; flex-wrap:wrap; gap:6px; margin-top:15px; }
.aj-portfolio-card__tech span { padding:5px 8px; border-radius:999px; background:color-mix(in srgb,var(--aj-primary) 9%,var(--aj-card-bg)); color:var(--aj-primary); font-size:.72rem; font-weight:700; }
.aj-faq-list { max-width:900px; margin:0 auto; }
.aj-faq-item { border-bottom:1px solid var(--aj-border); }
.aj-faq-item summary { display:flex; justify-content:space-between; gap:20px; padding:20px 0; cursor:pointer; color:var(--aj-heading); font-weight:800; list-style:none; }
.aj-faq-item summary::-webkit-details-marker { display:none; }
.aj-faq-item summary span { color:var(--aj-primary); font-size:1.3rem; }
.aj-faq-item[open] summary span { transform:rotate(45deg); }
.aj-faq-item div { padding:0 35px 20px 0; color:var(--aj-muted); }
.aj-contact-panel { display:grid; grid-template-columns:1.2fr .8fr; gap:40px; align-items:center; padding:50px; border:1px solid var(--aj-border); border-radius:var(--aj-radius); background:var(--aj-card-bg); }
.aj-contact-panel__details { display:flex; flex-direction:column; gap:12px; }
.aj-contact-panel__details a:not(.aj-button),.aj-contact-panel__details span { color:var(--aj-text); text-decoration:none; }
.aj-portfolio-single__grid { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:42px; }
.aj-portfolio-single__cover { overflow:hidden; border-radius:var(--aj-radius); margin-bottom:28px; }
.aj-portfolio-single__cover img { display:block; width:100%; height:auto; }
.aj-portfolio-single__sidebar .aj-card { position:sticky; top:100px; padding:25px; }
.aj-portfolio-single__sidebar .aj-card > * + * { margin-top:20px; }
.aj-portfolio-single__sidebar .aj-card p strong,.aj-portfolio-single__sidebar .aj-card p span { display:block; }
.aj-portfolio-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; margin-top:28px; }
.aj-portfolio-gallery img { width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:var(--aj-radius); }
@media (max-width: 920px) {
    .aj-portfolio-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .aj-portfolio-single__grid,.aj-contact-panel { grid-template-columns:1fr; }
    .aj-portfolio-single__sidebar .aj-card { position:static; }
}
@media (max-width: 620px) {
    .aj-portfolio-grid { grid-template-columns:1fr; }
    .aj-contact-panel { padding:30px 22px; }
    .aj-portfolio-gallery { grid-template-columns:1fr; }
}


/* v0.6 Product Management + Global Contact CTA */
.aj-product-badge{display:inline-block;margin-bottom:12px;padding:6px 12px;border-radius:999px;background:var(--aj-primary);color:#fff;font-size:.8rem;font-weight:700;line-height:1}.aj-product-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.aj-product-gallery img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:var(--aj-radius)}.aj-global-whatsapp{position:fixed;right:22px;bottom:22px;z-index:9999;display:inline-flex;align-items:center;gap:8px;padding:12px 16px;border-radius:999px;background:#16a34a;color:#fff;box-shadow:0 12px 30px rgba(0,0,0,.16);font-weight:700}.aj-global-whatsapp:hover{color:#fff;transform:translateY(-2px)}.aj-global-whatsapp__icon{font-size:18px;line-height:1}@media(max-width:640px){.aj-product-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.aj-global-whatsapp{right:14px;bottom:14px;padding:11px 14px;font-size:14px}}

/* v0.7 breadcrumbs */
.aj-breadcrumbs{margin:18px auto;max-width:var(--aj-container);padding:0 20px;font-size:.88rem;color:var(--aj-muted)}
.aj-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.aj-breadcrumbs li+li:before{content:'›';margin-right:8px;color:var(--aj-muted)}
.aj-breadcrumbs a{color:var(--aj-primary);text-decoration:none}


/* v0.8 Responsive Controls + Animation System */
.aj-no-animation { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
    .aj-animate,
    .aj-animate.is-visible { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@media (max-width: 620px) {
    .aj-button { min-height: 46px; }
    .aj-header__inner { gap: 16px; }
    .aj-global-whatsapp { max-width: calc(100vw - 28px); }
}

/* v1.0 production accessibility and interaction polish */
:focus-visible {
    outline: 3px solid var(--aj-focus-color, var(--aj-primary));
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
